pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.61k stars 519 forks source link

IDE crashes when hiding the output pane (macOS Catalina) #1041

Open Tieske opened 4 years ago

Tieske commented 4 years ago

On Apple Catalina I've had several crashes when trying to hide the output window

Pressing crashed the app.

After restarting, tried again, same result

Then restarted used the menu, that worked.

After that, using the key comibination also works again.

pkulchenko commented 4 years ago

@Tieske, thank you for the report. Does it happen when you do it in the app installed from the .dmg file or from a repository clone? If it was a .dmg install, can you try from a repo clone to see if it has the same issue?

Usually issues on Catalina are related to permissions, but since it's working in some cases, it's not likely to be the reason. I've tried on one of the macBooks I have and can't reproduce this (although it's not Catalina). Do you actually get a crash (with macOS window that shows a stack trace) or is it a wxlua error with a stack trace? Could you copy the stack trace with other relevant information here? I'll try to reproduce when I get access to a macbook with Catalina on it.

Tieske commented 4 years ago

it was a .dmg install

Can't reproduce anymore now. Crash info attached.

zbscrash.txt

pkulchenko commented 4 years ago

This doesn't seem to be permission related, as those errors show EXC_BAD_ACCESS (Code Signature Invalid) as the reason and in this case it's EXC_BAD_ACCESS (SIGSEGV), which looks like access to an invalid address. Interesting that it's crashing in com.apple.AppKit and not in any of the app libraries. Are you on the latest Catalina version (10.15.3)?

Tieske commented 4 years ago

no not yet

pkulchenko commented 4 years ago

ok, I'd be curious to see if you still get these crashes on 10.15.3. This may sound strange, but I suspect it's not the issue with the IDE. I only have 10.15.3 to test on and will check if I see the same crashes.

pkulchenko commented 4 years ago

@Tieske, are you still seeing these crashes on 10.15.3? I haven't been able to reproduce so far.

Tieske commented 4 years ago

Yes, occasionally happens

pkulchenko commented 4 years ago

That's unfortunate. Just to confirm, it happens on 10.15.3 right? Any additional details to what's been posted so far?

Tieske commented 4 years ago

would it help if I post the Mac crash report? (didn't grab it, but if it helps, will do next time)

pkulchenko commented 4 years ago

It might, but I think you already provided one earlier and the crash was somewhere inside com.apple.AppKit. I'd be curious to see if the picture is the same for other crashes, but right now have no ideas as to what may be causing this and why I don't see them.

Do you have any plugins installed? Do you want to try without plugins to see if the crashes still happen?

pkulchenko commented 4 years ago

Also, does it only happen when you hide the output panel?