[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/16992] New: libQtGui linked with gold crashes all Qt programs

From: markus at trippelsdorf dot de
Subject: [Bug gold/16992] New: libQtGui linked with gold crashes all Qt programs on startup
Date: Wed, 28 May 2014 09:48:39 +0000


            Bug ID: 16992
           Summary: libQtGui linked with gold crashes all Qt programs on
           Product: binutils
           Version: 2.25 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ian at airs dot com
          Reporter: markus at trippelsdorf dot de
                CC: ccoutant at google dot com

When I build libQtGui with gold, all Qt application crash during
startup on my system, e.g.:

 % gdb smplayer
This is SMPlayer v. 0.8.6 running on Linux

Program received signal SIGSEGV, Segmentation fault.
QDockWidgetLayout::minimumSize (this=0xb5da50) at widgets/qdockwidget.cpp:362

(gdb) bt
#0  QDockWidgetLayout::minimumSize (this=0xb5da50) at
#1  0x00007ffff6e5118d in QLayout::totalMinimumSize (address@hidden)
at kernel/qlayout.cpp:821
#2  0x00007ffff6e52a48 in QLayout::activate (this=0xb5da50) at
#3  0x00007ffff6e79954 in QWidget::setVisible (this=0xa8e930,
visible=<optimized out>) at kernel/qwidget.cpp:7745
#4  0x00007ffff71ffa86 in show (this=0xa8e930) at
#5  QDockWidgetPrivate::setWindowState (address@hidden,
address@hidden, address@hidden, rect=...) at
#6  0x00007ffff71ffdc9 in QDockWidget::setFloating (this=0xa8e930,
floating=<optimized out>) at widgets/qdockwidget.cpp:1285
#7  0x00000000004c9d0a in BaseGuiPlus::BaseGuiPlus(QWidget*,
QFlags<Qt::WindowType>) ()
#8  0x00000000004fdb6a in DefaultGui::DefaultGui(QWidget*,
QFlags<Qt::WindowType>) ()
#9  0x0000000000501192 in SMPlayer::createGUI(QString) ()
#10 0x00000000005016ab in SMPlayer::gui() ()
#11 0x0000000000429cae in main ()

Then link command in question is:

x86_64-pc-linux-gnu-g++ -Wl,--hash-style=gnu,--as-needed,--gc-sections
-Wl,--no-undefined -shared -Wl,-Bsymbolic-functions
-Wl,-soname,libQtGui.so.4 -o libQtGui.so.4.8.5
.obj/release-shared/qdrawhelper_mmx.o ...(tons of other object files)...
-L/usr/X11R6/lib -L/usr/lib64/qt4 -lQtCore -L/usr/lib64 -lgthread-2.0
-lglib-2.0 -lpthread -lgthread-2.0 -pthread -lglib-2.0 -lpng -lz -lfreetype
-lSM -lICE -lXi -lXrender -lXrandr -lXfixes -lXcursor -L/usr/lib -lfontconfig
-lfreetype -lXext -lX11 -lm

When I use ld.bfd instead with the same link command above, everything works
fine without any crashes.

 # ld -v
GNU gold (GNU Binutils 1.11

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]