Frequent Crashing (solved in 13.5.4)

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Frequent Crashing

Post by jahnocli »

Well, comets were ancient harbingers of doom, so...yeah!
You can't have everything. Where would you put it?
rikberryere
Posts: 16
Joined: Mon Feb 22, 2021 9:48 pm
Location: Vermont

Re: Frequent Crashing

Post by rikberryere »

...and we're crashing again. Six crashes in the last half hour. Nothing at all different from the last week, just adjusting point positions from frame to frame. I'm doing manual saves after every significant change (about every minute or so) because once, autosave didn't work. Just the once, mind you, but that's enough.

Is this an ongoing issue elsewhere?
I have no idea what I'm doing... so tally ho, eh?
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Frequent Crashing

Post by Greenlaw »

Wow, that sounds really extreme and unusual. My thoughts:

1. Have you checked for negative keyframes using Synthsin's tool?

2.Is there any particular activity that causes a crash? If so, try removing the item (movie, vector, bitmap) you're working with and see if that makes the scene any more stable. It's possible you have an imported file that's partially corrupted. (If you're importing a movie file, that would be my primary suspect. After that, maybe an audio file.) If a corrupted item turns out to be the problem, trying getting a clean copy from the source. Sometimes just opening and resaving the file in a compatible program can do the trick.

I haven't seen crashes like what you're describing in many years of using Moho, but one of these two was usually the cause.

Hope you figure this out.
Last edited by Greenlaw on Tue Jan 04, 2022 6:23 pm, edited 2 times in total.
Seb78
Posts: 15
Joined: Wed Mar 12, 2014 6:23 pm

Re: Frequent Crashing

Post by Seb78 »

Hi there,

I am new to this forum, so hello to everyone!
I also have experienced several crashings, especially when operating with "cut" and "paste". And not only when using the shortcuts, also when turning to the "edit" tab on top and operating from there. I thought that this bug got fixed when switching from Moho 12 to 13.5, but it is still the same - and it is extremely annoying. Because these essential functions are used every minute, right?
Does anyone of you know if the Moho developers have at least registered this and are thinking of fixing this?

Many greetings and have a great 2022!

Sebastian
rikberryere
Posts: 16
Joined: Mon Feb 22, 2021 9:48 pm
Location: Vermont

Re: Frequent Crashing

Post by rikberryere »

Greenlaw wrote: Tue Jan 04, 2022 5:25 pm Wow, that sounds really extreme and unusual. My thoughts:

1. Have you checked for negative keyframes using Synthsin's tool?

2.Is there any particular activity that causes a crash? If so, try removing the item (movie, vector, bitmap) you're working with and see if that makes the scene any more stable. It's possible you have an imported file that's partially corrupted. (If you're importing a movie file, that would be my primary suspect. After that, maybe an audio file.) If a corrupted item turns out to be the problem, trying getting a clean copy from the source. Sometimes just opening and resaving the file in a compatible program can do the trick.

I haven't seen crashes like what you're describing in many years of using Moho, but one of these two was usually the cause.

Hope you figure this out.
There is a movie file in the scene... as well as a few audio files. (I do the entire soundtrack in Garageband, then import the AIFF into Moho as a single audio track. I know Moho has some nifty audio abilities, but I've been doing it this way for a while and I'm kind of used to it.)

I'll try deleting the movie file (it's not critical, once I transfer to iMovie it'll be removed and placed between the animated scenes separately).

Funny, I haven't had this problem for weeks, then - whammo, all the time. Thanks for the hints, I'll see if it affects anything.
I have no idea what I'm doing... so tally ho, eh?
User avatar
Nicohk92
Posts: 282
Joined: Sun Apr 13, 2014 4:31 pm

Re: Frequent Crashing

Post by Nicohk92 »

It crashes every 20mn or so for me.

I'm on a Macbook pro with Catalina

Just playing around with Library particle layers. No imported files at all.

Very annoying also as it causes me to save as and copy and paste my file name to the recovered file each time.

Here's an example of crash report:

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [7476]
User avatar
handobro
Posts: 3
Joined: Sun Sep 10, 2017 3:25 pm
Location: UK
Contact:

Re: Frequent Crashing

Post by handobro »

Just sticking my oar in. 13.5 crashing a lot for me also, doesn't seem to be any consistent reason. It's been unstable ever since the last update. Also running Catalina on a MacBook Pro.
Daxel
Posts: 996
Joined: Wed Mar 27, 2019 8:34 pm

Re: Frequent Crashing

Post by Daxel »

I'm not having any crashes. On top of other old tricks I do like disabling auto-save, checking for negative keyframes and for corrupted references, now we know that undocking the style panel can solve many crashes, so I recomend trying that too. You don't need to close it, just undock it.
It looks like Mac OS users may have more crashes so they could have specific bugs, I don't know.
User avatar
Karl Toon
Posts: 139
Joined: Wed Jul 10, 2019 11:28 pm
Contact:

Re: Frequent Crashing

Post by Karl Toon »

Just thought I'd add to this Frequent Crashing post as I too am having at least 1 or 2 per hour. The most recent was when I created a switch layer, and prior to that was when I imported a jpg image. There seems to be no real rhyme nor reason to it. It's really annoying though. I'm on Windows 11, just so you Mac people don't think you are getting all the fun. Problem since install of 13.5.2; was quite stable prior to that.
"If you can dream it, you can do it. Always remember that this whole thing was started with a dream and a mouse." - Walt E. Disney
Daxel
Posts: 996
Joined: Wed Mar 27, 2019 8:34 pm

Re: Frequent Crashing

Post by Daxel »

Mad Dog wrote: Mon Feb 21, 2022 8:46 pm Just thought I'd add to this Frequent Crashing post as I too am having at least 1 or 2 per hour. The most recent was when I created a switch layer, and prior to that was when I imported a jpg image. There seems to be no real rhyme nor reason to it. It's really annoying though. I'm on Windows 11, just so you Mac people don't think you are getting all the fun. Problem since install of 13.5.2; was quite stable prior to that.
Do you work with your style panel undocked?
User avatar
Lost Marble
Site Admin
Posts: 2347
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Re: Frequent Crashing

Post by Lost Marble »

SimplSam wrote: Wed Dec 08, 2021 3:00 am I attempted to recreate these failures with Patch or just Vectors layers. I had some random fails during clicking around with lots of vector layers, but not consistent/repeatable enough to demonstrate.

However, whilst working with Patches - I tried to add a new one at one stage and Moho crashed. I then boiled that down to the following repeatable fail:

1. Create new document
2. Add a Shape
3. Select Shape (with Select Shape tool)
4. Ensure Style panel is docked & active
5. Attempt to add a new Patch* layer
6. Moho crashes

* note: Also tried adding Group, Bone, Note, Text - which sometimes also failed. Patch was however the most reliable! :twisted:

Again I could not repeat the failures in other Moho versions, nor with the Style panel hidden or undocked.
Aha, that's it! Sometimes figuring out how to reproduce a bug is much harder than fixing the bug. SimplSam, I owe you one! This leads me directly to the cause of the crash, and a fix will be coming in the next update. Thank you!

By the way, the root cause of the crash doesn't seem to be new to 13.5.2. It looks like it's been there for a long time. But the nature of memory corruption is that sometimes a program can do something bad that can slip through the cracks or not actually trigger a crash until sometime later. It could be that an unrelated change in 13.5.2 made Moho's memory layout less resilient to this actual error.
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Frequent Crashing

Post by Greenlaw »

Lost Marble wrote: Thu Feb 24, 2022 11:42 pm ...a fix will be coming in the next update. Thank you!
Yay! Thank YOU!
User avatar
Lukas
Posts: 1297
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: Frequent Crashing

Post by Lukas »

Lost Marble wrote: Thu Feb 24, 2022 11:42 pm[...]By the way, the root cause of the crash doesn't seem to be new to 13.5.2. It looks like it's been there for a long time. But the nature of memory corruption is that sometimes a program can do something bad that can slip through the cracks or not actually trigger a crash until sometime later. It could be that an unrelated change in 13.5.2 made Moho's memory layout less resilient to this actual error.
Ooooh, I am very curious if this fixes any of the unexplainable crashes we've been having that I never really got to reproduce or could even pin-point. The error seems similar.
User avatar
Lost Marble
Site Admin
Posts: 2347
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Re: Frequent Crashing

Post by Lost Marble »

Lukas wrote: Fri Feb 25, 2022 11:36 am Ooooh, I am very curious if this fixes any of the unexplainable crashes we've been having that I never really got to reproduce or could even pin-point. The error seems similar.
I'm hopeful that this could fix a lot of unexplained crashes. Basically, the Style window had some bad code that assumed a vector layer was always the selected layer. It was doing something very incorrect (or still is in the current builds) by treating every layer as a vector layer. So anytime you switched to a non-vector layer, this incorrect code was running. It's been there for many years, and somehow most of the time didn't cause a crash. But it's wrong.

I run diagnostic code to check for these kinds of things when I'm debugging, which sometimes identifies errors that I can fix in new features before they ever go public. But this one somehow slipped through.
User avatar
Lukas
Posts: 1297
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: Frequent Crashing

Post by Lukas »

That sounds very promising!
Post Reply