[Gambas-user] [CRASH REPORT] WinPin
Martin Fischer
martin.fischer6 at web.de
Sun Oct 8 20:10:10 CEST 2023
>
> Your project uses the gb.gui component. So, when running on Cinnamon
> desktop as you are, it would use GTK. And, when running on the KDE
> desktop as I do, it would use Qt.
>
> As a test, I switched to using the gb.gtk3 component in the project
> instead of gb.gui. After launching Lazarus in multi-window mode, I could
> no longer bring up the WinPin UI by clicking on the sys-tray icon. And,
> upon closing Lazarus, I got the same error as you (with the exception of
> "serial 2601"):
> ~~~
> (WinPin:11659): Gdk-ERROR **: 12:06:09.436: The program 'WinPin'
> received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadWindow (invalid Window parameter)'.
> (Details: serial 2601 error_code 3 request_code 20 (core protocol)
> minor_code 0)
> (Note to programmers: normally, X errors are reported asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the GDK_SYNCHRONIZE environment
> variable to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error()
> function.)
> ~~~
>
> So, it's a GTK issue, or an issue with the Gambas GTK interface.
>
I checked using gb.gui.qt and it worked without crash. Great.
But then I turned jit-compilation on again (which I disabled for testing).
Bang! I got a segmentation fault.
So: yes, qt helps, but I think there is still something fishy here...
I attached the project with qt and jit enabled.
Note that for me it's the 'Fast' on WindowList::Merge() that triggers
the segfault. Remove that Fast and no crash happens.
?Puzzled?
Martin
------------------------------
gbx3[3339]: segfault at 78 ip 00007fb4c5d46595 sp 00007ffece9504a0 error
4 in libc.so.6[7fb4c5c38000+195000]
Process 3339 (gbx3) of user 1000 dumped core.
Found module /tmp/gambas.1000/3339/jit/gb.so with build-id:
55de8a3973501fdf832e39eba0d592d15f4094d7
Found module linux-vdso.so.1 with build-id:
d4ef2895c4f9f9cc5a3f37376b7d706744ec7559
Found module libnss_systemd.so.2 with build-id:
9efcd2bc218dcf61b4e13ca2512f7e0e4953cf0c
Found module libqsvg.so with build-id:
a2073706d05451f261de73248f31da219aecde29
Found module libqjpeg.so with build-id:
22a7976b2acd0786178f59f6e36c5e248578f0f8
Found module libqico.so with build-id:
c4a8a18e71c6d1dbcbc31f256a6823d906dc95c6
Found module libqgif.so with build-id:
a2408afda18131da1e4381d06c1a7e46f10dd5c2
Found module gb.jit.so with build-id:
a363bcdebfc34560da575e45c4659b374a1b1f6a
Found module libQt5X11Extras.so.5 with build-id:
8b1c54de9e1e8e5c7b3fb2642e59da4b20a600b7
Found module gb.qt5.x11.so with build-id:
0c0ae528be92edcf8765cfa30d9eaa3de6986709
Found module libmurrine.so with build-id:
d87e0599e848e91e309780553b705e202cbb283e
Found module libadwaita.so with build-id:
b9dc475e6607304c323c812bf75d262b5d79d4e7
Found module libpixmap.so with build-id:
b60159b8320ebf6a69d55bb9a3a6b47580448fe0
Found module libatspi.so.0 with build-id:
2843c68233d5ba81da3d6bc31422e49472873dba
Found module libatk-bridge-2.0.so.0 with build-id:
7e8009077fbdcd7bf094c51bf78742b96f216d73
Found module libatk-bridge.so with build-id:
4895798be41826790089277c209e73dca98c6be6
Found module libgailutil.so.18 with build-id:
01cb1664b161648cd1f17dfefd381ba26280a4fb
Found module libgail.so with build-id:
1f1cd53758851fde3fb29a5617ee212cf4192594
Found module libpcre2-8.so.0 with build-id:
184a841c55fb7fe5e3873fcda8368c71016cd54c
Found module libblkid.so.1 with build-id:
cdf95a964e3302bb356fefc4b801fae8c4340b31
Found module libdatrie.so.1 with build-id:
128b6874a47f2b783d9e9060d3caaee4110bfd3d
Found module libselinux.so.1 with build-id:
6fa53202ce676297de24873c886443b2759bfd8a
Found module libmount.so.1 with build-id:
eeb33f2b4b9c3eb0a29575eb9932ef08663bd836
Found module libpixman-1.so.0 with build-id:
5e936cdac032b6048d9d1a8c0bb0e4a10c86d48c
Found module libthai.so.0 with build-id:
afa54530349e68380815d606d15dbfda8952799f
Found module libfribidi.so.0 with build-id:
6e075a666e1da8ffdb948d734e75d82b1b6dc0fb
Found module libjpeg.so.8 with build-id:
c54abff9294357e28532a76a049a4cb2542fc15b
Found module libXdamage.so.1 with build-id:
8358b7625700dc247fa21fb4304cba877a28bb04
Found module libXcomposite.so.1 with build-id:
2c84db5342304ba1a76db7dd9b7a3bfaa8a716ce
Found module libXrandr.so.2 with build-id:
069f930a2b41f3908a1a92b1a51c38bd13a559e2
Found module libXi.so.6 with build-id:
8ff5a3ac871a90fd9d0a7917c61f748a41c6b5ee
Found module libXinerama.so.1 with build-id:
9823bebfa26a681265db4aeb09abf44deec38401
Found module libpangoft2-1.0.so.0 with build-id:
fc7f13d8298f5e10fb1acbaa5472ec8b6fbf2bd9
Found module libgio-2.0.so.0 with build-id:
07bd46a1bb58e321e6aabc67135d054e6b78069d
Found module libcairo.so.2 with build-id:
60a39c3684e41370bd0a59ed1ecbdccf47e30069
Found module libatk-1.0.so.0 with build-id:
b93088667fbd06f6b72d273403d352e7c0554698
Found module libpangocairo-1.0.so.0 with build-id:
65987e60b791e0eb6231575b8d5cfd33a6379b22
Found module libgmodule-2.0.so.0 with build-id:
8b369a368c3070d179ddf64724ffc229c3f214b5
Found module libgobject-2.0.so.0 with build-id:
7c47809b4e688382aab4127a2e07496450c5e6b0
Found module libpango-1.0.so.0 with build-id:
42c8896c53d9d22dc73ba7a78b326d61f34e4442
Found module libgdk_pixbuf-2.0.so.0 with build-id:
374b383e3b68b5d8b552519094129f401596e502
Found module libgdk-x11-2.0.so.0 with build-id:
85bcf9ac8451ed8ab9508f054f9fa1db9bba66b8
Found module libgtk-x11-2.0.so.0 with build-id:
31f3c9d00ff049d7968704e8475d6efb70d4ee5f
Found module libqgtk2style.so with build-id:
8594ce75b278d6d78f3f820fa8a3dab0b91d2ad6
Found module libqt5ct-style.so with build-id:
e190344fcc0747cc84fc06efe1cd7585879286cc
Found module libcomposeplatforminputcontextplugin.so with build-id:
727e6122f03c0e8631879b579b238fc9c6377caf
Found module libqt5ct.so with build-id:
f45ef63360981b3b7a000633a43e4b573acb9e50
Found module libXfixes.so.3 with build-id:
a9c550a40b8154a3b4b5e2ac182bb50c013c3f18
Found module libXcursor.so.1 with build-id:
d936a5db46d8babb0f2cc490df36b6b18a16d8aa
Found module libxcb-util.so.1 with build-id:
898a03cabe0d55491c4bf447c7399b8bf4e392d8
Found module libuuid.so.1 with build-id:
64c0d0cb22fa2bdeca075a0c0418ba5ff314b220
Found module libexpat.so.1 with build-id:
d212d1f61d04a1e60fccad1a8c118428cfd9be42
Found module libxkbcommon.so.0 with build-id:
a4b17d939092101dc8f6b2a1d70eaf1fddb2dd51
Found module libxkbcommon-x11.so.0 with build-id:
99c6b6b6c6010c09544caa3c1de42a6f7780a1c2
Found module libICE.so.6 with build-id:
cf39da2f7c723f976c6e676704e218513e2b0b2b
Found module libSM.so.6 with build-id:
6b32192c8a8870a8fe04403f537e806da93a1dd8
Found module libXrender.so.1 with build-id:
7ccbfa4c24e93c42fa50dd2e42fa277630f9650c
Found module libxcb-xinput.so.0 with build-id:
f871045f953437452c52724be4a95fe5fe3aef5c
Found module libxcb-xkb.so.1 with build-id:
ffda354b1a72e3efe2447a3dbc9c29ba3f4e8d63
Found module libxcb-xinerama.so.0 with build-id:
91315926963de468bd7f88c366bc3715100314ef
Found module libxcb-xfixes.so.0 with build-id:
d6f264cc06fb6c92b5ced2c8f373cf5a5bda0e09
Found module libxcb-sync.so.1 with build-id:
657d8516621c4042b4b221ce1b3525f92467ef7e
Found module libxcb-shape.so.0 with build-id:
18eea95584dc231c380edfbac27cd2481b64c079
Found module libxcb-render.so.0 with build-id:
cb521131fd3b0f2ee6056cbc2014b3b8ef0d5c0e
Found module libxcb-render-util.so.0 with build-id:
7785770a369b562bcf80ad2318f6e9efff59b863
Found module libxcb-randr.so.0 with build-id:
7af27bf3e608d5c06645ad4086788afe8a8447e7
Found module libxcb-keysyms.so.1 with build-id:
19f4ec23135d8b6d5df205c775185520d72f1195
Found module libxcb-shm.so.0 with build-id:
edb24ef4079aa423edcc50a3bb0dfb912fe8a57a
Found module libxcb-image.so.0 with build-id:
81ce7ad4384f3c9629121be5b18f87c82131e023
Found module libxcb-icccm.so.4 with build-id:
38663873ef7ad5e3f30293a6938a762cd1dd8d90
Found module libX11-xcb.so.1 with build-id:
70f2a36d79c623f42fd70fa7ffb06d8877c74f16
Found module libQt5DBus.so.5 with build-id:
12c53f929e8ff52b7210dc114591dba275d7bad6
Found module libfontconfig.so.1 with build-id:
0bb435fdd5ec37178e14ea03bb36f779a4b72a94
Found module libQt5XcbQpa.so.5 with build-id:
431728065877d9043132d65c1fafedab195974f6
Found module libqxcb.so with build-id:
7eb89a0e052376724c13cd4e22b567d7169c042e
Found module gb.debug.so with build-id:
f233e711580e5cd4e016551059087d9377359d61
Found module gb.eval.so with build-id:
4a35b8d5d0ac56bdb7405185e7990434abee68c8
Found module gb.gui.trayicon.so with build-id:
af1751e90b8766567b061b503dc6b7f618a88727
Found module libXext.so.6 with build-id:
9fb1880e02dfa11a8c39cd1a170109de08302059
Found module libXtst.so.6 with build-id:
ba729667b51a90cf9453f98024bfa44ca25758b7
Found module gb.desktop.x11.so with build-id:
50f6dd6b69438309b34696b767edcaa4187b9d00
Found module libgpg-error.so.0 with build-id:
3fbec71c67bee60d8aef00697ee187079b0fb307
Found module libgcrypt.so.20 with build-id:
60a5e524de0ed8323edf33e9eb9127a9eee02359
Found module libcap.so.2 with build-id:
b4bf900abf14aabe12d90988ceb30888acb2bcb0
Found module liblz4.so.1 with build-id:
a85971851cd059f1af80d553c8e7170d42ec59a1
Found module liblzma.so.5 with build-id:
b85da6c48eb60a646615392559483b93617ef265
Found module libsystemd.so.0 with build-id:
75127719050b94774f76b6d153ad298b35f7a5f7
Found module libdbus-1.so.3 with build-id:
63e8b99215502138cb63afd6d65851a5e837ed49
Found module gb.dbus.so with build-id:
9d0521d8cec775d5b5c3623913973f58471e6ad5
Found module gb.geom.so with build-id:
aca8ac89aa6e37120afe15d6cc7676cc63505893
Found module gb.draw.so with build-id:
b747a0f1fa9c3fa5a95ba6562713d7a62714ec36
Found module libmd.so.0 with build-id:
cd2d2f71b3967ebde30e2aa43b8eb63339020c06
Found module libbsd.so.0 with build-id:
9a6c72469251e2feb63e175ef5cb944ce6e00df3
Found module libXdmcp.so.6 with build-id:
6b60f99504aa1d3999ea02a14366d1a39d6c5dcf
Found module libXau.so.6 with build-id:
7089b383cacbfc1760634a3be19a923e51fe3315
Found module libbrotlicommon.so.1 with build-id:
43a72967cf84155914c8b3e915926733d1e57c11
Found module libxcb.so.1 with build-id:
1bef862a339557aa16c34c7a4b27f8f3aea90517
Found module libbrotlidec.so.1 with build-id:
4b1f390dd6e24d49684db8b2443d082379e8e977
Found module libX11.so.6 with build-id:
37a5d7bbb78e3a99ea8376a7c80ea0c62fe06494
Found module libpcre.so.3 with build-id:
3982f316c887e3ad9598015fa5bae8557320476a
Found module libicudata.so.70 with build-id:
b1c2496dd0543023c7a19c961bb7f3abc818f465
Found module libgraphite2.so.3 with build-id:
5ffbc76fc948f6b88d766a7210c2e6a329a6c278
Found module libfreetype.so.6 with build-id:
bc6c65a19e6f75fea5e74a7fd6c0b91182e1a8b0
Found module libGLX.so.0 with build-id:
ac8b68a74f1ead77477f89bc98998ecb064e3ae5
Found module libGLdispatch.so.0 with build-id:
19c339ecd74c020f1db1342213a07114f4baf5e0
Found module libglib-2.0.so.0 with build-id:
c74e800dfd5f72649d673b44292f4a817e45150b
Found module libzstd.so.1 with build-id:
5d9d0d946a3154a748e87e17af9d14764519237b
Found module libpcre2-16.so.0 with build-id:
6515ac3f6cbdc671b50c214029a92031ed8a1b9f
Found module libicuuc.so.70 with build-id:
bef3ff1d70aadd68aab07d858a759360c8b919ae
Found module libicui18n.so.70 with build-id:
ff2dbcdd92cbe5a63d20291e295d8fed9f87d35b
Found module libdouble-conversion.so.3 with build-id:
309d9a98f19077dc8f2f8b8456a824f30851548c
Found module libmd4c.so.0 with build-id:
2d23f4702a68dc317e32ce7a3e41e0fa7ba93215
Found module libharfbuzz.so.0 with build-id:
3b9c495c079286b8d1f55d0937a0a771593eb7e6
Found module libpng16.so.16 with build-id:
d58bf7c11ac793d528926238d831792b5ef792cf
Found module libGL.so.1 with build-id:
fe7c476406e1e41b511089398540d618177a7dcb
Found module libgcc_s.so.1 with build-id:
e3a44e0da9c6e835d293ed8fd2882b4c4a87130c
Found module libz.so.1 with build-id:
30840b79ac329ecbf1dec0bb60180eed256d319f
Found module libstdc++.so.6 with build-id:
e37fe1a879783838de78cbc8c80621fa685d58a2
Found module libQt5Core.so.5 with build-id:
4745cda28772e27ab5124c79ddc26da084782cee
Found module libQt5Gui.so.5 with build-id:
9732c114cf66c10694879a302e94acd2199646cb
Found module libQt5Widgets.so.5 with build-id:
5dfa607522386957ffec95c0a46150c189e064bd
Found module libQt5PrintSupport.so.5 with build-id:
e84cb2bdc18bf50303505d73767aa905179d4b59
Found module libQt5Svg.so.5 with build-id:
641cddbfcdb33de11626d04417987d104602b9ce
Found module gb.qt5.so with build-id:
231a9174d32b9638d9fd3ccb08a31aed128a8182
Found module gb.gui.qt.so with build-id:
9b4c78406feb3fa40c7b14b1c328250e079b277c
Found module gb.image.so with build-id:
c9cfcd57e80601629590de8d7df2718c419b9f07
Found module ld-linux-x86-64.so.2 with build-id:
9718d3757f00d2366056830aae09698dbd35e32c
Found module libffi.so.8 with build-id:
59c2a6b204f74f358ca7711d2dfd349d88711f6a
Found module libm.so.6 with build-id:
d2c7d1fdefc7a876b6017c090ccd55fb21e8d77f
Found module libc.so.6 with build-id:
a43bfc8428df6623cd498c9c0caeb91aec9be4f9
Found module gbx3 with build-id: 49d08e635abe62e61a72f06f6fded0c3f20dcf78
Stack trace of thread 3339:
#0 0x00007fb4c5d46595 __longjmp_chk (libc.so.6 + 0x136595)
#1 0x000055f532636a36 n/a (gbx3 + 0x60a36)
#2 0x000055f532636e70 n/a (gbx3 + 0x60e70)
#3 0x000055f53264cb07 n/a (gbx3 + 0x76b07)
#4 0x000055f5325f7d1a n/a (gbx3 + 0x21d1a)
#5 0x00007fb4bffd964c n/a (gb.debug.so + 0x364c)
#6 0x00007fb4bffda58d n/a (gb.debug.so + 0x458d)
#7 0x00007fb4bffdc384 n/a (gb.debug.so + 0x6384)
#8 0x000055f5325f6f87 n/a (gbx3 + 0x20f87)
#9 0x00007fb4c5c39d90 __libc_start_call_main (libc.so.6 + 0x29d90)
#10 0x00007fb4c5c39e40 __libc_start_main_impl (libc.so.6 + 0x29e40)
#11 0x000055f5325f7545 n/a (gbx3 + 0x21545)
Stack trace of thread 3349:
#0 0x00007fb4c5d28dbf __GI___poll (libc.so.6 + 0x118dbf)
#1 0x00007fb4c25921f6 n/a (libglib-2.0.so.0 + 0xab1f6)
#2 0x00007fb4c253a3e3 g_main_context_iteration (libglib-2.0.so.0 + 0x533e3)
#3 0x00007fb4c33d70b8
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x3130b8)
#4 0x00007fb4c337c75b
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 +
0x2b875b)
#5 0x00007fb4c318faf2 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcbaf2)
#6 0x00007fb4bfd2ff0b n/a (libQt5DBus.so.5 + 0x18f0b)
#7 0x00007fb4c3190ca1 n/a (libQt5Core.so.5 + 0xccca1)
#8 0x00007fb4c5ca4ac3 start_thread (libc.so.6 + 0x94ac3)
#9 0x00007fb4c5d36a40 __clone3 (libc.so.6 + 0x126a40)
Stack trace of thread 3340:
#0 0x00007fb4c5d28dbf __GI___poll (libc.so.6 + 0x118dbf)
#1 0x00007fb4c050c7e2 n/a (libxcb.so.1 + 0xc7e2)
#2 0x00007fb4c050e22c xcb_wait_for_event (libxcb.so.1 + 0xe22c)
#3 0x00007fb4bfe67d08 n/a (libQt5XcbQpa.so.5 + 0x72d08)
#4 0x00007fb4c3190ca1 n/a (libQt5Core.so.5 + 0xccca1)
#5 0x00007fb4c5ca4ac3 start_thread (libc.so.6 + 0x94ac3)
#6 0x00007fb4c5d36a40 __clone3 (libc.so.6 + 0x126a40)
----------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WinPin-0.7.2.tar.gz
Type: application/gzip
Size: 17485 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231008/7f7493d5/attachment-0001.gz>
More information about the User
mailing list