Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt program segmentation fault when running it in Xvfb
Forum Updated to NodeBB v4.3 + New Features

Qt program segmentation fault when running it in Xvfb

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 259 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    student
    wrote on last edited by
    #1

    Hi expert,

    I have a Qt program (under Unix) which works well in normal VNC.
    But meet segmentation fault when running it in Xvfb. I get the core dumped, but can't understand below message and don't know the potential issue.

    One more thing is: if I use gdb --batch to run it in Xvfb, it also works well.

    #0 _dl_lookup_symbol_x (undef_name=0x15552e98f692 "__vsnprintf_chk", undef_map=0x2faeda0, ref=ref@entry=0x15551800b068, symbol_scope=0x2faf0f8, version=0x2fb2e58, type_class=type_class@entry=1, flags=5,
    skip_map=skip_map@entry=0x0) at dl-lookup.c:716
    #1 0x0000155555340f1e in _dl_fixup (l=<optimized out>, reloc_arg=<optimized out>) at ../elf/dl-runtime.c:113
    #2 0x0000155555348bea in _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:131
    #3 0x000015552e9bcf2b in _dbus_printf_string_upper_bound () from /lib64/libdbus-1.so.3
    #4 0x000015552e9b8974 in _dbus_string_append_printf_valist () from /lib64/libdbus-1.so.3
    #5 0x000015552e99ff73 in _dbus_set_error_valist () from /lib64/libdbus-1.so.3
    #6 0x000015552e9a00ef in dbus_set_error () from /lib64/libdbus-1.so.3
    #7 0x000015552e9b9c4b in _dbus_file_get_contents () from /lib64/libdbus-1.so.3
    #8 0x000015552e9b6318 in _dbus_read_uuid_file () from /lib64/libdbus-1.so.3
    #9 0x000015552e9bd11a in _dbus_read_local_machine_uuid () from /lib64/libdbus-1.so.3
    #10 0x000015552e9b6561 in _dbus_get_local_machine_uuid_encoded () from /lib64/libdbus-1.so.3
    #11 0x000015552e9bda7f in _dbus_get_autolaunch_address () from /lib64/libdbus-1.so.3
    #12 0x000015552e9b2585 in _dbus_transport_open_autolaunch () from /lib64/libdbus-1.so.3
    #13 0x000015552e9b241f in _dbus_transport_open () from /lib64/libdbus-1.so.3
    #14 0x000015552e99d0df in _dbus_connection_open_internal () from /lib64/libdbus-1.so.3
    #15 0x000015552e9989be in internal_bus_get () from /lib64/libdbus-1.so.3
    #16 0x000015552f265652 in ?? () from /home/utils/qt-5.10.1/plugins/platforms/../../lib/libQt5DBus.so.5
    #17 0x000015554accbab1 in QObject::event(QEvent*) () from /home/utils/qt-5.10.1/lib/libQt5Core.so.5
    #18 0x000015554aca0233 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/utils/qt-5.10.1/lib/libQt5Core.so.5
    #19 0x000015554aca2cfb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/utils/qt-5.10.1/lib/libQt5Core.so.5
    #20 0x000015554acf4403 in ?? () from /home/utils/qt-5.10.1/lib/libQt5Core.so.5
    #21 0x00001555427a6049 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
    #22 0x00001555427a63a8 in g_main_context_iterate.isra.19 () from /lib64/libglib-2.0.so.0
    #23 0x00001555427a645c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
    #24 0x000015554acf39ef in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /home/utils/qt-5.10.1/lib/libQt5Core.so.5
    #25 0x000015554ac9eaaa in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /home/utils/qt-5.10.1/lib/libQt5Core.so.5
    #26 0x000015554aabbe5c in QThread::exec() () from /home/utils/qt-5.10.1/lib/libQt5Core.so.5
    #27 0x000015552f263b35 in ?? () from /home/utils/qt-5.10.1/plugins/platforms/../../lib/libQt5DBus.so.5
    #28 0x000015554aac0d9c in ?? () from /home/utils/qt-5.10.1/lib/libQt5Core.so.5
    #29 0x000015554e2d2e25 in start_thread (arg=0x15551a017700) at pthread_create.c:308
    #30 0x000015554a420bad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

    Thanks

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved