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
wxmaxima crashes on gnome 3 with 2 displays #1092
Comments
Thanks for notifying me. Let's see if I can find out what causes this problem. |
Wtih wxMaxima-19.03.1-1.fc29 from https://koji.fedoraproject.org/koji/buildinfo?buildID=1228558 I still see the same crash. Is there anything more I can do to help debug? |
What would help here would be a fully symbolic backtrace of the crash. On Ubuntu such a thing could be created the following way:
gdb will then output the info which line of which function caused the crash, which parameters the function has been called with and which function has called this one with which parameters and so on... |
Here is the backtrace with current git master.
|
Hmmm... ...here I am not doing anything at all: I just tell wxWidgets to show a modal dialogue - and it is wxWidgets who calls wxDisplay => Either gtk or wxWidgets contains a bug. But currently I don't see a workaround as I try to make not too many dialogues modal. But with some one cannot avoid that. |
As a 2nd thought it definitely is wxWidgets: On creating the dialogue wxWidgets wants to know the DPI rate of the current screen |
@gunterkoenigsmann I do, and if there were a wxWidgets 3.1 package in Debian I'd build it, but it's somewhat inconvenient otherwise. It looks like it's probably fixed by these changes and in particular this and this one Edit nevermind, the switch from GTK 2 to GTK 3 appears to have fixed it for me. |
A fedora user reported a crash on Gnome 3 with 2 or more displays:
https://bugzilla.redhat.com/show_bug.cgi?id=1680656
The bug report has more debug information, in particular
https://bugzilla.redhat.com/show_bug.cgi?id=1680656#c14
says
"Also its probably worth noting, the wxmaxima crash dialog has the message:
../src/common/dpycmn.cpp(119): assert "n < GetCount()" failed in wxDisplay(): An invalid index was passed to wxDisplay"
The text was updated successfully, but these errors were encountered: