Closed erickwill closed 5 months ago
I got the same (modulo addresses / tmp file names etc) traceback with current weekly build. This is on KDE neon / ubuntu 22.04 LTS on a wayland session.
backtrace from gdb:
Thread 1 "freecad" received signal SIGSEGV, Segmentation fault.
xkb_context_ref (ctx=0x0) at ../src/context.c:192
192 ../src/context.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 xkb_context_ref (ctx=0x0) at ../src/context.c:192
#1 0x00007fffeebe3775 in xkb_keymap_new (ctx=<optimized out>, format=<optimized out>, flags=flags@entry=XKB_KEYMAP_COMPILE_NO_FLAGS) at ../src/keymap-priv.c:67
#2 0x00007fffeebe2f37 in xkb_keymap_new_from_buffer (ctx=<optimized out>,
buffer=0x7fffb8f1d000 "xkb_keymap {\nxkb_keycodes \"(unnamed)\" {\n\tminimum = 8;\n\tmaximum = 708;\n\t<ESC>", ' ' <wiederholt 16 Mal>, "= 9;\n\t<AE01>", ' ' <wiederholt 15 Mal>, "= 10;\n\t<AE02>", ' ' <wiederholt 15 Mal>, "= 11;\n\t<AE03>", ' ' <wiederholt 15 Mal>, "= 12;\n\t<AE04>", ' ' <wiederholt 12 Mal>..., length=74181, format=<optimized out>, flags=<optimized out>) at ../src/keymap.c:193
#3 0x00007fffeed17508 in QtWaylandClient::QWaylandInputDevice::Keyboard::keyboard_keymap(unsigned int, int, unsigned int) () from /home/robert/fctmp/squashfs-root/usr/plugins/platforms/../../lib/libQt5WaylandClient.so.5
#4 0x00007fffef6e3a4a in ffi_call_unix64 () from /home/robert/fctmp/squashfs-root/usr/plugins/platforms/../../lib/./libffi.so.8
#5 0x00007fffef6e2fea in ffi_call_int () from /home/robert/fctmp/squashfs-root/usr/plugins/platforms/../../lib/./libffi.so.8
#6 0x00007fffeec160f8 in wl_closure_invoke (closure=0x555555737e00, flags=<optimized out>, target=<optimized out>, opcode=0, data=<optimized out>) at ../src/connection.c:1025
#7 0x00007fffeec12949 in dispatch_event (display=display@entry=0x5555556e2640, queue=0x5555556e2730) at ../src/wayland-client.c:1631
#8 0x00007fffeec14124 in dispatch_queue (queue=0x5555556e2730, display=0x5555556e2640) at ../src/wayland-client.c:1777
#9 wl_display_dispatch_queue_pending (display=0x5555556e2640, queue=0x5555556e2730) at ../src/wayland-client.c:2019
#10 0x00007fffeed1b99b in QtWaylandClient::QWaylandDisplay::flushRequests() () from /home/robert/fctmp/squashfs-root/usr/plugins/platforms/../../lib/libQt5WaylandClient.so.5
#11 0x00007fffeed215ab in QtWaylandClient::QWaylandWindow::setVisible(bool) () from /home/robert/fctmp/squashfs-root/usr/plugins/platforms/../../lib/libQt5WaylandClient.so.5
#12 0x00007ffff473eeb7 in QWindowPrivate::setVisible(bool) () from /home/robert/fctmp/squashfs-root/usr/bin/../lib/libQt5Gui.so.5
#13 0x00007ffff4fa3ba1 in QWidgetPrivate::show_sys() () from /home/robert/fctmp/squashfs-root/usr/bin/../lib/libQt5Widgets.so.5
#14 0x00007ffff4fac10b in QWidgetPrivate::show_helper() () from /home/robert/fctmp/squashfs-root/usr/bin/../lib/libQt5Widgets.so.5
#15 0x00007ffff4fae7c3 in QWidgetPrivate::setVisible(bool) () from /home/robert/fctmp/squashfs-root/usr/bin/../lib/libQt5Widgets.so.5
#16 0x00007ffff71cb68c in Gui::MainWindow::startSplasher() () from /home/robert/fctmp/squashfs-root/usr/bin/../lib/libFreeCADGui.so
#17 0x00007ffff6d55252 in Gui::StartupPostProcess::showMainWindow() () from /home/robert/fctmp/squashfs-root/usr/bin/../lib/libFreeCADGui.so
#18 0x00007ffff6d56fe4 in Gui::StartupPostProcess::execute() () from /home/robert/fctmp/squashfs-root/usr/bin/../lib/libFreeCADGui.so
#19 0x00007ffff6c8a036 in Gui::Application::runApplication() () from /home/robert/fctmp/squashfs-root/usr/bin/../lib/libFreeCADGui.so
#20 0x000055555555b620 in main ()
yep, well remembered. I'm also using kde neon, wayland session.
@adrianinsaval have you seen this before ?
I experienced this on the Wayland session now too. I'm tried adding Wayland support to the appimage but looks like just adding qt-wayland to the bundle isn't enough. I'll revert that and continue testing
Same here, is there an archive of older weekly builds?
is this still a problem?
For me, current weekly build FreeCAD_weekly-builds-37083-conda-Linux-x86_64-py311.appimage does start and seems to mostly work, but I suspect is uses xcb backend / Xwayland and it throws spurious
<class 'AttributeError'>: 'PySide2.QtWidgets.QWidget' object has no attribute 'unpolish'
errors, but that may be a problem in the Path / CAM module.
but I suspect is uses xcb backend / Xwayland
yes it is, I'll explore building a wayland appimage again later this month but for now we'll remain with x11
it throws spurious
<class 'AttributeError'>: 'PySide2.QtWidgets.QWidget' object has no attribute 'unpolish'
errors, but that may be a problem in the Path / CAM module.
yeah I don't think that has anything to do with wayland, you should try starting freecad with logging enabled to see where the problem is coming from and report that to the main repot
Found this error trying to run the weekly-build of 04/23/2024 release, appimage.
Let me know if any other information is necessary.