This is the mail archive of the cygwin@cygwin.com 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]

Re: Cygwin /dev/null problem or perl 5.8.0 problem? (was: Re: autom4te and perl 5.8.0)


Hallo H.Merijn,

Am Mittwoch, 19. Juni 2002 um 23:35 schriebst du:

> On Wed 19 Jun 2002 23:28, "Gerrit P. Haase" <gp@familiehaase.de> wrote:
>> Hallo Conrad,
>> 
>> Am Mittwoch, 19. Juni 2002 um 23:18 schriebst du:
>> 
>> > "Gerrit P. Haase" <gp@familiehaase.de> wrote:
>> 
>> Segfaulting with perl 5.8.0 on Cygwin:
>> 
>>  use IO::File;
>>  my $out = new IO::File;
>>  $out->open("/dev/null", O_CREAT | O_WRONLY | O_TRUNC, 0666);
>> 
>> >> Can someone please test it with perl 5.6.1 on Cygwin?  I haven't
>> >> installed it anymore...
>> 
>> > It runs w/o segfaulting with perl 5.6.1 under a development version of
>> > cygwin on a win2k box if that's any use to you.
>> 
>> Yes, thanks, then there is s.th. wrong with perl 5.8.0 (at least the
>> Cygwin version I built).
>> 
>> I have the testscript attached, please test on other platforms too.

> cygwin-64int@17265 crashes too

> Exception: STATUS_ACCESS_VIOLATION at eip=100F9AB8
> eax=00000000 ebx=100F9984 ecx=101F72E0 edx=10117090 esi=00000000 edi=00000002
> ebp=0022F9F4 esp=0022F9CC program=C:\Cygwin\pro\bin\perl.exe
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0022F9F4  100F9AB8  (10116650, 10159908, 00000000, 00000000)
> 0022FA54  100FADB2  (10116850, 10159908, 00000001, 00000000)
> 0022FAC4  100F845D  (00000000, 0022FC2C, 00000003, 00000000)
> 0022FC64  100D73F9  (1025C82C, 101F7268, 00000009, 00000001)
> 0022FCA4  100D59CE  (1025C82C, 101F7268, 00000009, 00000001)
> 0022FD04  100C4DD6  (100646EC, 00000000, 10151080, 101512C0)
> 0022FD24  1006481B  (00000004, 610A0368, 0022FE74, 100029E4)
> 0022FD44  100046B5  (00000001, 00000000, 0022FE5C, 1000AAA7)
> 0022FE84  100041F5  (10150330, 10150330, 0022FEB4, 00401079)
> 0022FEB4  004010FF  (00000002, 61560448, 10150278, 00000000)
> 0022FF10  61003F42  (00000000, 00000000, 0A023040, 81BFF940)
> 0022FF40  61004236  (00401050, 0A023040, 81B7CDA0, 00000000)
> 0022FF60  61004275  (00000000, 00000000, 81B7CF30, 00000005)
> 0022FF90  004027FB  (00401050, FFFFFFFF, 80430D77, 00000000)
> 0022FFC0  0040103D  (0A023040, 0022F6D8, 7FFDF000, 00000000)
> 0022FFF0  77E8D326  (00401000, 00000000, 000000C8, 00000100)
> End of stack trace (more stack frames may be present)

> ActiveState-632 does not crash
> Cygwin-5.6.1 does not crash

It looks different for me:

$ export PERLIO=perlio

$ ./test.pl
Segmentation fault (core dumped)

$ cat perl.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=100BEE49
eax=00000000 ebx=00000000 ecx=00000000 edx=102E12C0 esi=1023A81C edi=0022FB4C
ebp=0022FA04 esp=0022F9AC program=H:\bin\perl.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022FA04  100BEE49  (10230440, 100D9B88, 102398C8, 00000000)
0022FA64  100BFBE2  (10230440, 100D9C88, 102398C8, 00000001)
0022FAC4  100BDD60  (10230440, 00000000, 0022FB4C, 00000003)
0022FC54  100A3106  (10230440, 1024DF74, 102DFD48, 00000009)
0022FCA4  100A1821  (10230440, 1024DF74, 102DFD48, 00000009)
0022FCF4  10095886  (10230440, 00000002, 61562560, 10051CC6)
0022FD24  100508CD  (10230440, 10237848, 1023782C, 00000001)
0022FD54  1000448D  (10230440, 00000001, 0022FE6C, 10009A6E)
0022FE84  1000408F  (10230440, 00000001, 0022FEB4, 0040106E)
0022FEB4  004010DF  (00000002, 61562560, 10230278, 00000000)
0022FF10  61003F42  (00000000, 00000000, 0022E764, 77F863DB)
0022FF40  61004236  (00401044, 0022E764, 00000000, 00000000)
0022FF60  61004275  (00000000, 00000000, 815256EB, 81706B20)
0022FF90  0040238B  (00401044, F3CF9E24, 00000246, 8011748B)
0022FFC0  0040103D  (0022E764, 0022E6E8, 7FFDF000, 7FFDF000)
0022FFF0  77F1B9EA  (00401000, 00000000, 000000B0, 00000100)
End of stack trace (more stack frames may be present)


$ export PERLIO=stdio

$ ./test.pl
Segmentation fault (core dumped)

$ cat perl.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=100BF503
eax=00000000 ebx=00000003 ecx=00000000 edx=102489C0 esi=0022FA5C edi=10230ED4
ebp=0022FA64 esp=0022FA3C program=H:\bin\perl.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022FA64  100BF503  (10230440, 100D9C08, 102398C8, 00000001)
0022FAC4  100BDD60  (10230440, 00000000, 0022FB4C, 00000003)
0022FC54  100A3106  (10230440, 1033DF74, 10340548, 00000009)
0022FCA4  100A1821  (10230440, 1033DF74, 10340548, 00000009)
0022FCF4  10095886  (10230440, 00000002, 61562560, 10051CC6)
0022FD24  100508CD  (10230440, 10237848, 1023782C, 00000001)
0022FD54  1000448D  (10230440, 00000001, 0022FE6C, 10009A6E)
0022FE84  1000408F  (10230440, 00000001, 0022FEB4, 0040106E)
0022FEB4  004010DF  (00000002, 61562560, 10230278, 00000000)
0022FF10  61003F42  (00000000, 00000000, 0022E764, 77F863DB)
0022FF40  61004236  (00401044, 0022E764, 00000000, 00000000)
0022FF60  61004275  (00000000, 00000000, 815256EB, 81706B20)
0022FF90  0040238B  (00401044, F3A69E24, 00000246, 8011748B)
0022FFC0  0040103D  (0022E764, 0022E6E8, 7FFDF000, 7FFDF000)
0022FFF0  77F1B9EA  (00401000, 00000000, 000000B0, 00000100)
End of stack trace

-- 
"All faults& bugs are mine - Robert"
    from squid/acinclude.m4,   Sun Apr 21 05:21:21 2002


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]