gnupic: I'm crashing the GUI in gpsim 0.20.X. Any ideas?


Previous by date: 5 Oct 2001 10:45:40 -0000 Re: I'm crashing the GUI in gpsim 0.20.X. Any ideas?, Scott Dattalo
Next by date: 5 Oct 2001 10:45:40 -0000 gpasm-0.9.13, Craig Franklin
Previous in thread: 5 Oct 2001 10:45:40 -0000 Re: I'm crashing the GUI in gpsim 0.20.X. Any ideas?, Scott Dattalo
Next in thread: 5 Oct 2001 10:45:40 -0000 Re: I'm crashing the GUI in gpsim 0.20.X. Any ideas?, Ralf Forsberg

Subject: Re: I'm crashing the GUI in gpsim 0.20.X. Any ideas?
From: Ralf Forsberg ####@####.####
Date: 5 Oct 2001 10:45:40 -0000
Message-Id: <20011005123900.A14320@home.se>

On Thu, Oct 04, 2001 at 11:34:41PM -0700, Scott Dattalo wrote:
> >
> > No change. Here's the backtrace:
> >
> > -------------------------------------------------------------
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x40085f04 in XrefObject::add (this=0x80d78a0, xref=0x80fc718)
> >     at /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_list.h:347
> > 347         ((_Node*) (__position._M_node->_M_prev))->_M_next = __tmp;
> > (gdb) bt
> > #0  0x40085f04 in XrefObject::add (this=0x80d78a0, xref=0x80fc718)
> >     at /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_list.h:347
> > #1  0x40063d19 in gpsim_assign_program_xref (processor_id=1, address=490,
> >     xref=0x80fc718) at interface.cc:666
>                                       ^^^
>     -----------------------------------|
> 
> Hah! Caught it! Try putting a comment on line 666.

The devil works in mysterious ways... :-)

> 
> Actually, the problem is that the value for "address" is bad. I'm afraid
> Philip is right; the cause is at another point in the code. If you don't
> mind, send me a copy of your .asm source and I'll dive into.

It would be a good idea to try out Electric Fence. It's really simple to
use, its simply linking with another library. I tried it, but then I
found out that gdb has stopped working for me. 

 / Ralf


Previous by date: 5 Oct 2001 10:45:40 -0000 Re: I'm crashing the GUI in gpsim 0.20.X. Any ideas?, Scott Dattalo
Next by date: 5 Oct 2001 10:45:40 -0000 gpasm-0.9.13, Craig Franklin
Previous in thread: 5 Oct 2001 10:45:40 -0000 Re: I'm crashing the GUI in gpsim 0.20.X. Any ideas?, Scott Dattalo
Next in thread: 5 Oct 2001 10:45:40 -0000 Re: I'm crashing the GUI in gpsim 0.20.X. Any ideas?, Ralf Forsberg


Powered by ezmlm-browse 0.20.