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

Re: gerbv crashes (was Re: gEDA-user: gerbv 1.0 on RH8)



Hello!

This gave quite good information on where the error might be.

What release of gerbv do you run? 1.0.0?

Regards,
/spe


On Tue, 1 Feb 2005, primorec wrote:

more data  ( stack trace )
----------------------------------------

[igor@nemo morgan]$ gdb gerbv
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 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-redhat-linux"...
(gdb) r
Starting program: /usr/local/bin/gerbv

Program received signal SIGSEGV, Segmentation fault.
0x403b338d in calloc () from /lib/libc.so.6
(gdb) where
#0  0x403b338d in calloc () from /lib/libc.so.6
#1  0x403b4098 in free () from /lib/libc.so.6
#2  0x401d2da3 in g_free () from /usr/lib/libglib-1.2.so.0
#3  0x400c1e44 in gtk_label_set_text () from /usr/lib/libgtk-1.2.so.0
#4  0x08056f57 in update_statusbar (scr=0x401e44d0) at gerbv.c:2272
#5  0x080559ca in redraw_pixmap (widget=0x80f69c0, restart=0) at gerbv.c:1520
#6  0x08055152 in idle_redraw_pixmap (data=0x80f69c0) at gerbv.c:1156
#7  0x401d2adf in g_idle_dispatch () from /usr/lib/libglib-1.2.so.0
#8  0x401d197e in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#9  0x401d1e59 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#10 0x401d20f4 in g_main_run () from /usr/lib/libglib-1.2.so.0
#11 0x400d06df in gtk_main () from /usr/lib/libgtk-1.2.so.0
#12 0x08057f68 in main (argc=1, argv=0xbffffa14) at gerbv.c:2792
#13 0x4035a54d in __libc_start_main () from /lib/libc.so.6
(gdb)


On Tue, 1 Feb 2005 19:21:03 -0800, primorec <geda.mail@xxxxxxxxx> wrote:
With this command

gerbv *.gbr

I can load all gerber files at once. Everything works just fine.
Then I've save the project by clicking

File --> Save Project As..

After that I exit gerbv.

Then I start gerbv again  by typing

gerbv

and with a mouse  I click

File --> Open Project

and select previously created project

RESULT:  core dump (ALWAYS)

-------------------------------------------------
BUT when I do the following:

gerbv *.gbr
File -->   Save Project As ..
File -->   Save Project
File -->   Quit

and then I restart the package

gerbv
File --> Open Project

Everything works just fine half of the time. Sometimes I can repete
the sequence 5 times in a row without crash. Sometimes it crashes
every time when I try it.

Regards

Igor

P.S.:

No, this combination DOES NOT WORK.
It crashes ALWAYS

gerbv *.gbr
File --> Save Project
File --> Quit

gerbv
File --> Open Project
CORE DUMP

On Wed, 19 Jan 2005 21:20:24 -0800, primorec <geda.mail@xxxxxxxxx> wrote:
On Wed, 19 Jan 2005 23:32:30 +0100 (CET), Stefan Petersen
<spe@xxxxxxxxxxxxxx> wrote:
What is missing is probably the program
libpng-config,

yes

which you got when you compiled it all yourself.

I guess so... haven't checked.. All I know is the fact I was able to build gerbv. That was important for me :)))

Maybe RH has divided packages into libfoo and libfoo-dev as
Debian, so you need something like libpng-dev.rpm?

no idea... I am not familiar with Debian

Igor