|
From: Daniel J S. <dan...@ie...> - 2006-06-29 00:03:05
|
Ethan A Merritt wrote: > On Wednesday 28 June 2006 03:07 pm, Petr Mikulik wrote: > >>>The problem actually appears to be something that was sitting in the code for >>>quite a while. >>>SourceForge bugs-report isn't working right now. I've attached the patch >> >>I've committed it to cvs. > > > Unfortunately, I think this was a step backwards. > Before this went in, I was unable to replicate the reported crashes. > I'm sure they were real, but they must have been hard to trigger. > With this new patch in cvs, I now get the following: > > gnuplot> history !re > Executing: > reset > gnuplot> history !rep > Executing: > replot > ^ > no previous plot > gnuplot> > *** glibc detected *** malloc(): memory corruption: 0x081e8260 *** > > So I think there is a serious memory error in this code that > was just added. That or you found another bug. I didn't touch anything with the malloc() command or the ! form of history. Only the portion that displays the code, write_history_n(). The command sequence above should not make a call to write_history_n(). Give me a couple hours to see if there is another bug here. I have tried your command sequence and can reproduce something similar. Dan |