This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New cygwin1.dll (1.5.10-3) causes problem (hang) with gnuplot


Hi, the new cygwin1.dll has caused a problem with gnuplot. Here are the
version numbers (obtained via "cygcheck" command):

cygwin                  1.5.10-3
gnuplot                 3.8j.0-1

What happens is that if you run the plot script (supplied in the
attachment), the gnuplot program would just be stuck. Even pressing ^C
doesn't stop the process (seems like all the keyboard is stuck). All I can
do is to kill the gnuplot process from other cygwin window (or from Task
Manager). I'm running cygwin under Windows 2000 SP 4 (build 2195).

I'm not sure what kind of condition would trigger the problem. I
haven't reduced the plot to see the exact cause of the "hang". The same
script (offending3.plt), run in GNUPLOT version 3.7.2 under Red Hat Linux
8, does not cause this problem. Since this "hang" didn't happen with the
previous version of cygwin1.dll, I report this as a cygwin bug first, to
see if that's indeed the case. It may as well that this is gnuplot bug
also.

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)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i686-pc-cygwin"...(no debugging symbols
found)...
(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
#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)

Attachment: offending3.plt
Description: Problem plot script (a test case)

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]