bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DDD 3.3 (i686-pc-linux-gnu) gets `Segmentation fault' signal


From: Pascal Fleury
Subject: DDD 3.3 (i686-pc-linux-gnu) gets `Segmentation fault' signal
Date: Mon, 5 Mar 2001 14:20:52 +0900

Hi!

I have a nasty bug that came out when using plots of data. Here is the 
procedure to reproduce this:
1) start DDD, open an existing session 
2) run the program up to a breakpoint
3) select a variable, say sgl, and plot it: sgl[0]@256 -> click plot
[the data really has 256 elements :-)]
4) run to another breakpoint
5) plot another variable, say csgl, csgl[0]@256 -> click plot

Up to here, no problem. Then, I figure out a bug, and either recompile the 
program, or just rerun it, changing a variable with the set feature. But it
actually occurs also if I just interrupt the program, and rerun it.

6) run up to the same first breakpoint

At this point, it starts shuffling the plot windows around, replotting the 
uninitialized data (which is expected at this point) and then I get the 
requester with the red buttons. Crash.

All the data is dynamically allocated on the head within the routine, so 
might be different from run to run of the program.
I have also removed the ~/.ddd/log file before going through this procedure, 
so the file is small and everything should be relevant.
This bug seems also to happen independent of the value of the preference flag 
about internal/external plots, the reported one is for external.

Here is my system:
GNU DDD 3.3 (i686-pc-linux-gnu) 
GNU gdb 5.0 This GDB was configured as "i386-redhat-linux"
gcc version 2.96 20000731 (Red Hat Linux 7.0)
redHat 7.0 (Linux gotthard.sslab.sony.co.jp 2.4.1-PF20010213 #18 SMP Sat Feb 
17 01:21:17 JST 2001 i686 unknown)

But the plotting feature is very useful !!! The interface for plotting 
variables could be made more intuitive though (my $0.02 contribution...)

Best regards,
Pascal

Attachment: log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]