bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/16992] libQtGui linked with gold crashes all Qt programs on st


From: markus at trippelsdorf dot de
Subject: [Bug gold/16992] libQtGui linked with gold crashes all Qt programs on startup
Date: Tue, 08 Jul 2014 18:26:37 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16992

--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
(In reply to Cary Coutant from comment #4)
> Please provide the complete link line and a tar file with all input objects
> and libraries.

 % wget trippelsdorf.de/testcase.tar.bz2 (90MB)
 % tar -xjf testcase.tar.bz2
 % x86_64-pc-linux-gnu-g++ -Wl,--hash-style=gnu,--as-needed,--gc-sections
-Wl,--no-undefined -shared -Wl,-Bsymbolic-functions
-Wl,--dynamic-list,.obj/QtGui.dynlist -Wl,-soname,libQtGui.so.4 -o
libQtGui.so.4.8.5 .obj/release-shared/*.o -L/usr/lib64 -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  

> If you keep the --dynamic-list option, but remove -Bsymbolic-functions, does
> it still crash?

Yes.

> What's at widgets/qdockwidget.cpp:362? Specifically, do you know what the
> instruction that segfaulted was trying to do?

 354 QSize QDockWidgetLayout::minimumSize() const
 355 {
 356     QDockWidget *w = qobject_cast<QDockWidget*>(parentWidget());
 357
 358     QSize content(0, 0);
 359     if (item_list[Content] != 0)
 360         content = item_list[Content]->minimumSize();
 361
 362     return sizeFromContent(content, w->isFloating());
 363 }

(gdb) p content
$1 = {
  wd = 0, 
  ht = 0
}
(gdb) p w
$2 = (QDockWidget *) 0x0

-- 
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]