qBittorrent shuts down when search tab is closed.

Bug #500083 reported by Steve Belzer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Medium
Christophe Dumez

Bug Description

I'm using v2.0.2. The program has unexpectedly quit on me a few times in recent days. But just tonight, two times within a few minutes, I noticed that it quit when I had multiple search tabs open and hit the "X" to try and close one. Also, just now, when trying to test to see if it happens every time, the program closed when I entered a word into the search field and hit enter.
Other info- I'm running qBittorrent on an older machine (AMD Athlon XP 2400+ 2.0Ghz CPU) with Ubuntu 9.10
Kind of a frustrating bug, but the program opens again just fine after it crashes, so it's not much more than annoying and inconvenient.

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

I tried to reproduce but I was not successful (although using Ubuntu v9.10 also). Could you please run qBittorrent in a term and try to make qBittorrent crash again? When crashing, qBittorrent should print out a back trace on std out that is likely to help me understand the issue.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Incomplete
Revision history for this message
Steve Belzer (steve-belzer) wrote :

OK, got it to crash again. Same circumstances as mentioned in my OP.

name@machine:~$ qbittorrent

*************************************************************
Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
stack trace:
  [0x95a400]
  qbittorrent : SearchEngine::appendSearchResult(QString)+0xc4 [0x811f814]
  qbittorrent : SearchEngine::readSearchOutput()+0x2a5 [0x81223a5]
  qbittorrent : SearchEngine::qt_metacall(QMetaObject::Call, int, void**)+0x188 [0x81bcfe8]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, int, int, void**)+0x233 [0x1f75263]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x52 [0x1f75ec2]
  /usr/lib/libQtCore.so.4 : QProcess::readyReadStandardOutput()+0x37 [0x1efce97]
  /usr/lib/libQtCore.so.4 [0x1effa0a]
  /usr/lib/libQtCore.so.4 : QProcess::qt_metacall(QMetaObject::Call, int, void**)+0x186 [0x1f02c56]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, int, int, void**)+0x233 [0x1f75263]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x52 [0x1f75ec2]
  /usr/lib/libQtCore.so.4 : QSocketNotifier::activated(int)+0x43 [0x1faf503]
  /usr/lib/libQtCore.so.4 : QSocketNotifier::event(QEvent*)+0x147 [0x1f79c87]
  /usr/lib/libQtGui.so.4 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0xb4 [0x35dbf54]
  /usr/lib/libQtGui.so.4 : QApplication::notify(QObject*, QEvent*)+0x18c [0x35e367c]
  /usr/lib/libQtCore.so.4 : QCoreApplication::notifyInternal(QObject*, QEvent*)+0x7b [0x1f5f6cb]
  /usr/lib/libQtCore.so.4 [0x1f8a2ca]
  /lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x1f8 [0x803e88]
  /lib/libglib-2.0.so.0 [0x807730]
  /lib/libglib-2.0.so.0 : g_main_context_iteration()+0x73 [0x807863]
  /usr/lib/libQtCore.so.4 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x5c [0x1f8a02c]
  /usr/lib/libQtGui.so.4 [0x367cbe5]
  /usr/lib/libQtCore.so.4 : QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x49 [0x1f5dc79]
  /usr/lib/libQtCore.so.4 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0xfa [0x1f5e0ca]
  /usr/lib/libQtCore.so.4 : QCoreApplication::exec()+0xaf [0x1f6053f]
  /usr/lib/libQtGui.so.4 : QApplication::exec()+0x27 [0x35dbdd7]
  qbittorrent : main()+0x1060 [0x80b33b0]
  /lib/tls/i686/cmov/libc.so.6 : __libc_start_main()+0xe6 [0x1844b56]
  qbittorrent [0x80907e1]

name@machine:~$

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

Oh, I found the issue. Actually the crash could occur sometimes when closing a tab that is not currently the active one.
The fix is in SVN but in the meantime, simply make sure you only close the currently displayed tab.

Thanks a lot for reporting this.

Changed in qbittorrent:
importance: Undecided → Medium
milestone: none → 2.0.4
status: Incomplete → Fix Committed
Revision history for this message
Steve Belzer (steve-belzer) wrote :

Cool, thanks!

Changed in qbittorrent:
status: Fix Committed → Fix Released
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.