gnupic: gpsim_0.19.4 goes Segmentation fault
Subject:
Re: gpsim_0.19.4 goes Segmentation fault
From:
Scott Dattalo ####@####.####
Date:
6 Jul 2000 13:31:14 -0000
Message-Id: <Pine.LNX.4.21.0007060821300.25127-200000@tempest2.blackhat.net>
On Wed, 5 Jul 2000, Martin Berentsen wrote:
> Hi !
>
> after compiling the new 0.19.4 version it crashes with:
...
After going back and forth a few times, I wrote:
> mv ~/.gpsim ~/.gpsim.bad
>
> This is actually renaming it. So when gpsim starts again, that file will be
> missing and it will have to recreate it from scratch.
>
> Now try running gpsim (0.19.4) and see what happens.
To which Martin replied:
> Yes, thats it ;) 0.19.4 runs
>
> Now I'll try the 0.19.5 one ;)
Score! So some funky state info is getting stored in the configuration
file. I've attached the 'bad' file that Martin sent. Ralf, do you see anything
strange with it? BTW, I made a small change to the gui_regwin.c function:
static void change_view (struct _gui_object *_this, int view_state)
based on the results of a stack trace that Martin sent.
Scott
disassembly {
enabled = 0
x = 474
y = 369
width = 384
height = 167
}
source_browser {
enabled = 1
x = 63
y = 166
width = 547
height = 232
}
register_viewer_ram {
enabled = 1
x = 285
y = 285
width = 730
height = 451
}
symbol_viewer {
enabled = 0
x = 311
y = 377
width = 467
height = 308
filter_constants = 0
filter_registers = 0
}
register_viewer_eeprom {
enabled = 0
x = 0
y = 230
width = 319
height = 100
}
watch_viewer {
enabled = 1
x = 419
y = 23
width = 596
height = 142
}
dispatcher {
x = 602
y = 262
width = 229
height = 81
}
pinout {
enabled = 1
x = 216
y = 309
width = 345
height = 350
}