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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxGTK32: fix console crash #269587
wxGTK32: fix console crash #269587
Conversation
based on the patch applying and it not breaking KiCad i have no objections to this i however cannot reproduce the issues linked to is anything in nixpkgs affected by this issue? |
Yes, building is not the issue, but e.g. running |
Not sure if wxWidgets/wxWidgets@8ea22b5#commitcomment-133381150 is relevant |
oh, why does this target |
it had a lot more rebuilds when I tried running nixpkgs-review. But it seems I was wrong. We can retarget at master |
on |
yes. Because you tested on
to see the error on current master. (Independent of veracrypt version) |
not seeing it, maybe because i'm on sway (wayland)? also not when building veracrypt from |
Yes. Since the patch was already committed upstream, I would just use this one. This patch will be obsolete with the next version of wxWidgets either way |
Thats strange. For me it worked on I am using KDE currently. Maybe you're right and the DM plays a role here EDIT: Upstream reported the error on wayland, too: wxWidgets/wxWidgets#24081 (comment) |
also no issue on EDIT: or with master reverted to wxWidgets 3.2.3 |
I have veracrypt fail with Can you try running a VM with other DMs than EDIT: config
|
i'm not used to running declarative VMs (or flakes) but i've failed to reproduce the failure on the |
maybe this is a good point to repeat that i don't actually have an objection to including this change... |
Ha, yes, good to know :-D I managed to test sway now in a VM (for reference: #147392 helped. and the NixOS sway tests). To sum up:
|
If console programs use the wxApp class it will crash with GTK3 with: "g_object_get: assertion 'G_IS_OBJECT (object)' failed" This patch fixes it. See wxWidgets/wxWidgets#23981 and veracrypt/VeraCrypt#1263 Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
c657c76
to
51e8bd8
Compare
Changed base to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixpkgs-review
i don't think this caused the erlang-ls
failure, it also showed up on a review of wxGTK 3.2.4
1 package marked as broken and skipped:
springLobby
1 package failed to build:
erlang-ls
210 packages built:
abracadabra aegisub akkoma amule amule-daemon amule-gui amule-web asc audacity bochs boinc bossa bossa-arduino cemu chirp chirp.dist cl codeblocks codeblocksFull comical couchdb3 cqrlog cubicsdr diff-pdf digikam displaycal displaycal.dist dump1090 dvdstyler easyabc ejabberd electricsheep elixir elixir-ls elixir_1_10 elixir_1_11 elixir_1_12 elixir_1_13 elixir_1_14 elvis-erlang erlang erlang_24 erlang_26 erlang_javac erlang_odbc erlang_odbc_javac erlfmt espanso espanso-wayland espeakedit far2l filezilla fityk flamerobin freedv freefilesync freqtweak fsg gnudatalanguage gnuradio3_8Packages.ais gnuradio3_8Packages.limesdr gnuradio3_8Packages.osmosdr gnuradio3_8Packages.osmosdr.dev gnuradio3_9Packages.osmosdr gnuradio3_9Packages.osmosdr.dev gnuradioPackages.osmosdr gnuradioPackages.osmosdr.dev golly gqrx gqrx-gr-audio gqrx-portaudio grandorgue grass hugin indi-full kicad kicad-small kicad-unstable kicad-unstable-small kicadAddons.kikit kicadAddons.kikit-library kikit kikit.dist klipper-firmware klipper-flash kstars lenmus lfe limesuite livebook loxodo loxodo.dist mavproxy mavproxy.dist mediainfo-gui meerk40t meerk40t.dist megaglest mercury metamorphose2 mix2nix mmex mobilizon mymcplus mymcplus.dist notmuch-bower odamex opencpn openwebrx openwebrx.dist pcem perl536Packages.AlienWxWidgets perl536Packages.AlienWxWidgets.devdoc perl536Packages.AppMusicChordPro perl536Packages.AppMusicChordPro.devdoc perl536Packages.Wx perl536Packages.Wx.devdoc perl536Packages.WxGLCanvas perl536Packages.WxGLCanvas.devdoc perl538Packages.AlienWxWidgets perl538Packages.AlienWxWidgets.devdoc perl538Packages.AppMusicChordPro perl538Packages.AppMusicChordPro.devdoc perl538Packages.Wx perl538Packages.Wx.devdoc perl538Packages.WxGLCanvas perl538Packages.WxGLCanvas.devdoc phd2 plausible playonlinux pleroma poedit pothos printrun printrun.dist pterm pwsafe python310Packages.humblewx python310Packages.humblewx.dist python310Packages.kicad python310Packages.pcbnew-transition python310Packages.pcbnew-transition.dist python310Packages.soapysdr-with-plugins python310Packages.wxPython_4_2 python311Packages.humblewx python311Packages.humblewx.dist python311Packages.kicad python311Packages.pcbnew-transition python311Packages.pcbnew-transition.dist python311Packages.soapysdr-with-plugins python311Packages.wxPython_4_2 qgis qgis-ltr qradiolink quisk quisk.dist rabbitmq-server rabbitmq-server.doc rabbitmq-server.man radiotray-ng rapidsvn rebar rebar3 rehex rtl_433 saga scorched3d sdrangel sigdigger slic3r soapysdr-with-plugins sonic-pi sooperlooper sound-of-sorting spatialite_gui spek srsran survex suscan tenacity therion timeline tqsl treesheets tsung tunnelx urbackup-client urh urh.dist vbam veracrypt welle-io wings woeusb-ng woeusb-ng.dist wxGTK32 wxSVG wxformbuilder wxhexeditor wxmacmolplt wxmaxima wxsqlite3 wxsqliteplus xchm xmlcopyeditor xylib yaws zeroad zeroadPackages.zeroad-unwrapped zod
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/1276 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Description of changes
If console programs use the wxApp class it will
crash with GTK3 with:
"g_object_get: assertion 'G_IS_OBJECT (object)' failed"
This patch fixes it.
See wxWidgets/wxWidgets#23981 and veracrypt/VeraCrypt#1263
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Priorities
Add a 馃憤 reaction to pull requests you find important.