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

Re: gEDA-user: gEDA - gschem 20060123 Failure



Sounds like the infamous slice bug. Try:

export G_SLICE=always-malloc

(or if you're using csh, "setenv G_SLICE always-malloc")

before invoking gschem.

Seems gschem is incompatible with newer glib's, but this fixes it.

On Jun 12, 2006, at 3:26 PM, User Tomdean wrote:

I had a core dump on exit from gEDA 20050313, installed from the
FreeBSD potrs tree.

I changed the Makefiles to use gEDA 20060123, including libgeda.so.25.
Building and installing gEDA 20060123 reported no errors.

Starting gschem seems OK.  On exit, I get

        Segmentation fault (core dumped)

I rebuilt glib - no change.

I attached the output from gdb.

tomdean

====================================================
# gdb -c gschem.core /usr/local/bin/gschem
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `gschem'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libguile-ltdl.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libguile-ltdl.so.1
Reading symbols from /usr/local/lib/libqthreads.so.15...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libqthreads.so.15
Reading symbols from /lib/libcrypt.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.2
Reading symbols from /usr/local/lib/libgdgeda.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgdgeda.so.6
Reading symbols from /usr/local/lib/libpng.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libpng.so.5
Reading symbols from /usr/X11R6/lib/libgdk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/X11R6/lib/libXrandr.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.2
Reading symbols from /usr/X11R6/lib/libXi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXinerama.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.1
Reading symbols from /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/X11R6/lib/libpangocairo-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.3
Reading symbols from /usr/local/lib/libcairo.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libcairo.so.2
Reading symbols from /usr/X11R6/lib/libpangoft2-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /lib/libz.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.2
Reading symbols from /usr/X11R6/lib/libpango-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libpango-1.0.so.0
Reading symbols from /lib/libm.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.3
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/local/lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/X11R6/lib/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/local/lib/libgeda.so.25...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgeda.so.25
Reading symbols from /usr/X11R6/lib/libgtk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libatk-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.0
Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/local/lib/libintl.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libintl.so.6
Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /usr/local/lib/libguile.so.15...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libguile.so.15
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so. 2...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/pango/1.5.0/modules/pango-basic- fc.so...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/pango/1.5.0/modules/pango-basic- fc.so
Reading symbols from /usr/X11R6/lib/gtk-2.0/2.4.0/loaders/ libpixbufloader-xpm.so...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/gtk-2.0/2.4.0/loaders/ libpixbufloader-xpm.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x284a6f0f in g_slice_get_config_state ()
from /usr/local/lib/libglib-2.0.so.0
(gdb) bt
#0 0x284a6f0f in g_slice_get_config_state ()
from /usr/local/lib/libglib-2.0.so.0
#1 0x284a74b6 in g_slice_get_config_state ()
from /usr/local/lib/libglib-2.0.so.0
#2 0x284a7983 in g_slice_free1 () from /usr/local/lib/ libglib-2.0.so.0
#3 0x28490cfc in g_list_remove () from /usr/local/lib/ libglib-2.0.so.0
#4 0x285ed0b9 in s_tile_remove_object_all () from /usr/local/lib/ libgeda.so.25
#5 0x285e7c51 in s_delete () from /usr/local/lib/libgeda.so.25
#6 0x285e7e8c in s_delete_list_fromstart () from /usr/local/lib/ libgeda.so.25
#7 0x285e7df5 in s_delete () from /usr/local/lib/libgeda.so.25
#8 0x285e7e8c in s_delete_list_fromstart () from /usr/local/lib/ libgeda.so.25
#9 0x285e9d42 in s_page_delete () from /usr/local/lib/libgeda.so.25
#10 0x285e9f52 in s_page_delete_list () from /usr/local/lib/ libgeda.so.25
#11 0x285edf32 in s_toplevel_delete () from /usr/local/lib/ libgeda.so.25
#12 0x0807d583 in ?? ()
#13 0x0817f000 in ?? ()
#14 0x080db6a0 in ?? ()
#15 0xbfbfd658 in ?? ()
#16 0x28a13116 in scm_eval_closure_lookup () from /usr/local/lib/ libguile.so.15
#17 0x0807d5e0 in ?? ()
#18 0x0817f000 in ?? ()
#19 0x0826f1c8 in ?? ()
#20 0xbfbfd688 in ?? ()
#21 0x285e75a4 in exit_if_null () from /usr/local/lib/libgeda.so.25
#22 0x08058454 in ?? ()
#23 0x0817f000 in ?? ()
#24 0x08112390 in ?? ()
#25 0x00002174 in ?? ()
#26 0x289f2a1e in scm_lookupcar1 () from /usr/local/lib/libguile.so.15
#27 0x080559b5 in ?? ()
#28 0x0817f000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x289f711a in scm_ceval () from /usr/local/lib/libguile.so.15
#32 0x289f72ea in scm_ceval () from /usr/local/lib/libguile.so.15
#33 0x289f9167 in scm_i_eval_x () from /usr/local/lib/libguile.so.15
#34 0x289f9212 in scm_primitive_eval_x () from /usr/local/lib/ libguile.so.15
#35 0x28a3193d in inner_eval_string () from /usr/local/lib/ libguile.so.15
#36 0x289ff0c2 in scm_c_with_fluids () from /usr/local/lib/ libguile.so.15
#37 0x289ff124 in scm_c_with_fluid () from /usr/local/lib/ libguile.so.15
#38 0x28a12cd3 in scm_c_call_with_current_module ()
from /usr/local/lib/libguile.so.15
#39 0x28a319a4 in scm_eval_string () from /usr/local/lib/ libguile.so.15
#40 0x28a318af in scm_c_eval_string () from /usr/local/lib/ libguile.so.15
#41 0x0807921e in ?? ()
#42 0x083fca00 in ?? ()
#43 0x08194140 in ?? ()
#44 0xbfbfd898 in ?? ()
#45 0x2845c82e in g_value_peek_pointer ()
from /usr/local/lib/libgobject-2.0.so.0
#46 0x2845163f in g_cclosure_marshal_VOID__VOID ()
from /usr/local/lib/libgobject-2.0.so.0
#47 0x2843bd94 in g_closure_invoke () from /usr/local/lib/ libgobject-2.0.so.0
#48 0x28450e5a in g_signal_emit_by_name ()
from /usr/local/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#49 0x2845016f in g_signal_emit_valist ()
from /usr/local/lib/libgobject-2.0.so.0
#50 0x284503b8 in g_signal_emit () from /usr/local/lib/ libgobject-2.0.so.0
#51 0x287ee14b in gtk_widget_activate ()
from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#52 0x2871a162 in gtk_menu_shell_activate_item ()
from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#53 0x287194a6 in gtk_menu_shell_deactivate ()
from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#54 0x287120b5 in gtk_menu_reorder_child ()
from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#55 0x2870b755 in gtk_marshal_VOID__UINT_STRING ()
from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#56 0x2843c029 in g_cclosure_new_swap ()
from /usr/local/lib/libgobject-2.0.so.0
#57 0x2843bd94 in g_closure_invoke () from /usr/local/lib/ libgobject-2.0.so.0
#58 0x2845102c in g_signal_emit_by_name ()
from /usr/local/lib/libgobject-2.0.so.0
#59 0x284501c7 in g_signal_emit_valist ()
from /usr/local/lib/libgobject-2.0.so.0
#60 0x284503b8 in g_signal_emit () from /usr/local/lib/ libgobject-2.0.so.0
#61 0x287ee07c in gtk_widget_send_expose ()
from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#62 0x287edcf4 in gtk_widget_event () from /usr/X11R6/lib/libgtk- x11-2.0.so.0
#63 0x2870a42c in gtk_propagate_event ()
from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#64 0x28709418 in gtk_main_do_event () from /usr/X11R6/lib/libgtk- x11-2.0.so.0
#65 0x282575eb in gdk_x11_register_standard_event_type ()
from /usr/X11R6/lib/libgdk-x11-2.0.so.0
#66 0x28493036 in g_main_depth () from /usr/local/lib/libglib-2.0.so.0
#67 0x28493ed7 in g_main_context_dispatch ()
from /usr/local/lib/libglib-2.0.so.0
#68 0x284942a2 in g_main_context_dispatch ()
from /usr/local/lib/libglib-2.0.so.0
#69 0x28494876 in g_main_loop_run () from /usr/local/lib/ libglib-2.0.so.0
#70 0x28708cb6 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.0
#71 0x08056ff6 in ?? ()
#72 0x0817f000 in ?? ()
#73 0x0833ca00 in ?? ()
#74 0xbfbfe488 in ?? ()
#75 0x08056fe6 in ?? ()
#76 0x00001470 in ?? ()
#77 0x080f68e0 in ?? ()
#78 0xbfbfe6ac in ?? ()
#79 0x28a5ac68 in __JCR_LIST__ () from /usr/local/lib/libguile.so.15
#80 0x00000000 in ?? ()
#81 0x00000001 in ?? ()
#82 0x080fa800 in ?? ()
#83 0x28a5ac68 in __JCR_LIST__ () from /usr/local/lib/libguile.so.15
#84 0xbfbfe4f0 in ?? ()
#85 0xbfbfe58c in ?? ()
#86 0xbfbfe4a8 in ?? ()
#87 0x28a0e5a0 in invoke_main_func () from /usr/local/lib/ libguile.so.15
Previous frame identical to this frame (corrupt stack?)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user



John Doty Noqsi Aerospace, Ltd. jpd@xxxxxxxxxxxxx


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