#31 cssed-tags-plugin 0.2 segfaults

0.4.0
closed-fixed
Iago Rubio
5
2005-12-26
2005-12-26
No

When compiled from cvs, on Mac OS X, follow these steps to reproduce
the bug:

1 - open cssed
2 - if not already loaded, load the cssed-tags-plugin
3 - click on create a tag file
4 - click on apply in the tag window (without filling in anything in the
window)
5 - click on validate in the error message dialog
6 - click on open to define a base directory

cssed segfaults.

Here's part of the crash log:

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x844811c8

Thread 0 Crashed:
0 libgobject-2.0.0.dylib 0x01474d3c g_type_check_instance_cast +
84 (icplusplus.c:28)
1 tagsplugin.so 0x01d686fc
on_tp_create_tag_okbutton_clicked + 356 (callbacks.c:315)
2 libgobject-2.0.0.dylib 0x014510d4 g_closure_invoke + 352
(icplusplus.c:28)
3 libgobject-2.0.0.dylib 0x01464008 signal_emit_unlocked_R +
2688 (icplusplus.c:28)
4 libgobject-2.0.0.dylib 0x014654fc g_signal_emit_valist + 2032
(icplusplus.c:28)
5 libgobject-2.0.0.dylib 0x01465998 g_signal_emit + 48
(icplusplus.c:28)
6 libgtk-x11-2.0.0.dylib 0x01023200 gtk_real_button_released
+ 220 (icplusplus.c:28)
7 libgobject-2.0.0.dylib 0x014510d4 g_closure_invoke + 352
(icplusplus.c:28)
8 libgobject-2.0.0.dylib 0x01463c3c signal_emit_unlocked_R + 1716
(icplusplus.c:28)
9 libgobject-2.0.0.dylib 0x014654fc g_signal_emit_valist + 2032
(icplusplus.c:28)
10 libgobject-2.0.0.dylib 0x01465998 g_signal_emit + 48
(icplusplus.c:28)
11 libgtk-x11-2.0.0.dylib 0x01023690
gtk_button_button_release + 196 (icplusplus.c:28)
12 libgtk-x11-2.0.0.dylib 0x01112e68
_gtk_marshal_BOOLEAN__BOXED + 208 (icplusplus.c:28)
13 libgobject-2.0.0.dylib 0x014510d4 g_closure_invoke + 352
(icplusplus.c:28)
14 libgobject-2.0.0.dylib 0x01464238 signal_emit_unlocked_R +
3248 (icplusplus.c:28)
15 libgobject-2.0.0.dylib 0x0146555c g_signal_emit_valist +
2128 (icplusplus.c:28)
16 libgobject-2.0.0.dylib 0x01465998 g_signal_emit + 48
(icplusplus.c:28)
17 libgtk-x11-2.0.0.dylib 0x012436a8 gtk_widget_event_internal
+ 716 (icplusplus.c:28)
18 libgtk-x11-2.0.0.dylib 0x011105c0 gtk_propagate_event +
464 (icplusplus.c:28)
19 libgtk-x11-2.0.0.dylib 0x01111210 gtk_main_do_event +
1668 (icplusplus.c:28)
20 libgdk-x11-2.0.0.dylib 0x00746478 gdk_event_dispatch + 128
(icplusplus.c:28)
21 libglib-2.0.0.dylib 0x014c1980 g_main_context_dispatch +
876 (icplusplus.c:28)
22 libglib-2.0.0.dylib 0x014c21c8 g_main_context_iterate + 1380
(icplusplus.c:28)
23 libglib-2.0.0.dylib 0x014c2584 g_main_loop_run + 812
(icplusplus.c:28)
24 libgtk-x11-2.0.0.dylib 0x0111092c gtk_main + 216
(icplusplus.c:28)
25 cssed 0x00002fd4 main + 340 (main.c:348)
26 cssed 0x000026b8 _start + 340 (crt.c:272)
27 cssed 0x00002560 start + 60

Discussion

  • Iago Rubio
    Iago Rubio
    2005-12-26

    Logged In: YES
    user_id=910507

    Fixed in CVS, thanks !!

    Update your tree and ensure tags-plugin/src/callbacks.c is 1.8

    Thanks again.

     
  • Iago Rubio
    Iago Rubio
    2005-12-26

    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=552580

    Works perfectly now.