Hi here the answers:
1) gschem reports on startup:
gEDA/gschem Version 20041228 gEDA/gschem kommt OHNE JEGLICHE GARANTIE. Lies die Datei COPYING f�r n�here Informationen. Dies ist Freie Software. Sie darf unter gewissen Bestimmungen weitergegeben werden. Lesen Sie die Datei COPYING f�r n�here Informationen. Read system-gschemrc file [/usr/local/geda/share/gEDA/system-gschemrc] Did not find optional ~/.gEDA/gschemrc file [/home/michael/.gEDA/gschemrc] Did not find optional local gschemrc file [./gschemrc] Did not find optional local gafrc file [./gafrc] Lese init scm Datei [/usr/local/geda/share/gEDA/scheme/gschem.scm]
2) stack trace is:
gschem:1730): Gdk-WARNING **: gdkdrawable-x11.c:764 drawable is not a pixmap or window
Program received signal SIGSEGV, Segmentation fault.
0x4056eb56 in XWarpPointer () from /usr/X11R6/lib/libX11.so.6
(gdb) where
#0 0x4056eb56 in XWarpPointer () from /usr/X11R6/lib/libX11.so.6
#1 0x080773c0 in x_basic_warp_cursor (widget=0x81d27c0, x=450, y=325,
relative=0)
at ../noweb/x_basic.nw:436
#2 0x0805c747 in a_zoom (w_current=0x8128e88, dir=1, selected_from=1,
pan_flags=0)
at ../noweb/a_zoom.nw:209
#3 0x0806332c in i_callback_view_zoom_in (data=0x8128e88, callback_action=0,
widget=0x0) at ../noweb/i_callbacks.nw:1822
#4 0x0805fe95 in g_key_view_zoom_in () at ../noweb/g_key.nw:249
#5 0x40083800 in scm_ceval (x=0x40879270, env=0x40879268) at eval.c:2732
#6 0x40085c40 in scm_i_eval_x (exp=0x0, env=0x40879268) at eval.c:4063
#7 0x40085d09 in scm_primitive_eval_x (exp=0x40879270) at eval.c:4080
#8 0x400bec8c in inner_eval_string (data=0x408792a0) at strports.c:484
#9 0x4008b983 in scm_c_with_fluids (fluids=0x40879290, values=0x40879298,
cproc=0x400bec50 <inner_eval_string>, cdata=0x408792a0) at fluids.c:243
#10 0x4008ba17 in scm_c_with_fluid (fluid=0x80adec8, value=0x80e2990,
cproc=0x400bec50 <inner_eval_string>, cdata=0x408792a0) at fluids.c:254
---Type <return> to continue, or q <return> to quit---
#11 0x4009f4e9 in scm_c_call_with_current_module (module=0x80e2990,
func=0x400bec50 <inner_eval_string>, data=0x408792a0) at modules.c:122
#12 0x400bece1 in scm_eval_string (string=0x408792a8) at strports.c:504
#13 0x400bebe4 in scm_c_eval_string (expr=0x81eb8d0 "(view-zoom-in)") at
strports.c:450
#14 0x400915fc in gh_eval_str (scheme_code=0x81eb8d0 "(view-zoom-in)") at
gh_eval.c:53
#15 0x0808296f in g_menu_execute (func=0x81a2198 "view-zoom-in")
at ../noweb/x_menus.nw:104
#16 0x404f9c54 in g_cclosure_marshal_VOID__VOID (closure=0x81a21b0,
return_value=0x0,
n_param_values=1, param_values=0x80e2990, invocation_hint=0xbfffea18,
marshal_data=0x0) at gmarshal.c:77
#17 0x404e6f23 in g_closure_invoke (closure=0x81a21b0, return_value=0x0,
n_param_values=1, param_values=0xbfffeb20, invocation_hint=0xbfffea18)
at gclosure.c:437
#18 0x404f9802 in signal_emit_unlocked_R (node=0x813b0b8, detail=0,
instance=0x819e7f8, emission_return=0x0, instance_and_params=0xbfffeb20)
at gsignal.c:2478
---Type <return> to continue, or q <return> to quit---
#19 0x404f8828 in g_signal_emit_valist (instance=0x819e7f8, signal_id=135513424,
detail=0, var_args=0xbfffecb8 "����|[EMAIL PROTECTED]") at gsignal.c:2237
#20 0x402dc75f in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x4037fee5 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x402a9154 in gtk_menu_shell_activate_item () from
/usr/lib/libgtk-x11-2.0.so.0
#23 0x402a82ea in gtk_menu_shell_deactivate () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x4029a084 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x404e71e5 in g_type_class_meta_marshal (closure=0x8133948,
return_value=0xbfffee80, n_param_values=2, param_values=0xbfffefb0,
invocation_hint=0xbfffeea8, marshal_data=0x80e2990) at gclosure.c:514
#26 0x404e6f23 in g_closure_invoke (closure=0x8133948, return_value=0xbfffee80,
n_param_values=2, param_values=0xbfffefb0, invocation_hint=0xbfffeea8)
at gclosure.c:437
#27 0x404f9245 in signal_emit_unlocked_R (node=0x8133980, detail=0,
instance=0x81a0f90, emission_return=0xbfffef40,
instance_and_params=0xbfffefb0)
at gsignal.c:2516
---Type <return> to continue, or q <return> to quit---
#28 0x404f8630 in g_signal_emit_valist (instance=0x81a0f90, signal_id=0,
detail=0,
var_args=0xbffff14c "X�����\031\bX���") at gsignal.c:2247
#29 0x402dc75f in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x4037fd03 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x40299e07 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x40298ae5 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x40449ac1 in gdk_add_client_message_filter () from
/usr/lib/libgdk-x11-2.0.so.0
#34 0x4016e3ee in g_main_dispatch (context=0x8111520) at gmain.c:1942
#35 0x4016f589 in g_main_context_dispatch (context=0x8111520) at gmain.c:2492
#36 0x4016f8dc in g_main_context_iterate (context=0x8111520, block=1,
dispatch=1,
self=0x8180ce0) at gmain.c:2573
#37 0x4016ff20 in g_main_loop_run (loop=0x81e36a0) at gmain.c:2777
#38 0x4029833f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x08060dbd in main_prog (argc=1, argv=0xbffff494) at ../noweb/gschem.nw:355
#40 0x40091bbe in gh_launch_pad (closure=0x8060a20, argc=1, argv=0xbffff494)
at gh_init.c:60
---Type <return> to continue, or q <return> to quit---
#41 0x4009ba67 in invoke_main_func (body_data=0x80e2990) at init.c:636
#42 0x4009ba1e in scm_boot_guile_1 (base=0xbffff3dc, closure=0xbffff3e0) at
init.c:616
#43 0x4009b71b in scm_boot_guile (argc=135145872, argv=0x80e2990,
main_func=0x80e2990,
closure=0x80e2990) at init.c:440
#44 0x40091bf9 in gh_enter (argc=1, argv=0xbffff494, c_main_prog=0x8060a20
<main_prog>)
at gh_init.c:70
#45 0x0806108c in main (argc=1, argv=0xbffff494) at ../noweb/gschem.nw:395
#46 0x4064c4a2 in __libc_start_main () from /lib/libc.so.6
(gdb)
3) creating gschemrc with (warp-cursor "disabled") solves the problem ! Thank you !
Michael
Ales Hvezda wrote:
Hi,
[snip]
When running the program inside gdb it says:
(gschem:12239): Gdk-WARNING **: gdkdrawable-x11.c:764 drawable is not a pixmap or window
Program received signal SIGSEGV, Segmentation fault. 0x4056eb56 in XWarpPointer () from /usr/X11R6/lib/libX11.so.6 (gdb)
I've never seen this sort of failure before.
Three things that would be helpful in debugging this:
1) Does gschem start without any error messages?
2) Get a stack trace when this seg fault occurs. Type: where at the (gdb) prompt when you get gschem to seg fault and post the output to the list.
3) Something else to try is to create a file in the current directory called "gschemrc" and inside put:
(warp-cursor "disabled")
and then run gschem and see what happens when you zoom.
-Ales
