Summary: | x11-libs/gtk+ segfault in gtktreeview | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Steinel <Florian.Steinel> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pacho, ssuominen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 112248 | ||
Attachments: |
gtk+-bug-317164-fix-gtktreeview.patch
gtk+-2.8.19.ebuild with the patch |
Description
Florian Steinel
2006-07-01 06:42:56 UTC
It also crashes Gaim, both 1.x and 2.x (gdb) run Starting program: /usr/bin/gaim [Thread debugging using libthread_db enabled] [New Thread -1218812240 (LWP 2511)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1218812240 (LWP 2511)] 0xb7e19b86 in _gtk_text_btree_get_chars_changed_stamp (tree=0x62) at gtktextbtree.c:538 538 gtktextbtree.c: No such file or directory. in gtktextbtree.c (gdb) bt #0 0xb7e19b86 in _gtk_text_btree_get_chars_changed_stamp (tree=0x62) at gtktextbtree.c:538 #1 0xb7e3226c in IA__gtk_text_iter_ends_line (iter=0xbfdbc654) at gtktextiter.c:160 #2 0xb7e324f8 in IA__gtk_text_iter_forward_to_line_end (iter=0xbfdbc774) at gtktextiter.c:4098 #3 0xb7e37588 in line_display_index_to_iter (layout=0x81d0958, display=0x84c1c90, iter=0xbfdbc774, index=<value optimized out>, trailing=0) at gtktextlayout.c:2243 #4 0xb7e3b6ea in IA__gtk_text_layout_get_iter_at_position (layout=0x81d0958, target_iter=0xbfdbc774, trailing=0xbfdbc730, x=489, y=<value optimized out>) at gtktextlayout.c:2352 #5 0xb7e3b79e in IA__gtk_text_layout_get_iter_at_pixel (layout=0x81d0958, target_iter=0xbfdbc774, x=489, y=31) at gtktextlayout.c:2308 #6 0xb7e4ca03 in gtk_text_view_event (widget=0x848c3b0, event=0x849c198) at gtktextview.c:3828 #7 0xb7d9395e in _gtk_marshal_BOOLEAN__BOXED (closure=0x8137a38, return_value=0xbfdbc950, n_param_values=2, param_values=0xbfdbca2c, invocation_hint=0xbfdbc93c, marshal_data=0xb7e4c950) at gtkmarshalers.c:83 #8 0xb7b25069 in g_type_class_meta_marshal (closure=0x8137a38, return_value=0xbfdbc950, n_param_values=2, param_values=0xbfdbca2c, invocation_hint=0xbfdbc93c, marshal_data=0xac) at gclosure.c:567 #9 0xb7b26839 in IA__g_closure_invoke (closure=0x8137a38, ---Type <return> to continue, or q <return> to quit--- return_value=0xbfdbc950, n_param_values=2, param_values=0xbfdbca2c, invocation_hint=0xbfdbc93c) at gclosure.c:490 #10 0xb7b3748e in signal_emit_unlocked_R (node=0x8136f78, detail=0, instance=0x848c3b0, emission_return=0xbfdbcbec, instance_and_params=0xbfdbca2c) at gsignal.c:2476 #11 0xb7b383fd in IA__g_signal_emit_valist (instance=0x848c3b0, signal_id=25, detail=0, var_args=<value optimized out>) at gsignal.c:2207 #12 0xb7b387d9 in IA__g_signal_emit (instance=0x848c3b0, signal_id=25, detail=0) at gsignal.c:2241 #13 0xb7eb6dca in gtk_widget_event_internal (widget=0x848c3b0, event=0x849c198) at gtkwidget.c:3654 #14 0xb7d8d1b8 in IA__gtk_propagate_event (widget=0x848c3b0, event=0x849c198) at gtkmain.c:2195 #15 0xb7d8ec72 in IA__gtk_main_do_event (event=0x849c198) at gtkmain.c:1424 #16 0xb7c0ab5a in gdk_event_dispatch (source=0x812cc28, callback=0, user_data=0x0) at gdkevents-x11.c:2291 #17 0xb7aafab9 in IA__g_main_context_dispatch (context=0x812cc70) at gmain.c:1916 #18 0xb7ab02f8 in g_main_context_iterate (context=0x812cc70, block=1, dispatch=1, self=0x8145cc0) at gmain.c:2547 #19 0xb7ab0697 in IA__g_main_loop_run (loop=0x8366c08) at gmain.c:2751 #20 0xb7d8e763 in IA__gtk_main () at gtkmain.c:1003 #21 0x080f2334 in main (argc=Cannot access memory at address 0x0 ) at main.c:961 Forgot to mention version affected; at least versions from 2.8.17 to .19 (In reply to comment #1) > It also crashes Gaim, both 1.x and 2.x Did you try the mentioned patch on gtk+ ? Created attachment 90615 [details, diff]
gtk+-bug-317164-fix-gtktreeview.patch
The upstream patch
Created attachment 90616 [details]
gtk+-2.8.19.ebuild with the patch
(In reply to comment #4) > (In reply to comment #1) > > It also crashes Gaim, both 1.x and 2.x > Did you try the mentioned patch on gtk+ ? > Yes I did, and I'm sure it applied correctly. I tried it also outside from Portage. Backtrace didn't change. This fix doesn't work for GTK+ version 2.8.19 (In reply to comment #7) > Yes I did, and I'm sure it applied correctly. I tried it also outside from > Portage. Backtrace didn't change. Your backtrace shows only gtktextbtree.c my fix is for gtktreeview.c. This bug/-fix not about your issue, i'm sorry. Please file a new upstream bug at http://bugzilla.gnome.org/simple-bug-guide.cgi?product=gtk%2B&comp=GtkTextView . > Your backtrace shows only gtktextbtree.c my fix is for gtktreeview.c.
> This bug/-fix not about your issue, i'm sorry.
You are indeed right, I can't believe I missed it in this bt.
I've had gtktreeview.c problem with Gaim too as I've done bt on Gaim now few times just recently. Stupid of me didn't save all of the bt's as I didn't believe it would crash differently. This makes me believe our problems are still connected.
I will contact upstream, thanks.
Hi all, It looks like this bug is fixed in gtk-2.10.x which is now stable on most arches. If it's still an issue, don't hesitate to reopen this bug. Thanks (In reply to comment #10) > Hi all, > > It looks like this bug is fixed in gtk-2.10.x which is now stable on most > arches. If it's still an issue, don't hesitate to reopen this bug. Seems to fixed yes, I haven't had a single problem for sometime (gaim, gucharmap and sylpheed haven't crashed. these were the apps I had problem before.) |