qBittorrent crashes with memory segmentation fault

Bug #706074 reported by Martin Isak Jansen
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qBittorrent
Confirmed
Undecided
Christophe Dumez

Bug Description

Im running qbittorrent on ubuntu 10.10.
qbittorrent v. 2.6.3 installed from the qbittorrent repository.
libtorrent-rasterbar6 is 0.15.5~svn.r5142-0ubuntu1~maverick package.

The program runs fine and crashes at (what seems) random times. It happens several times. It (sometimes) leaves this in the terminal:

nortis@blomst:~$ qbittorrent
Peer ID: -qB2630-
HTTP user agent is qBittorrent v2.6.3
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon

*************************************************************
Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v2.6.3
stack trace:
  [0x53c400]
  /lib/libc.so.6 : ()+0x116ea2 [0x499aea2]
  /usr/lib/libQtCore.so.4 : QListData::remove(int)+0x86 [0x76a34c6]
  /usr/lib/libQtCore.so.4 : QListData::erase(void**)+0x3a [0x76a353a]
  /usr/lib/libQtNetwork.so.4 : ()+0x955e6 [0x5d25e6]
  /usr/lib/libQtCore.so.4 : ()+0x56523 [0x7677523]
  /usr/lib/libQtCore.so.4 : ()+0x61df9 [0x7682df9]
  /lib/libpthread.so.0 : ()+0x5cc9 [0xc55cc9]
  /lib/libc.so.6 : clone()+0x5e [0x495469e]
Minnesegmentsfeil
nortis@blomst:~$

PS: The word "Minnesegmentsfeil" is Norwegian and translates to "memory segmentation fault/error".

Please let me know if I can provide any other information that can be useful.

description: updated
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

The error does not make any sense because it suggest it crashes in Qt. I'm assuming you are using the standard Qt packages from the Ubuntu Maverick repository? (no backports from somewhere).

Could you please get a debug backtrace? You can get one as follows:

# Install the debug symbols and gdb debugger
$ sudo apt-get install qbittorrent-dbg libtorrent-rasterbar-dbg gdb

# Run qBittorrent inside gdb
$ gdb qbittorrent
> run
... Make it crash...
> thread apply all bt 30
.. This will print the debug backtrace I need ..

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Incomplete
summary: - 2.6.3 crashes with memmory segmentation error
+ 2.6.3 crashes with memory segmentation fault
Revision history for this message
Martin Isak Jansen (nortis) wrote : Re: 2.6.3 crashes with memory segmentation fault

I don't know if this is useful but here are the back trace from a crash.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6ad2b70 (LWP 4900)]
0x003a4c03 in boost::asio::detail::timer_queue<boost::asio::time_traits<libtorrent::ptime> >::dispatch_timers (this=0x87d8e14)
    at /usr/include/boost/asio/detail/timer_queue.hpp:118
118 /usr/include/boost/asio/detail/timer_queue.hpp: Ingen slik fil eller filkatalog. (Translation: No such file or folder.)
 in /usr/include/boost/asio/detail/timer_queue.hpp
(gdb) thread apply all bt 30

Thread 295 (Thread 0xb07ffb70 (LWP 32400)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2 0x012fa94f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x012ee5b3 in ?? () from /usr/lib/libQtCore.so.4
#4 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#5 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0172d69e in clone () from /lib/libc.so.6

Thread 294 (Thread 0xac688b70 (LWP 32399)):
#0 0x01773e8e in ?? () from /lib/libc.so.6
#1 0x0131a4c6 in QListData::remove(int) () from /usr/lib/libQtCore.so.4
#2 0x0131a53a in QListData::erase(void**) () from /usr/lib/libQtCore.so.4
#3 0x012055e6 in ?? () from /usr/lib/libQtNetwork.so.4
#4 0x012ee523 in ?? () from /usr/lib/libQtCore.so.4
#5 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#6 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#7 0x0172d69e in clone () from /lib/libc.so.6

Ill post a few others if they reappear.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

It seems like you posted only part of the backtrace (only 2 threads but there should be more).

Revision history for this message
Martin Isak Jansen (nortis) wrote :

What happend was that the program got unresponsive so I looked in the terminal with gdm and it sad SIGSEGV, Segmentation fault and gave me a gdm prompt. After that I wrote thread apply all bt 30 and what you see is what I got. Then it asked me if I wanted to end the process. I thought yes, since the program was unresponsive. Ill give it another try next time it crashes.

Revision history for this message
Martin Isak Jansen (nortis) wrote :
Download full text (3.1 KiB)

Lucky me. Came home from work and qbittorrent had frosen up again. This at least looks like more info...

Program received signal SIGSEGV, Segmentation fault.
0x014003df in ?? () from /usr/lib/libQtCore.so.4
(gdb)
(gdb) thread apply all bt 30

Thread 64 (Thread 0xb4180b70 (LWP 15951)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x012fa94f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x012ee5b3 in ?? () from /usr/lib/libQtCore.so.4
#4 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#5 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0172d69e in clone () from /lib/libc.so.6

Thread 63 (Thread 0xb4981b70 (LWP 15950)):
#0 0x01773e8e in ?? () from /lib/libc.so.6
#1 0x0131a4c6 in QListData::remove(int) () from /usr/lib/libQtCore.so.4
#2 0x0131a53a in QListData::erase(void**) () from /usr/lib/libQtCore.so.4
#3 0x012055e6 in ?? () from /usr/lib/libQtNetwork.so.4
#4 0x012ee523 in ?? () from /usr/lib/libQtCore.so.4
#5 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#6 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#7 0x0172d69e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb179ab70 (LWP 6286)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x0171edf6 in poll () from /lib/libc.so.6
#2 0x018f4a1b in g_poll () from /lib/libglib-2.0.so.0
#3 0x018e743c in ?? () from /lib/libglib-2.0.so.0
#4 0x018e7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0x0142a59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0x013fa609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/libQtCore.so.4
#7 0x013faa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#8 0x012f6b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#9 0x013d935b in ?? () from /usr/lib/libQtCore.so.4
#10 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#11 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#12 0x0172d69e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb2f62b70 (LWP 6285)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005d94dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x003f5697 in boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run(boost::system::error_code&) ()
   from /usr/lib/libtorrent-rasterbar.so.6
#3 0x0052a52e in boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service<boost::asio::ip::udp>::work_io_service_runner>::run() ()
   from /usr/lib/libtorrent-rasterbar.so.6
#4 0x003d57e2 in boost::asio::detail::boost_asio_detail_posix_thread_function (
    arg=0x86d9730) at /usr/include/boost/asio/detail/posix_thread.hpp:119
#5 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0172d69e in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) q
A debugging session is active.

 Inferior 1 [process 6272] will be killed.

Quit anyway? (y or n) y
norti...

Read more...

Revision history for this message
Martin Isak Jansen (nortis) wrote :

Same thing happend again. Is this helpfull at all?

Program received signal SIGSEGV, Segmentation fault.
0x0134559a in QString::operator=(QString const&) () from /usr/lib/libQtCore.so.4
(gdb) thread apply all bt 30

Thread 78 (Thread 0xb40fbb70 (LWP 10425)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x012fa94f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x012ee5b3 in ?? () from /usr/lib/libQtCore.so.4
#4 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#5 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0172d69e in clone () from /lib/libc.so.6

Thread 77 (Thread 0xb48fcb70 (LWP 10424)):
#0 0x01773e8e in ?? () from /lib/libc.so.6
#1 0x0131a4c6 in QListData::remove(int) () from /usr/lib/libQtCore.so.4
#2 0x0131a53a in QListData::erase(void**) () from /usr/lib/libQtCore.so.4
#3 0x012055e6 in ?? () from /usr/lib/libQtNetwork.so.4
#4 0x012ee523 in ?? () from /usr/lib/libQtCore.so.4
#5 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#6 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#7 0x0172d69e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb15b9b70 (LWP 26641)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x0171edf6 in poll () from /lib/libc.so.6
#2 0x018f4a1b in g_poll () from /lib/libglib-2.0.so.0
#3 0x018e743c in ?? () from /lib/libglib-2.0.so.0
#4 0x018e7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0x0142a565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0x013fa609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/libQtCore.so.4
#7 0x013faa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#8 0x012f6b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#9 0x013d935b in ?? () from /usr/lib/libQtCore.so.4
#10 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#11 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#12 0x0172d69e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb2ef8b70 (LWP 26638)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005d94dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x003f5697 in boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run(boost::system::error_code&) ()
   from /usr/lib/libtorrent-rasterbar.so.6
#3 0x0052a52e in boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service<boost::asio::ip::udp>::work_io_service_runner>::run() ()
   from /usr/lib/libtorrent-rasterbar.so.6
#4 0x003d57e2 in boost::asio::detail::boost_asio_detail_posix_thread_function (
    arg=0xb61043a8) at /usr/include/boost/asio/detail/posix_thread.hpp:119
#5 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0172d69e in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---q
Quit

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Well, no because you provide incomplete backtraces. The backtrace is printed page per page and at the end it says:
"Type <return> to continue, or q <return> to quit"

You should press "return" as long as the backtrace is not done printing.

Revision history for this message
Martin Isak Jansen (nortis) wrote :
Download full text (9.1 KiB)

Im afraid I have no idea what hese things mean. I tried pressing return a few times now and it spewed out a bit more information. Does this look complete? It returned to the (gdm) prompt when finished printing so I guess its finished.

Program received signal SIGSEGV, Segmentation fault.
0x013fed9a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
(gdb)
(gdb) thread apply all bt 30

Thread 22 (Thread 0xb08ffb70 (LWP 1499)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x012fa94f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x012ee5b3 in ?? () from /usr/lib/libQtCore.so.4
#4 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#5 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0172d69e in clone () from /lib/libc.so.6

Thread 21 (Thread 0xb48feb70 (LWP 1498)):
#0 0x01773e8e in ?? () from /lib/libc.so.6
#1 0x0131a4c6 in QListData::remove(int) () from /usr/lib/libQtCore.so.4
#2 0x0131a53a in QListData::erase(void**) () from /usr/lib/libQtCore.so.4
#3 0x012055e6 in ?? () from /usr/lib/libQtNetwork.so.4
#4 0x012ee523 in ?? () from /usr/lib/libQtCore.so.4
#5 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#6 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#7 0x0172d69e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb40fdb70 (LWP 31748)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x0171edf6 in poll () from /lib/libc.so.6
#2 0x018f4a1b in g_poll () from /lib/libglib-2.0.so.0
#3 0x018e743c in ?? () from /lib/libglib-2.0.so.0
#4 0x018e7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0x0142a565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0x013fa609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/libQtCore.so.4
#7 0x013faa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#8 0x012f6b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#9 0x013d935b in ?? () from /usr/lib/libQtCore.so.4
#10 0x012f9df9 in ?? () from /usr/lib/libQtCore.so.4
#11 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#12 0x0172d69e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb2f1bb70 (LWP 31675)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005d94dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x003f5697 in boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run(boost::system::error_code&) ()
   from /usr/lib/libtorrent-rasterbar.so.6
#3 0x0052a52e in boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service<boost::asio::ip::udp>::work_io_service_runner>::run() ()
   from /usr/lib/libtorrent-rasterbar.so.6
#4 0x003d57e2 in boost::asio::detail::boost_asio_detail_posix_thread_function (
    arg=0x89802f0) at /usr/include/boost/asio/detail/posix_thread.hpp:119
#5 0x005d4cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0172d69e in clone () from ...

Read more...

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Yes, this one is complete, thanks. I'll look into it when I get home.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

It seems the crash is related to QtNetwork. The good news is that I don't use it a lot so it may help narrowing it down.

Basically, I'm using QtNetwork for:
- RSS (Do you have RSS enabled?)
- HTTP downloads (e.g. download torrents from their URL): Are you doing this before it crashes?

From the top of my head, that's all I remember but I may be able to find other places tonight. I think RSS is a good suspect and if you have it enabled, you could try to disable it.

Revision history for this message
Martin Isak Jansen (nortis) wrote :

Yes, I have several RSS feeds enabled. I have a sneaking feeling that it has something to do with the situation when new matches appear in the feeds. Ill try to disable the RSS feeds for a while to see what happens.

When it comes to HTTP downloads, I'm not sure what you mean. I use opera as my browser and it is configured to open torrent and magnet files with qbittorrent. I don't think thats makes any problems as it seems to work fine.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok, then it is likely to be related to RSS. I'm looking into it right now.

Revision history for this message
Martin Isak Jansen (nortis) wrote :

After having RSS disabled for a while now it seems quite stable. No signs of crashing or anything bad. That might confirm your suspicions.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok, good. I'm planning a RSS code rewrite really soon to it is likely to get fixed.

Just to make sure that it is not already fixed, you could try to update to qBittorrent v2.6.4+svn (uploaded to my PPA yesterday). I reviewed the HTTP downloader and the RSS code and improved a few things. If we are lucky, it might have fixed the problem already.

Revision history for this message
Martin Isak Jansen (nortis) wrote :
Download full text (10.5 KiB)

The update looked really stable and nice a long time, but this morning it had crashed again. Here are the backtrace. When RSS was disabled, it did not crash at all.

Program received signal SIGSEGV, Segmentation fault.
0x01376b3e in QIODevice::errorString() const () from /usr/lib/libQtCore.so.4
(gdb) thread apply all bt 30

Thread 180 (Thread 0xb37ffb70 (LWP 10624)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005c5884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x012e694f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x012da5b3 in ?? () from /usr/lib/libQtCore.so.4
#4 0x012e5df9 in ?? () from /usr/lib/libQtCore.so.4
#5 0x005c0cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0171969e in clone () from /lib/libc.so.6

Thread 179 (Thread 0xb4000b70 (LWP 10623)):
#0 0x0175fe8e in ?? () from /lib/libc.so.6
#1 0x013064c6 in QListData::remove(int) () from /usr/lib/libQtCore.so.4
#2 0x0130653a in QListData::erase(void**) () from /usr/lib/libQtCore.so.4
#3 0x011f15e6 in ?? () from /usr/lib/libQtNetwork.so.4
#4 0x012da523 in ?? () from /usr/lib/libQtCore.so.4
#5 0x012e5df9 in ?? () from /usr/lib/libQtCore.so.4
#6 0x005c0cc9 in start_thread () from /lib/libpthread.so.0
#7 0x0171969e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb178cb70 (LWP 25551)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x0170adf6 in poll () from /lib/libc.so.6
#2 0x018f4a1b in g_poll () from /lib/libglib-2.0.so.0
#3 0x018e743c in ?? () from /lib/libglib-2.0.so.0
#4 0x018e7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0x01416565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0x013e6609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/libQtCore.so.4
#7 0x013e6a8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#8 0x012e2b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#9 0x013c535b in ?? () from /usr/lib/libQtCore.so.4
#10 0x012e5df9 in ?? () from /usr/lib/libQtCore.so.4
#11 0x005c0cc9 in start_thread () from /lib/libpthread.so.0
#12 0x0171969e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb2eeeb70 (LWP 25549)):
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x005c54dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x003e1837 in boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run(boost::system::error_code&) ()
   from /usr/lib/libtorrent-rasterbar.so.6
#3 0x00516bbe in boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service<boost::asio::ip::udp>::work_io_service_runner>::run() ()
   from /usr/lib/libtorrent-rasterbar.so.6
#4 0x003c1982 in boost::asio::detail::boost_asio_detail_posix_thread_function (
    arg=0xb612bef0) at /usr/include/boost/asio/detail/posix_thread.hpp:119
#5 0x005c0cc9 in start_thread () from /lib/libpthread.so.0
#6 0x0171969e in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 8 (Thread 0xb4861b70 (LWP 25529)...

Revision history for this message
Martin Isak Jansen (nortis) wrote :

After upgrading to the 2.6.4+svn.r5181-1~maverick package things seems quite stable and nice. Even with RSS enabled! Its bin running for a few days without problems :)

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Yes, I rewrote most of the RSS code. I'm happy to hear it did the trick (that's the reason why I uploaded a SVN snapshot to my PPA before making the new release).

Changed in qbittorrent:
milestone: none → 2.6.5
status: Incomplete → Fix Committed
Changed in qbittorrent:
status: Fix Committed → Fix Released
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Reopening because of a new report with the same backtrace

Changed in qbittorrent:
milestone: 2.6.5 → none
status: Fix Released → Confirmed
summary: - 2.6.3 crashes with memory segmentation fault
+ qBittorrent crashes with memory segmentation fault
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

could anyone install "valgrind" and give me the whole output of:
$ valgrind qbittorrent

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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