Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27727 - [qbittorrent] Segmentation fault 2.9.2-7

Attached to Project: Community Packages
Opened by Janusz Pruszewicz (jasiu) - Monday, 26 December 2011, 23:15 GMT
Last edited by Thomas Dziedzic (tomd123) - Thursday, 12 January 2012, 21:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Segmentation fault while executing ./qbittorrent

Additional info:
* package version(s) qbittorrent-2.9.2-7
* config and/or log files etc.

Steps to reproduce:
try run qbittorrent several times
in /var/log/messages you got:
Dec 27 00:12:09 gw kernel: [21989.487564] qbittorrent[19831]: segfault at 6f0063 ip 006f0063 sp bfe8824c error 4 in qbittorrent[8048000+4cf000]
Dec 27 00:12:27 gw kernel: [22007.810461] qbittorrent[19837]: segfault at 6f0063 ip 006f0063 sp bffb561c error 4 in qbittorrent[8048000+4cf000]
Dec 27 00:12:29 gw kernel: [22009.191356] qbittorrent[19840]: segfault at 710000 ip 00710000 sp bfc27c2c error 4 in qbittorrent[8048000+4cf000]
Dec 27 00:12:29 gw kernel: [22009.910387] qbittorrent[19843]: segfault at 6f0063 ip 006f0063 sp bfaf5ccc error 4 in qbittorrent[8048000+4cf000]
Dec 27 00:12:30 gw kernel: [22010.611686] qbittorrent[19846]: segfault at 400000 ip 00400000 sp bfb724dc error 4 in qbittorrent[8048000+4cf000]
Dec 27 00:12:32 gw kernel: [22012.406038] qbittorrent[19849]: segfault at 710000 ip 00710000 sp bfac458c error 4 in qbittorrent[8048000+4cf000]
Dec 27 00:12:33 gw kernel: [22013.426745] qbittorrent[19852]: segfault at 6f0063 ip 006f0063 sp bfb6708c error 4 in qbittorrent[8048000+4cf000]
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Thursday, 12 January 2012, 21:01 GMT
Reason for closing:  Works for me
Additional comments about closing:  if you report this upstream and they decide it is an issue, please reopen
Comment by Thomas Dziedzic (tomd123) - Monday, 26 December 2011, 23:30 GMT
I can start it fine on x86_64.

also, this message is kind of useless for me.

Can you get a gdb backtrace?

finally, this is most likely an upstream bug, but I am willing to wait for more info from you for now.

Thanks.
Comment by Janusz Pruszewicz (jasiu) - Monday, 26 December 2011, 23:54 GMT
# ulimit -c unlimited
# gdb /usr/bin/qbittorrent core

[root@gw ~]# gdb /usr/bin/qbittorrent core
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qbittorrent...(no debugging symbols found)...done.
[New LWP 22212]
[New LWP 22227]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `qbittorrent'.
Program terminated with signal 11, Segmentation fault.
#0 0x006f0063 in ?? ()
(gdb) bt
#0 0x006f0063 in ?? ()
#1 0xb698fbc4 in ?? () from /usr/lib/libQtGui.so.4
#2 0xb691253c in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) () from /usr/lib/libQtGui.so.4
#3 0xb6912e8e in QApplication::QApplication(int&, char**, int) ()
from /usr/lib/libQtGui.so.4
#4 0x080bae78 in QtSingleApplication::QtSingleApplication(QString const&, int&, char**) ()
#5 0x0820a1a8 in SessionApplication::SessionApplication(QString const&, int&, char**) ()
#6 0x080aed82 in main ()


older qbittorrent - build from AUR qbittorrent-fake 2.8.4-2 - works well
Comment by Thomas Dziedzic (tomd123) - Tuesday, 27 December 2011, 08:22 GMT
This still isn't all that helpful, could you possibly recompile qt and qbittorrent with debug symbols, and then get a backtrace?
If you need help, please take a look at: https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces
Comment by Thomas Dziedzic (tomd123) - Monday, 02 January 2012, 06:51 GMT
do you have a backtrace available?
Comment by Janusz Pruszewicz (jasiu) - Monday, 02 January 2012, 10:45 GMT
Hello after recompile qt and newest version of qbittorrent there is a backtrace:

# pacman -Ss qbittorrent
community/qbittorrent 2.9.3-1 [installed]
A bittorrent client written in C++ / Qt4 using the good libtorrent library

[jasiu@gw ~]$ qbittorrent
Python version is: "3.2.2"
Segmentation fault (core dumped)
[jasiu@gw ~]$ gdb /uscr/bin/qbittorrent --core core
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qbittorrent...done.
[New LWP 23214]
[New LWP 23215]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `qbittorrent'.
Program terminated with signal 11, Segmentation fault.
#0 0x085e7c8f in QString::shared_null ()
(gdb) bt
#0 0x085e7c8f in QString::shared_null ()
#1 0xb696dbc4 in ?? () from /usr/lib/libQtGui.so.4
#2 0xb68f053c in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) () from /usr/lib/libQtGui.so.4
#3 0xb68f0e8e in QApplication::QApplication(int&, char**, int) ()
from /usr/lib/libQtGui.so.4
#4 0x0812061a in QtSingleApplication::QtSingleApplication (this=0xbfed0ff8,
appId=..., argc=@0xbfed1150, argv=0xbfed11e4)
at qtsingleapp/qtsingleapplication.cpp:174
#5 0x082793aa in SessionApplication::SessionApplication (this=0xbfed0ff8,
id=..., argc=@0xbfed1150, argv=0xbfed11e4) at sessionapplication.cpp:37
#6 0x0822a5d3 in main (argc=1, argv=0xbfed11e4) at main.cpp:163
(gdb)
Comment by Thomas Dziedzic (tomd123) - Monday, 02 January 2012, 15:20 GMT
it still has missing symbols for qt, could you please recompile qt with debug symbols? also, are you using the latest version of qt?
Comment by Thomas Dziedzic (tomd123) - Monday, 02 January 2012, 15:23 GMT
after getting the next backtrace, I still don't think I can help you since this is unlikely a packaging bug (I'm unable to reproduce it).

Please report this to https://bugs.launchpad.net/qbittorrent after you get the full backtrace and don't forget to include the qt and qbittorrent versions you are using.
Comment by Thomas Dziedzic (tomd123) - Saturday, 07 January 2012, 17:08 GMT
have you reported this upstream yet? if you have, please provide a link here

Loading...