-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when right-clicking when running under WSL2 on Windows 10 #67
Comments
Attached screenshot, and reported full log of WookieChat execution under GDB: `cesare@Conan: For help, type "help". wookiechat.c (55) main() - WookieChat - Transmission begins... Thread 7 "Intuition menu " received signal SIGSEGV, Segmentation fault. |
Can you run "bt" command once you get the crash in gdb? This should show full backtrace of the call. Also this line might suggest an issue: Xlib: extension "XFree86-VidModeExtension" missing on display "192.168.2.126:0". Is this VidMode extension something you can "install" into WSL2? |
Sure: wookiechat.c (55) main() - WookieChat - Transmission begins... Thread 7 "Intuition menu " received signal SIGSEGV, Segmentation fault. |
No, this is because I'm using an X11 server. Other applications work without problems. |
If I'm reading this correctly you are missing debug symbols. Can you install this package https://www.axrt.org/download/axrt/4.0/packages/libaxrt-4.0-dbg_41.2-1_amd64.deb and re-run gdb trace? |
Sure: Thread 7 "Intuition menu " received signal SIGSEGV, Segmentation fault. |
Ah, now it's much better, thank you. Let me review the code and I will get back to you. :) |
Here is version with some debug: https://axrt.org/development/intuition.library.x86_64-axrt.01.zip Please replace intuition.library which is located in /usr/lib/x86_64-linux-gnu/axrt/4.0/Libs with the one from zip file. Do the following: run application, right-click once in the window, you should get two lines printed on linux console, right-click and drag off to get crash. Please paste the output of first click and the subsequent crash. |
After the first (right) click:
|
After second (right) click and crash: Thread 7 "Intuition menu " received signal SIGSEGV, Segmentation fault. |
There was a .dbg file inside: I haven't copied it on /Libs. Please, let me know if I should do it, and repeat the test. |
To be more precise on the second right click, there was a long list of this: After XQueryTree, children 0000000000000000` |
No, that's fine. The .dbg would be needed for in-depth debugging only. With what you provided so far I can work out a new version for tests. |
Here is new version, let me know it is still crashes: https://axrt.org/development/intuition.library.x86_64-axrt.02.zip |
Now there's another (different) bug: the Settings / MUI dialog windows doesn't appear. The console log reports this, when I select its menu:
Something similar happens on the WookieChat / Save buffers as... do nothing: not event displaying something on the console log. And the same on Windows menu, with Incoming ..., Outgoing submenus. Whereas it works with Windows / URL Grabber and Ignore list, and works also with Settings / Wookiechat. But, as I've said, those are (at, look like) completely different issue. Unfortunately I've no time now to open a new issue or do more tests: I'll check this evening. |
I checked WookieChat code and "Save buffers as", "Incoming.." and "Outgoing.." are simply not implemented. Not opening MUI setting is a bug - I created a report for it. |
Glad it works. I'll start preparing for next release. Can you make a screen shot of having WookieChat on top of some native Windows application (Word? Excell? Paint?) or together with Windows menu start opened? Something similar to this https://axrt.org/media/axrt-desktop-20220404.jpg to add to axrt.org gallery as well as use for announcement? |
BTW, it works with multimonitor now: see attached screen. ;) |
Thanks a lot! I'll build release debs and would like to ask you for a final test. I will paste links here. |
Sure, np! |
Please try this release package: https://axrt.org/download/axrt/4.0/packages/libaxrt-4.0_41.3-1_amd64.deb |
That's unexpected :/ How does it work if you replace with 02 intution.library? (https://axrt.org/development/intuition.library.x86_64-axrt.02.zip |
It works the same. Sorry, but I made a mistake: when I tested the previously I kept both monitors open, and the mentioned issue happens. |
Ok, thanks. I'll add that information to documentation. I think the same issues would happen on Linux as well. I did not work on multi-monitor support. So to sum up, the release works as expected granted single monitor or "duplicate screen" is used, correct? |
Yes, exactly! :) |
Good, I'll proceed with making the release :) |
Fixed in cab49fa |
"The segfaults can be easily reproduced:
https://ae.amigalife.org/index.php?topic=561.120.msg10512#msg10512
The text was updated successfully, but these errors were encountered: