Code Monkey home page Code Monkey logo

Comments (8)

rmu75 avatar rmu75 commented on July 18, 2024 1

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 ()

from freecad-bundle.

adrianinsaval avatar adrianinsaval commented on July 18, 2024 1

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

from freecad-bundle.

erickwill avatar erickwill commented on July 18, 2024

yep, well remembered. I'm also using kde neon, wayland session.

from freecad-bundle.

luzpaz avatar luzpaz commented on July 18, 2024

@adrianinsaval have you seen this before ?

from freecad-bundle.

artelse avatar artelse commented on July 18, 2024

Same here, is there an archive of older weekly builds?

from freecad-bundle.

adrianinsaval avatar adrianinsaval commented on July 18, 2024

is this still a problem?

from freecad-bundle.

rmu75 avatar rmu75 commented on July 18, 2024

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.

from freecad-bundle.

adrianinsaval avatar adrianinsaval commented on July 18, 2024

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

from freecad-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.