NguyenTrinh / linkage

Automatically exported from code.google.com/p/linkage
GNU General Public License v2.0
0 stars 0 forks source link

Crash on position/selection change #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change the rank of a torrent. 
2. Click on another torrent. 
3. Watch it crash. 

What is the expected output? What do you see instead?

I expect the torrents to change their ranks accordingly (the rank numbers
change, but clicking on another torrent crashes the client). 

What version of the product are you using? On what operating system?

0.1.1svn-r97 on Linux 2.6.19-beyond, under Gnome 2.16.3

Please provide any additional information below.

I can reproduce this any time I change a torrent's rank and then click on
another running (or stopped) torrent. 

Original issue reported on code.google.com by brian.wi...@gmail.com on 23 Mar 2007 at 9:00

GoogleCodeExporter commented 8 years ago
Hmm I can't seem to reproduce this, I did however change some stuff in the
queueing/position code in revision 113. So try update to that revision, if it 
still
occurs it would help a lot if you could post a stacktrace. Just to this:

$ gdb linkage
(gdb) run
...make it crash...
(gdb) bt
...press enter until no more text appears and post all the text here...

Original comment by ZeFl...@gmail.com on 23 Mar 2007 at 1:07

GoogleCodeExporter commented 8 years ago

Original comment by ZeFl...@gmail.com on 23 Mar 2007 at 1:08

GoogleCodeExporter commented 8 years ago
Here's the relevant backtrace:
==============================

[New Thread -1235915888 (LWP 10074)]
[New Thread -1244308592 (LWP 10075)]
[New Thread -1279276144 (LWP 10076)]
[New Thread -1287668848 (LWP 10077)]
[Thread -1279276144 (LWP 10076) exited]
[Thread -1287668848 (LWP 10077) exited]
[Thread -1244308592 (LWP 10075) exited]
[Thread -1235915888 (LWP 10074) exited]
[New Thread -1235915888 (LWP 10078)]
linkage: /usr/include/boost/optional/optional.hpp:526: typename
boost::optional_detail::optional_base<T>::reference_type 
boost::optional<T>::get()
[with T = boost::posix_time::ptime]: Assertion `this->is_initialized()' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1227912992 (LWP 10068)]
0xb7f9b410 in ?? ()
(gdb) bt
#0  0xb7f9b410 in ?? ()
#1  0xbf9cb048 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00002754 in ?? ()
#4  0xb6f74721 in raise () from /lib/libc.so.6
#5  0xb6f75ef8 in abort () from /lib/libc.so.6
#6  0xb6f6df3c in __assert_fail () from /lib/libc.so.6
#7  0x0808a446 in ?? ()
#8  0x0808aef5 in ?? ()
#9  0xb766c7fa in Glib::SignalProxyNormal::slot0_void_callback () from
/usr/lib/libglibmm-2.4.so.1
#10 0xb725d41b in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#11 0xb725007b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb7260ea5 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#13 0xb7262099 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb7262249 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb78d89c0 in _gtk_tree_selection_internal_select_node () from
/usr/lib/libgtk-x11-2.0.so.0
#16 0xb78e9720 in gtk_tree_view_real_set_cursor () from 
/usr/lib/libgtk-x11-2.0.so.0
#17 0xb78f7a67 in gtk_tree_view_button_press () from 
/usr/lib/libgtk-x11-2.0.so.0
#18 0xb7cb8d6c in Gtk::Widget::on_button_press_event () from 
/usr/lib/libgtkmm-2.4.so.1
#19 0x0807e22f in ?? ()
---Type <return> to continue, or q <return> to quit---
#20 0xb7cb66b3 in Gtk::Widget_Class::button_press_event_callback () from
/usr/lib/libgtkmm-2.4.so.1
#21 0xb77f81a2 in _gtk_marshal_BOOLEAN__BOXED () from 
/usr/lib/libgtk-x11-2.0.so.0
#22 0xb724e639 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#23 0xb725007b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0xb726120d in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#25 0xb7261e78 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0xb7262249 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0xb790aae4 in gtk_widget_event_internal () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb77f14f3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb77f26d7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb75f4e8a in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#31 0xb71dfb91 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb71e2bef in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#33 0xb71e2fa7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#34 0xb77f2b51 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7c3b7e7 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#36 0xb7c3b5d2 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#37 0x080ba64d in ?? ()
#38 0xb6f617c8 in __libc_start_main () from /lib/libc.so.6
#39 0x0805f0f1 in ?? ()

Original comment by brian.wi...@gmail.com on 23 Mar 2007 at 9:13

GoogleCodeExporter commented 8 years ago
That's with r113, by the way. 

Original comment by brian.wi...@gmail.com on 23 Mar 2007 at 9:13

GoogleCodeExporter commented 8 years ago
That looks like a duplicate of this issue
http://code.google.com/p/linkage/issues/detail?id=11&can=1&q=ptime#c8
Which is supposed to be fixed, try running a make uninstall to clear your 
system of
any old versions then check out a fresh tree from svn and build that. I think 
that
should fix it.

Original comment by ZeFl...@gmail.com on 24 Mar 2007 at 12:06

GoogleCodeExporter commented 8 years ago
I did a full uninstall in Arch (`pacman -R linkage`), followed by a new install 
of
r113 via the PKGBUILD on the AUR. 

Original comment by brian.wi...@gmail.com on 24 Mar 2007 at 2:23

GoogleCodeExporter commented 8 years ago
the latest rev. r118 does not appear to have this.. you should prolly upgrade 
to that
one.

Original comment by shane.l...@gmail.com on 25 Mar 2007 at 9:56

GoogleCodeExporter commented 8 years ago

Original comment by ZeFl...@gmail.com on 26 Mar 2007 at 8:51

GoogleCodeExporter commented 8 years ago

Original comment by ZeFl...@gmail.com on 2 Apr 2007 at 3:05