yarock-1.1.4 qt5 version segfaults on Fedora 23

Bug #1523068 reported by martinkg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yarock
Fix Committed
High
SebastienAmar

Bug Description

yarock-1.1.4 compiles fine with qt5 on Fedora 23, but i get a segmentation fault:

[martin@fc23 SPECS]$ gdb yarock
GNU gdb (GDB) Fedora 7.10-29.fc23
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from yarock...Reading symbols from /usr/lib/debug/usr/bin/yarock.debug...done.
done.
(gdb) r
Starting program: /usr/bin/yarock
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
QList<QPrinter::PageSize>::QList (this=0x7ffff1550578 <QPrinterInfoPrivate::shared_null+24>) at ../../src/corelib/tools/qlist.h:121
121 inline QList() : d(&QListData::shared_null) { d->ref.ref(); }
(gdb) bt
#0 0x00007ffff0a0a204 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (this=0x7ffff1550578 <QPrinterInfoPrivate::shared_null+24>) at ../../src/corelib/tools/qlist.h:121
Python Exception <class 'RuntimeError'> maximum recursion depth exceeded while getting the str of an object:
#1 0x00007ffff0a0a204 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (name=..., this=0x7ffff1550560 <QPrinterInfoPrivate::shared_null>) at painting/qprinterinfo_p.h:71
#2 0x00007ffff0a0a204 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (__initialize_p=1, __priority=65535) at painting/qprinterinfo.cpp:35
#3 0x00007ffff0a0a204 in _GLOBAL__sub_I_qprinterinfo.cpp(void) () at painting/qprinterinfo.cpp:163
#4 0x00007ffff7deb79a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffe018, env=env@entry=0x7fffffffe028) at dl-init.c:72
#5 0x00007ffff7deb8ab in _dl_init (env=0x7fffffffe028, argv=0x7fffffffe018, argc=1, l=<optimized out>) at dl-init.c:30
#6 0x00007ffff7deb8ab in _dl_init (main_map=0x7ffff7ffe148, argc=1, argv=0x7fffffffe018, env=0x7fffffffe028) at dl-init.c:120
#7 0x00007ffff7ddccba in _dl_start_user () at /lib64/ld-linux-x86-64.so.2
#8 0x0000000000000001 in ()
#9 0x00007fffffffe327 in ()
#10 0x0000000000000000 in ()

Revision history for this message
Rex Dieter (rdieter) wrote :

You're not xing qt4 and qt5 in the same process. One possibility is that you're still linking the qt4 of those qtsingleapplication and/or qxt system libs

Revision history for this message
Rex Dieter (rdieter) wrote :

Yay phone . s/not xing/mixing/

Revision history for this message
martinkg (martin-gansser-c) wrote :

I 've build it with the following rpm spec file, but w/o success.
https://martinkg.fedorapeople.org/Packages/yarock-1.1.4-qt5.spec

any idea ?

Revision history for this message
Rex Dieter (rdieter) wrote :

Yes, at least drop -DUSE_SYSTEM_QXT:BOOL=ON (the version you're using here is still qt4)

Revision history for this message
martinkg (martin-gansser-c) wrote :

no success with the mentioned rpm spec file. :-(

rpm -Uvh /home/martin/rpmbuild/RPMS/x86_64/yarock-1.1.4-1.fc23.x86_64.rpm
error: Failed dependencies:
 libqxt.so()(64bit) is needed by yarock-1.1.4-1.fc23.x86_64

Changed in yarock:
status: New → Fix Committed
milestone: none → 1.1.5
assignee: nobody → SebastienAmar (sebastien-amardeilh)
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.