On Wed, 2 Jun 2004, Igor Pechtchanski wrote:
> On Wed, 2 Jun 2004, Wirawan Purwanto wrote: > > > I tried to debug the program with gdb, here's the result: > > > > /d/temp $ gdb /usr/bin/gnuplot > > GNU gdb 2003-09-20-cvs (cygwin-special) [snip] > > (gdb) set args offending3.plt > > (gdb) run > > Starting program: /usr/bin/gnuplot.exe offending3.plt > > ---Type <return> to continue, or q <return> to quit--- > > Showing multiplot > > > > Program received signal SIGSEGV, Segmentation fault. > > ---Type <return> to continue, or q <return> to quit--- > > 0x7c5746b9 in KERNEL32!IsBadWritePtr () from /c/WINNT/system32/KERNEL32.DLL > > (gdb) where > > #0 0x7c5746b9 in KERNEL32!IsBadWritePtr () from /c/WINNT/system32/KERNEL32.DLL > ^^^^^^^^^^^^^^^^^^^^^^ > This isn't your hang. See > <http://cygwin.com/ml/cygwin/2004-06/msg00057.html>. > HTH, > Igor > > > #1 0x610a92ed in cygwin1!__getreent () from /usr/bin/cygwin1.dll > > #2 0x00000008 in ?? () > > #3 0x0022d588 in ?? () > > #4 0x610a9387 in cygwin1!__getreent () from /usr/bin/cygwin1.dll > > (gdb) I don't think the program hangs there. As for the KERNEL32 routine that raises that exception, that looks so weird to me! I tried to follow CGF's suggestion to just "continue" from that point. OK, I tried it. But it doesn't get me anywhere. The exception gets called over and over, many-many times that I gave up. Wirawan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/