[2.2.4] adding label to the existing torrent make a crash

Bug #556592 reported by Mariusz Fik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
High
Christophe Dumez

Bug Description

When the torrent is on dowload list already, then I tried add a new label via rmb menu.

fisiu@pendrak:~> qbittorrent
Peer ID: -qB2240-
HTTP user agent is qBittorrent v2.2.4

*************************************************************
Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
stack trace:
  [0xffffe400]
  /lib/libc.so.6 : memcpy()+0x61 [0xb649ea81]
  /usr/lib/libQtCore.so.4 : QString::realloc(int)+0x79 [0xb674c6d9]
  /usr/lib/libQtCore.so.4 : QString::realloc()+0x24 [0xb674c804]
  /usr/lib/libQtGui.so.4 [0xb6f2f0cb]
  /usr/lib/libQtGui.so.4 [0xb6f32043]
  /usr/lib/libQtGui.so.4 [0xb6f31dc9]
  /usr/lib/libQtGui.so.4 : QLineEdit::setText(QString const&)+0x2a [0xb6f337ba]
  /usr/lib/libQtGui.so.4 : QInputDialog::setTextValue(QString const&)+0x94 [0xb702be24]
  /usr/lib/libQtGui.so.4 : QInputDialog::getText(QWidget*, QString const&, QString const&, QLineEdit::EchoMode, QString const&, bool*, QFlags<Qt::WindowType>)+0x7c [0xb702c50c]
  qbittorrent : TransferListWidget::askNewLabelForSelection()+0x160 [0x81ce390]
  qbittorrent : TransferListWidget::displayListMenu(QPoint const&)+0x1980 [0x81d1380]
  qbittorrent : TransferListWidget::qt_metacall(QMetaObject::Call, int, void**)+0x4d4 [0x8210e24]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, int, int, void**)+0x294 [0xb6811864]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x55 [0xb6812585]
  /usr/lib/libQtGui.so.4 : QWidget::customContextMenuRequested(QPoint const&)+0x45 [0xb6b73f25]
  /usr/lib/libQtGui.so.4 : QWidget::event(QEvent*)+0xebf [0xb6b8207f]
  /usr/lib/libQtGui.so.4 : QFrame::event(QEvent*)+0x35 [0xb6f1ebb5]
  /usr/lib/libQtGui.so.4 : QAbstractScrollArea::viewportEvent(QEvent*)+0x5c [0xb6fbf12c]
  /usr/lib/libQtGui.so.4 : QAbstractItemView::viewportEvent(QEvent*)+0x364 [0xb7076a44]
  /usr/lib/libQtGui.so.4 : QTreeView::viewportEvent(QEvent*)+0x220 [0xb70b2fc0]
  /usr/lib/libQtGui.so.4 [0xb6fc1786]
  /usr/lib/libQtCore.so.4 : QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)+0x8e [0xb67fa50e]
  /usr/lib/libQtGui.so.4 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x90 [0xb6b2a8d0]
  /usr/lib/libQtGui.so.4 : QApplication::notify(QObject*, QEvent*)+0x5e1 [0xb6b327a1]
  /usr/lib/libQtCore.so.4 : QCoreApplication::notifyInternal(QObject*, QEvent*)+0x8e [0xb67fb32e]
  /usr/lib/libQtGui.so.4 : QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)+0x3d [0xb6ba7d9d]
  /usr/lib/libQtGui.so.4 [0xb6ba2e48]
  /usr/lib/libQtGui.so.4 : QApplication::x11ProcessEvent(_XEvent*)+0x17de [0xb6ba1d7e]
  /usr/lib/libQtGui.so.4 [0xb6bccb68]
  /usr/lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x212 [0xb62584c2]
  /usr/lib/libglib-2.0.so.0 [0xb625bd98]
  /usr/lib/libglib-2.0.so.0 : g_main_context_iteration()+0x6e [0xb625bebe]
  /usr/lib/libQtCore.so.4 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x71 [0xb6827011]
  /usr/lib/libQtGui.so.4 [0xb6bcc29a]
  /usr/lib/libQtCore.so.4 : QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x4d [0xb67f998d]
  /usr/lib/libQtCore.so.4 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0xe9 [0xb67f9dd9]
  /usr/lib/libQtCore.so.4 : QCoreApplication::exec()+0xc0 [0xb67fc270]
  /usr/lib/libQtGui.so.4 : QApplication::exec()+0x24 [0xb6b2a774]
  qbittorrent : main()+0x1551 [0x809a101]
  /lib/libc.so.6 : __libc_start_main()+0xfe [0xb643dace]
  qbittorrent [0x80981a1]
Naruszenie ochrony pamięci ← eng: Segmentation fault

Compiled and run with Qt 4.5.3, openSUSE 11.2

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

This is fixed in SVN. Thanks.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → High
milestone: none → 2.2.5
status: New → Fix Committed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :
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.