Comment 2 for bug 438001

Revision history for this message
Jaime Sánchez (jskartman) wrote : Re: [Bug 438001] Re: Change connection options - exits abruptly

ok, i found what happens. I have my folder watching pointing to
nonexistent directory, and this is the cause, when i correct this
option to an existing directory all works fine.

The output when folder watching is pointing to nonexistent directory is:

QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed:
No such file or directory
QFileSystemWatcher: failed to add paths: /mnt/data/torrents-linux
Warning: Local domain socket was not closed cleanly, deleting file...

*** NOTE qbittorrent opens ok now , but when u change connection options: ***

*************************************************************
Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
stack trace:
  [0x118400]
  qbittorrent : bittorrent::enableDirectoryScanning(QString)+0x5e [0x81178ce]
  qbittorrent : GUI::configureSession(bool)+0x2f6 [0x8092b96]
  qbittorrent : GUI::OptionsSaved(bool)+0x137 [0x8095fe7]
  qbittorrent : GUI::qt_metacall(QMetaObject::Call, int, void**)+0x52a
 [0x81975ea]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, int, int,
void**)+0x233 [0x851253]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*,
QMetaObject const*, int, void**)+0x52 [0x851eb2]
  qbittorrent : options_imp::status_changed(bool) const+0x3b [0x8197e5b]
  qbittorrent : options_imp::qt_metacall(QMetaObject::Call, int,
void**)+0x2c2 [0x8198122]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, int, int,
void**)+0x233 [0x851253]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*,
QMetaObject const*, int, void**)+0x52 [0x851eb2]
  /usr/lib/libQtGui.so.4 :
QDialogButtonBox::clicked(QAbstractButton*)+0x43 [0x140fef3]
  /usr/lib/libQtGui.so.4 [0x14100dc]
  /usr/lib/libQtGui.so.4 :
QDialogButtonBox::qt_metacall(QMetaObject::Call, int, void**)+0xf6
[0x1411e66]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, int, int,
void**)+0x233 [0x851253]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*,
QMetaObject const*, int, int, void**)+0x58 [0x8516c8]
  /usr/lib/libQtGui.so.4 : QAbstractButton::clicked(bool)+0x51 [0x16b3911]
  /usr/lib/libQtGui.so.4 [0x13dc249]
  /usr/lib/libQtGui.so.4 [0x13ddea4]
  /usr/lib/libQtGui.so.4 :
QAbstractButton::mouseReleaseEvent(QMouseEvent*)+0x91 [0x13de131]
  /usr/lib/libQtGui.so.4 : QWidget::event(QEvent*)+0x762 [0x107bf92]
  /usr/lib/libQtGui.so.4 : QAbstractButton::event(QEvent*)+0x3e [0x13dc0ee]
  /usr/lib/libQtGui.so.4 : QPushButton::event(QEvent*)+0x3d [0x148634d]
  /usr/lib/libQtGui.so.4 :
QApplicationPrivate::notify_helper(QObject*, QEvent*)+0xb4
[0x1026f44]
  /usr/lib/libQtGui.so.4 : QApplication::notify(QObject*,
QEvent*)+0xb43 [0x102f023]
  /usr/lib/libQtCore.so.4 : QCoreApplication::notifyInternal(QObject*,
QEvent*)+0x7b [0x83b6bb]
  /usr/lib/libQtGui.so.4 :
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
QWidget*, QWidget**, QPointer<QWidget>&)+0xde [0x102df5e]
  /usr/lib/libQtGui.so.4 [0x109c6e0]
  /usr/lib/libQtGui.so.4 :
QApplication::x11ProcessEvent(_XEvent*)+0x19bb [0x109bb6b]
  /usr/lib/libQtGui.so.4 [0x10c83f2]
  /lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x1f8 [0x2b10e78]
  /lib/libglib-2.0.so.0 [0x2b14720]
  /lib/libglib-2.0.so.0 : g_main_context_iteration()+0x73 [0x2b14853]
  /usr/lib/libQtCore.so.4 :
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x5c
 [0x86601c]
  /usr/lib/libQtGui.so.4 [0x10c7ad5]
  /usr/lib/libQtCore.so.4 :
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x49
[0x839c69]
  /usr/lib/libQtCore.so.4 :
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0xfa
[0x83a0ba]
  /usr/lib/libQtCore.so.4 : QCoreApplication::exec()+0xaf [0x83c52f]
  /usr/lib/libQtGui.so.4 : QApplication::exec()+0x27 [0x1026dc7]
  qbittorrent : main()+0xa71 [0x80b82f1]
  /lib/tls/i686/cmov/libc.so.6 : __libc_start_main()+0xe6 [0xbccb56]
  qbittorrent [0x80851b1]

On 9/29/09, Christophe Dumez <email address hidden> wrote:
> Did you run qbittorrent in a term? A backtrace should be output in the
> term whenever qBittorrent crashes. I will try to reproduce but having
> the backtrace would be helpful if I cannot reproduce.
>
> --
> Change connection options - exits abruptly
> https://bugs.launchpad.net/bugs/438001
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in qBittorrent - An advanced bittorrent client in C++ / Qt4: New
>
> Bug description:
> After changing some connection options (download speed...) the program
> terminates abruptly, no error on screen, simply terminates.
>
> Qbittorrent 1.5.2
> Ubuntu karmic
> kernel 2.6.31-10
> kde 4.3.1
>