Live and Max stuck when saving a device

Learn about building and using Max for Live devices.
Angstrom
Posts: 14921
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Live and Max stuck when saving a device

Post by Angstrom » Thu Oct 27, 2016 11:09 am

Thanks Rory,
Thanks for the info about authorisation.

Here's more clues/ theories:
I usually work in the M4L javascript window, I am using Includes in JS to include additional files, EG my "utility-tools.js" which has my logging utility functions is Included into the patcher in the main JSUI and JS files. They are calling that utility file and are both watching Live and sending out data logging paths, etc. To the max console window. The main max JS text editors are floating windows and will persist when I close live.

I believe there's a chance that those are the sources of the issue. Live closes, Max cant close the JS dependencies, it sends out a "cant find path" to the console. So now I've effectively "run Max without authorisation"

It's a theory anyway.

I'll send Cycling74 some info when my computer is back up and running, It's out of action today, unrelated - my videocard seems to have died. But I'll let the cycling guys know about the mystery windows & my theories when my computer is fixed.

[jur]
Site Admin
Posts: 5307
Joined: Mon Jun 01, 2015 3:04 pm
Location: Ableton

Re: Live and Max stuck when saving a device

Post by [jur] » Thu Oct 27, 2016 2:08 pm

The authorization issue is a known one, but has been fixed a few versions ago. Maybe one scenario hasn't been explored, maybe related to your JavaScript thing.
Ableton Forum Moderator

madlab
Posts: 1389
Joined: Fri May 02, 2003 6:38 am
Location: France

Re: Live and Max stuck when saving a device

Post by madlab » Sat Nov 05, 2016 3:20 pm

Rory, I ha dcontact with Jeremy from your support service. He pointed out a strange bug that has caused Max to save more than 12000 snapshots in my Doc > Max folder and save them with new M4L devices, which lead to + than 8 Mo devices that caused both apps to freeze when I tried to load them. Did a fresh install of both apps and this cured the problem. Jeremy told me a fix was on the way to solve that issue.
Aboard from V. 1
MBP M1 Pro 2021 - 16 Go RAM - Monterey 12.6.3
MBP 2.5 Ghz I7 16 Go SSD OSX 10.14
iPad + Mira+ TouchOsc
RME FF UC Live 11.3.21 M4L Max 8
Band : https://elastocat.org/
Madlab sound unit / objects, guitar, electronics / end_of_transmission

Angstrom
Posts: 14921
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Live and Max stuck when saving a device

Post by Angstrom » Mon Nov 07, 2016 11:56 pm

Just an update on this.
I've authorised Live 3 times this evening.
not managed to save anything yet.

pretty nice workflow I've got going on here.
these days Max cant even save, it just hangs.

Code: Select all

The program Max.exe version 7.3.1.33552 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
 Process ID: 1314
 Start Time: 01d239501170e782
 Termination Time: 5
 Application Path: C:\Program Files\Cycling '74\Max 7\Max.exe
 Report Id: ee62dde1-a543-11e6-a43f-14dae90f7907
or alternatively

Code: Select all

Faulting application name: Max.exe, version: 7.3.1.33552, time stamp: 0x58057072
Faulting module name: midi_mme.mxe64_unloaded, version: 0.0.0.0, time stamp: 0x580572fe
Exception code: 0xc0000005
Fault offset: 0x000000000af31f60
Faulting process id: 0x1c0c
Faulting application start time: 0x01d236cfe9ee11c5
Faulting application path: C:\Program Files\Cycling '74\Max 7\Max.exe
Faulting module path: midi_mme.mxe64
Report Id: 70ddd737-a2c4-11e6-ad78-14dae90f7907
Support has told me to uninstall Live and Max and reinstall them AGAIN>
like, it didn't work last time. Why would it work this time?

I guess I might as well .. it's not like the apps are functional.

Angstrom
Posts: 14921
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Live and Max stuck when saving a device

Post by Angstrom » Wed Nov 09, 2016 1:06 am

This is my life now
Live 9.7 , Max 7.3.1

lemme just save this real quick
Image

nope.


I have Authorised Ableton Live FOUR TIMES tonight.
Image

and then I restart live and open M4L and it either locks up Live and unauthorises everything instantly, OR I just get this
Image

I think I'm going to take up wood turning. Sell my computer or exchange for some timber, make a foot powered lathe and turn table legs and sell them by the side of the fucking road. Calmly. really calmly. Play my guitar a little. Yes. That will be nice. Maybe take up weaving too. Calmly. very very calmly.

Image



Can I just mention that this integration is not very good.
Can I just mention that it actively repels all attempts to use it.

Angstrom
Posts: 14921
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Live and Max stuck when saving a device

Post by Angstrom » Wed Nov 09, 2016 2:16 am

I have now authorised Live 6 times tonight.
Fun. But not actually the "you can now save stuff" kind.

unfortunately the device in the image uses JSUI, and I've obviously put a typo in there somewhere. That typo is locking up the host, then un-authorising M4L.
quite the typo. I'd go looking for it, if I could open it.

madlab
Posts: 1389
Joined: Fri May 02, 2003 6:38 am
Location: France

Re: Live and Max stuck when saving a device

Post by madlab » Wed Nov 09, 2016 8:07 am

Jeremy and Rori, the snapshot bug happened again... Help ! we need a fix !
Aboard from V. 1
MBP M1 Pro 2021 - 16 Go RAM - Monterey 12.6.3
MBP 2.5 Ghz I7 16 Go SSD OSX 10.14
iPad + Mira+ TouchOsc
RME FF UC Live 11.3.21 M4L Max 8
Band : https://elastocat.org/
Madlab sound unit / objects, guitar, electronics / end_of_transmission

S4racen
Posts: 5822
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Live and Max stuck when saving a device

Post by S4racen » Wed Nov 09, 2016 8:20 am

Angstrom wrote:I have now authorised Live 6 times tonight.
Fun. But not actually the "you can now save stuff" kind.

unfortunately the device in the image uses JSUI, and I've obviously put a typo in there somewhere. That typo is locking up the host, then un-authorising M4L.
quite the typo. I'd go looking for it, if I could open it.
Can you open the amxd in textedit??

Cheers
D

Angstrom
Posts: 14921
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Live and Max stuck when saving a device

Post by Angstrom » Wed Nov 09, 2016 11:26 am

S4racen wrote: Can you open the amxd in textedit??

Cheers
D
Good, idea. I should have thought of that last night but got locked into a rage-crashing spiral.
There are a couple of files implicated which I should be able to access. The main js file and the jsui file, both I should be able to debug externally.

The main issue is that to test each edit I must, uninstall max, reinstall it, reauthorise via Ableton.com, and then if the auth has worked I will get ONE go at hitting save. What happens usually is what's seen above. So it's not a very lovely testing cycle. Not too much fun.

So, my current theory is that M4L is not terminating some of its processes. In a normal situation when I quit Live I can still see the max console window (after Live has closed!) and then I see two windows error boxes, and Windows reports that Max has failed to access the MME drivers (Faulting module name: midi_mme.mxe64_unloaded,). The next time I try to use M4L it will be unauthorised. Now that I have this JS file with the type Live will crash on that file every time, which triggers the de-authorisation.

So, it looks like I have another weekend of trying to get Live and Max functional again.
I don't really have time for that during the week.

Angstrom
Posts: 14921
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Live and Max stuck when saving a device

Post by Angstrom » Thu Nov 10, 2016 6:41 pm

Latest situation:

I uninstalled Live and Max.
I reinstalled them both and set them up again.
It's still broken.
It worked for about 24 hours, but M4L now says "Demo Not Started" again.

Ableton Support have been very helpful, but I think the problem probably rests with Cycling74 and their very enthusiastic copy protection.

[jur]
Site Admin
Posts: 5307
Joined: Mon Jun 01, 2015 3:04 pm
Location: Ableton

Re: Live and Max stuck when saving a device

Post by [jur] » Thu Nov 10, 2016 7:25 pm

Steve, did you contact Cycling's support?
Ableton Forum Moderator

Angstrom
Posts: 14921
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Live and Max stuck when saving a device

Post by Angstrom » Thu Nov 10, 2016 9:30 pm

[jur] wrote:Steve, did you contact Cycling's support?
well, I've been a bit busy with work to start chasing two parallel cases. So far me and Will in Ableton Support have been going back and forth with ideas. Handily for me he has the exact same problem so we are trying different tactics to see if anything specific triggers it, or prevents it.
But yes, I should send the case to them . I think I'll package up the huge support conversation from Ableton Support and send that. I don't feel like reiterating it again.
I've spent most of my time trying to just make music, and trying to avoid this issue.

but I'll do that now.

---
HMM, they have no file attachment, so I had to write it all down again.

madlab
Posts: 1389
Joined: Fri May 02, 2003 6:38 am
Location: France

Re: Live and Max stuck when saving a device

Post by madlab » Fri Nov 11, 2016 12:08 pm

Had a bug causing max refusing to save or save as a M4L device, don't know if it is related... Sadly, I can't post the crash report, it's too long for the forum.
Aboard from V. 1
MBP M1 Pro 2021 - 16 Go RAM - Monterey 12.6.3
MBP 2.5 Ghz I7 16 Go SSD OSX 10.14
iPad + Mira+ TouchOsc
RME FF UC Live 11.3.21 M4L Max 8
Band : https://elastocat.org/
Madlab sound unit / objects, guitar, electronics / end_of_transmission

Stromkraft
Posts: 7033
Joined: Wed Jun 25, 2014 11:34 am

Re: Live and Max stuck when saving a device

Post by Stromkraft » Sat Nov 12, 2016 11:15 pm

madlab wrote:Had a bug causing max refusing to save or save as a M4L device, don't know if it is related... Sadly, I can't post the crash report, it's too long for the forum.
Pastebin
Make some music!

Post Reply