[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [ geda-Bugs-1838164 ] CRASH: segfault cut to buffer with corrupt schematic



Bugs item #1838164, was opened at 2007-11-25 18:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1838164&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gschem
Group: None
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Peter Brett (peter-b)
Assigned to: Nobody/Anonymous (nobody)
Summary: CRASH: segfault cut to buffer with corrupt schematic

Initial Comment:
Reproducible crash bug in git HEAD (1abfd25bf917ee4e).

Steps to reproduce:

1) Load attached "lo.sch".
2) Drag select whole circuit.
3) Press "Ctrl-X" to cut to buffer
4) Segfault

Backtrace:

#0  o_attrib_search (list=0x90c6bb8, item=0x91bb290) at o_attrib.c:85
#1  0x0012bc36 in o_attrib_attach (toplevel=0x8ec48b0, parent_list=0x91bb290,
    text_object=0x91bb290, object=0xc37150) at o_attrib.c:216
#2  0x00133872 in o_glist_copy_all_to_glist (toplevel=0x8ec48b0, src_list=0x90e0e70,
    dest_list=0x0, flag=1) at o_list.c:313
#3  0x08074c7b in o_buffer_cut (w_current=0x8ebce88, buf_num=0) at o_buffer.c:85
#4  0x08060041 in i_callback_buffer_cut1 (data=0x8ebce88, callback_action=0, widget=0x0)
    at i_callbacks.c:1962
#5  0x0805a4b0 in g_keys_buffer_cut1 () at g_keys.c:265
#6  0x00ccaf03 in ceval (x=0xb7c1a3b8, env=0xb7980568) at eval.c:4122
#7  0x00ccb306 in ceval (x=0xb7c1a3b0, env=0xb7980568) at eval.c:3384
#8  0x00ccca8a in scm_primitive_eval_x (exp=0xb7980640) at eval.c:5906
#9  0x00d22028 in inner_eval_string (data=0xb7980670) at strports.c:500
#10 0x00cce7de in scm_c_with_fluid (fluid=0x8ea68e0, value=0xb7c956f0,
    cproc=0xd22000 <inner_eval_string>, cdata=0xb7980670) at fluids.c:453
#11 0x00ce72c5 in scm_c_call_with_current_module (module=0xb7c956f0,
    func=0xd22000 <inner_eval_string>, data=0xb7980670) at modules.c:91
#12 0x00d22291 in scm_eval_string_in_module (string=0xb7a73900, module=0xb7c956f0)
    at strports.c:527
#13 0x00d222c5 in scm_eval_string (string=0xb7a73900) at strports.c:535
#14 0x00d222f5 in scm_c_eval_string (expr=0x8fffcc0 "(press-key \"Control x\")")
    at strports.c:481
#15 0x0805b50e in g_keys_execute (w_current=0x8ebce88, state=20, keyval=120)
    at g_keys.c:111
#16 0x08083b0c in x_event_key_press (widget=0x8f4c2a0, event=0x90d9e50,
    w_current=0x8ebce88) at x_event.c:1476
#17 0x007f1500 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x0024eda2 in g_closure_invoke () from /lib/libgobject-2.0.so.0
#19 0x0025f4d3 in ?? () from /lib/libgobject-2.0.so.0
#20 0x002607bf in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#21 0x00260bb9 in g_signal_emit () from /lib/libgobject-2.0.so.0
#22 0x00906298 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00916347 in gtk_window_propagate_key_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x009193bc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x007f1500 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x0024d599 in ?? () from /lib/libgobject-2.0.so.0
#27 0x0024eda2 in g_closure_invoke () from /lib/libgobject-2.0.so.0
#28 0x0025fb23 in ?? () from /lib/libgobject-2.0.so.0
#29 0x002607bf in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#30 0x00260bb9 in g_signal_emit () from /lib/libgobject-2.0.so.0
#31 0x00906298 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x007ea8fa in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x007ebac7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x0551f41a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#35 0x001917f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x001947cf in ?? () from /lib/libglib-2.0.so.0
#37 0x00194b79 in g_main_loop_run () from /lib/libglib-2.0.so.0
#38 0x007ebf44 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x0805c3ab in main_prog (closure=0x0, argc=1, argv=0xbffdd5d4) at gschem.c:347
#40 0x00ce2646 in invoke_main_func (body_data=0xbffdd4f4) at init.c:367
#41 0x00cb4762 in c_body (d=0xbffdd478) at continuations.c:366
#42 0x00d27c46 in scm_c_catch (tag=0x104, body=0xcb4750 <c_body>, body_data=0xbffdd478,
    handler=0xcb4770 <c_handler>, handler_data=0xbffdd478,
    pre_unwind_handler=0xd27490 <scm_handle_by_message_noexit>,
    pre_unwind_handler_data=0x0) at throw.c:204
#43 0x00cb4cc2 in scm_i_with_continuation_barrier (body=0xcb4750 <c_body>,
    body_data=0xbffdd478, handler=0xcb4770 <c_handler>, handler_data=0xbffdd478,
    pre_unwind_handler=0xd27490 <scm_handle_by_message_noexit>,
    pre_unwind_handler_data=0x0) at continuations.c:342
#44 0x00cb4da3 in scm_c_with_continuation_barrier (func=0xce2600 <invoke_main_func>,
    data=0xbffdd4f4) at continuations.c:384
#45 0x00d26d29 in scm_i_with_guile_and_parent (func=0xce2600 <invoke_main_func>,
    data=0xbffdd4f4, parent=0x0) at threads.c:649
#46 0x00d26e1e in scm_with_guile (func=0xce2600 <invoke_main_func>, data=0xbffdd4f4)
    at threads.c:637
#47 0x00ce25df in scm_boot_guile (argc=1, argv=0xbffdd5d4,
    main_func=0x805c000 <main_prog>, closure=0x0) at init.c:350
#48 0x0805bf16 in main (argc=1, argv=0xbffdd5d4) at gschem.c:372


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1838164&group_id=161080


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug