Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5.6 application segv at gnome libs

Qt5.6 application segv at gnome libs

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 145 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.
  • M Offline
    M Offline
    Muscleprime
    wrote on last edited by
    #1

    My program links Qt 5.6.0 statically to be deployed on cross-platfroms.

    Initially, the program was compiled on rhel6.8 (and it works fine). I want to run it on another rhel6.5 server. If I ssh to rhel6.5 system from rhel6.8, the program works fine. If I run the program directly from rhel6.5, it segvs at libgnome.so with stack trace:
    [bt]: (1) /lib64/libpthread.so.0[0x3bdf20f7e0]
    [bt]: (2) /lib64/libc.so.6[0x3bde729540]
    [bt]: (3) /usr/lib64/libxml2.so.2 (__xmlParserInputBufferCreateFilename) +0x135 [0x3be865e465]
    [bt]: (4) /usr/lib64/libxml2.so.2 (xmlNewTextReaderFilename) +0x25 [0x3be86e2585]
    [bt]: (5) /usr/lib64/libgnomevfs-2.so.0[0x3064629755]
    [bt]: (6) /usr/lib64/libgnomevfs-2.so.0 (gnome_vfs_mime_get_value) +0xcd [0x3064629d0d]
    [bt]: (7) /usr/lib64/libgnomeui-2.so.0 (gnome_icon_lookup) +0x2c3 [0x3d61e61c53]
    [bt]: (8) /usr/lib64/libgnomeui-2.so.0 (gnome_icon_lookup_sync) +0x7d [0x3d61e621ed]

    Finally, I get rid of this problem by re-installing Qt library with no-gtkstyle. My program works fine on both systems. The problem is that the GUI form looks downgraded. I still want to use gtkstyle GUI and it works on both platforms.

    Have any idea on why segv happens? suggestions are appreciated. 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