qb crashes while creating a new folder in RSS Downloader dialog

Bug #734149 reported by xtro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Triaged
Undecided
Christophe Dumez
gtk+2.0 (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

I using Ubuntu 10.04. I just wanted to create a new download rule in the RSS Downloader module. While creating a new folder under "Rule definition -> Save to a different directory -> Safe to:" the program crashed with the following output:

(<unknown>:30048): Gtk-CRITICAL **: _gtk_file_system_model_get_iter_for_file: assertion `G_IS_FILE (file)' failed
**
Gtk:ERROR:/build/buildd/gtk+2.0-2.20.1/gtk/gtkfilechooserdefault.c:6687:file_system_model_set: code should not be reached

*************************************************************
Catching SIGABRT, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v2.6.7
stack trace:
  [0x404400]
  [0x404422]
  /lib/tls/i686/cmov/libc.so.6 : gsignal()+0x51 [0x8504651]
  /lib/tls/i686/cmov/libc.so.6 : abort()+0x182 [0x8507a82]
  /lib/libglib-2.0.so.0 : g_assertion_message()+0x163 [0x562df3]
  /usr/lib/libgtk-x11-2.0.so.0 : ()+0xd570e [0x22d870e]
  /usr/lib/libgtk-x11-2.0.so.0 : ()+0xee287 [0x22f1287]
  /usr/lib/libgtk-x11-2.0.so.0 : ()+0xef17b [0x22f217b]
  /usr/lib/libgtk-x11-2.0.so.0 : gtk_tree_model_get_value()+0xb3 [0x242b043]
  /usr/lib/libgtk-x11-2.0.so.0 : gtk_tree_view_column_cell_set_cell_data()+0x164 [0x245c404]
  /usr/lib/libgtk-x11-2.0.so.0 : ()+0x2507aa [0x24537aa]
  /usr/lib/libgtk-x11-2.0.so.0 : ()+0x2522bf [0x24552bf]
  /usr/lib/libgtk-x11-2.0.so.0 : ()+0x2523ad [0x24553ad]
  /usr/lib/libgtk-x11-2.0.so.0 : ()+0x25245e [0x245545e]
  /usr/lib/libgdk-x11-2.0.so.0 : ()+0x16358 [0x4ffb358]
  /lib/libglib-2.0.so.0 : ()+0x39661 [0x539661]
  /lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x1d5 [0x53b5e5]
  /lib/libglib-2.0.so.0 : ()+0x3f2d8 [0x53f2d8]
  /lib/libglib-2.0.so.0 : g_main_loop_run()+0x187 [0x53f817]
  /usr/lib/libgtk-x11-2.0.so.0 : gtk_dialog_run()+0x1bf [0x22b3abf]
  /usr/lib/libQtGui.so.4 : ()+0x506a06 [0x1326a06]
  /usr/lib/libQtGui.so.4 : QFileDialog::getExistingDirectory(QWidget*, QString const&, QString const&, QFlags<QFileDialog::Option>)+0x199 [0x14a9619]
  qbittorrent : AutomatedRssDownloader::on_browseSP_clicked()+0x65 [0x81a46b5]
  qbittorrent : AutomatedRssDownloader::qt_metacall(QMetaObject::Call, int, void**)+0x193 [0x8234ea3]
  /usr/lib/libQtCore.so.4 : QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**)+0x3a [0x6ba7c9a]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x2d5 [0x6bb63d5]
  /usr/lib/libQtGui.so.4 : QAbstractButton::clicked(bool)+0x49 [0x1680479]
  /usr/lib/libQtGui.so.4 : ()+0x53fea9 [0x135fea9]
  /usr/lib/libQtGui.so.4 : ()+0x540cf4 [0x1360cf4]
  /usr/lib/libQtGui.so.4 : QAbstractButton::mouseReleaseEvent(QMouseEvent*)+0x9e [0x1360fae]
  /usr/lib/libQtGui.so.4 : QToolButton::mouseReleaseEvent(QMouseEvent*)+0x2c [0x144409c]
  /usr/lib/libQtGui.so.4 : QWidget::event(QEvent*)+0x528 [0xfb37f8]
  /usr/lib/libQtGui.so.4 : QAbstractButton::event(QEvent*)+0x3e [0x135fd4e]
  /usr/lib/libQtGui.so.4 : QToolButton::event(QEvent*)+0x4a [0x1446bca]
  /usr/lib/libQtGui.so.4 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0xac [0xf554dc]
  /usr/lib/libQtGui.so.4 : QApplication::notify(QObject*, QEvent*)+0xb17 [0xf5c9f7]
  /usr/lib/libQtCore.so.4 : QCoreApplication::notifyInternal(QObject*, QEvent*)+0x7b [0x6ba2a3b]
  /usr/lib/libQtGui.so.4 : QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)+0xf2 [0xf5b952]
  /usr/lib/libQtGui.so.4 : ()+0x1c7088 [0xfe7088]
  /usr/lib/libQtGui.so.4 : QApplication::x11ProcessEvent(_XEvent*)+0x1771 [0xfe6511]
  /usr/lib/libQtGui.so.4 : ()+0x1f560a [0x101560a]
  /lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x1d5 [0x53b5e5]
  /lib/libglib-2.0.so.0 : ()+0x3f2d8 [0x53f2d8]
  /lib/libglib-2.0.so.0 : g_main_context_iteration()+0x68 [0x53f4b8]
  /usr/lib/libQtCore.so.4 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x65 [0x6bce5d5]
  /usr/lib/libQtGui.so.4 : ()+0x1f5135 [0x1015135]
  /usr/lib/libQtCore.so.4 : QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x49 [0x6ba1059]
  /usr/lib/libQtCore.so.4 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0xfa [0x6ba14aa]
  /usr/lib/libQtGui.so.4 : QDialog::exec()+0x103 [0x14944f3]
  qbittorrent : RSSImp::on_rssDownloaderBtn_clicked()+0x26 [0x8185f36]
  qbittorrent : RSSImp::qt_metacall(QMetaObject::Call, int, void**)+0x93 [0x8234163]
  /usr/lib/libQtCore.so.4 : QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**)+0x3a [0x6ba7c9a]
  /usr/lib/libQtCore.so.4 : QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x2d5 [0x6bb63d5]
  /usr/lib/libQtGui.so.4 : QAbstractButton::clicked(bool)+0x49 [0x1680479]
  /usr/lib/libQtGui.so.4 : ()+0x53fea9 [0x135fea9]
  /usr/lib/libQtGui.so.4 : ()+0x540cf4 [0x1360cf4]
  /usr/lib/libQtGui.so.4 : QAbstractButton::mouseReleaseEvent(QMouseEvent*)+0x9e [0x1360fae]
  /usr/lib/libQtGui.so.4 : QWidget::event(QEvent*)+0x528 [0xfb37f8]
  /usr/lib/libQtGui.so.4 : QAbstractButton::event(QEvent*)+0x3e [0x135fd4e]
  /usr/lib/libQtGui.so.4 : QPushButton::event(QEvent*)+0x42 [0x140a1f2]
  /usr/lib/libQtGui.so.4 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0xac [0xf554dc]
  /usr/lib/libQtGui.so.4 : QApplication::notify(QObject*, QEvent*)+0xb17 [0xf5c9f7]

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

The ASSERT is in gtk+2.0 code and I believe my code is correct. This is likely to be a bug in gtk+2.0

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Pmakaasrul (pmakaasrul) wrote :

mine also crash when connection occurs

Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
stack trace:
  [0x648400]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::udp_socket::on_connect(int)+0x83 [0x4c4553]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::udp_socket, int>, boost::_bi::list2<boost::_bi::value<libtorrent::udp_socket*>, boost::arg<1> > >, void, int>::invoke(boost::detail::function::function_buffer&, int)+0x24 [0x4c7e24]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::connection_queue::try_connect(boost::unique_lock<boost::mutex>&)+0x408 [0x356ab8]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::connection_queue::on_timeout(boost::system::error_code const&)+0x1c3 [0x357083]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::handler_queue::handler_wrapper<boost::asio::detail::binder1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::connection_queue, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<libtorrent::connection_queue*>, boost::arg<1> > >, boost::system::error_code> >::do_call(boost::asio::detail::handler_queue::handler*)+0x7b [0x3580ab]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::run(boost::system::error_code&)+0x301 [0x3a9261]
  /usr/lib/libtorrent-rasterbar.so.6 : libtorrent::aux::session_impl::operator()()+0x5c [0x437ccc]
  /usr/lib/libtorrent-rasterbar.so.6 : boost::detail::thread_data<boost::reference_wrapper<libtorrent::aux::session_impl> >::run()+0x23 [0x4466b3]
  /usr/lib/libboost_thread.so.1.42.0 : thread_proxy()+0x65 [0xe9c0f5]
  /lib/libpthread.so.0 : ()+0x5cc9 [0x583cc9]
  /lib/libc.so.6 : clone()+0x5e [0x1b1369e]
Segmentation fault

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

@Pmakaasrul: Your issue is unrelated. This seems to be a libtorrent-rasterbar bug, please check:
http://code.google.com/p/libtorrent/issues/detail?id=176&q=on_connect
http://code.google.com/p/libtorrent/issues/detail?id=180&q=on_connect

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.