[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Strange segfaults in gschem when adding big symbols
On Tue, 2008-03-18 at 13:04 +0100, michalwd1979 wrote:
> Hello,
> I am using geda version 20070526 on gentoo 32 bit system, glibc 2.7. Whenever I want to place big symbol on a schematic page (like 500pin Xilinx, or event titleblock A1), gschem segfaults or looks up using 100% cpu power - no reaction on keyboard/mouse. I wanted to trace the problem with gdb but when I attach gdb to gschem it works right - no segfaults or lookups. I have the same situation on 2 different machines, but both with the same gentoo system and the same kernel 2.6.24.
> Can somebody tell me what to do or what should I try? I am new to geda, but I really want to switch to it from my current closed source tools.
Can you send us an example of a symbol which causes the segfault, or get
a backtrace?
Run gschem under gdb:
gdb gschem
type "run" (enter)
and then when it crashes, type "bt" (enter), and post us the output.
I can't recall the right "use" flag or config option for building
packages in gentoo which aren't stripped of debugging info, but its
something like "nostrip" in the make.conf or on a command line option.
We'll need output from a non-stripped version of gschem for this tracing
to be of any use.
try: FEATURES="nostrip" emerge --oneshot geda
You could also try with the 1.4.0 version. which is in "unstable". I
think the rune is something like:
ACCEPT_KEYWORDS="~x86" FEATURES="nostrip" emerge --oneshot geda
(The --oneshot is to avoid listing the package as manually installed,
although it probably is already.. you would definately use it if you
needed to rebuild any system libraries with "nostrip" to get a decent
backtrace, so that automatic removals can still work when the library is
no longer needed).
Best regards,
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user