Discussion:
[perl #41095] [BUG] Segfault in test.exe during Configuration
(too old to reply)
Nikolay Ananiev
2006-12-16 16:13:33 UTC
Permalink
# New Ticket Created by "Nikolay Ananiev"
# Please include the string: [perl #41095]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41095 >


test.exe or config/auto/jit/test_c.in segfault during configuration on Win32. Note that this happent on
Pentium MMX ( 586 ). The test tests for "fucomip"
cpu instruction, but the 586 generation CPUs don't
have it. It's first introduced in
Pentium PRO (686). The segfault opens a debug
window in win32,
where the user must press OK for the Configure
script to continue. After this the configuration and
compilation are successful, because test.exe returns
false after the segfault and "fucomip" is not used.
via RT
2006-12-19 00:40:25 UTC
Permalink
Post by Nikolay Ananiev
test.exe or config/auto/jit/test_c.in segfault during configuration on
Win32. Note that this happent on
Pentium MMX ( 586 ). The test tests for "fucomip"
cpu instruction, but the 586 generation CPUs don't
have it. It's first introduced in
Pentium PRO (686). The segfault opens a debug
window in win32,
where the user must press OK for the Configure
script to continue. After this the configuration and
compilation are successful, because test.exe returns
false after the segfault and "fucomip" is not used.
Thanks for reporting this; kelli++ is looking into using CPUID instead
of just trying to use the opcode and seeing if we crash and burn, as
happens now.

Jonathan
James Keenan via RT
2008-04-14 02:36:55 UTC
Permalink
Jonathan: Do you know if we've overcome this problem?

Thank you very much.

kid51
Nikolay Ananiev
2008-04-14 06:09:33 UTC
Permalink
I'll be able to test Parrot in the next 48 hours
on my pentium mmx and tell you what the result is.

----- Original Message -----
From: "James Keenan via RT" <parrotbug-***@parrotcode.org>
To: <***@thegdb.com>
Sent: Monday, April 14, 2008 5:36 AM
Subject: [perl #41095] [BUG] Segfault in test.exe during Configuration


Jonathan: Do you know if we've overcome this problem?

Thank you very much.

kid51
Nikolay Ananiev
2008-04-16 21:57:40 UTC
Permalink
Confirmed. This bug is still there as of r27009
Post by Nikolay Ananiev
I'll be able to test Parrot in the next 48 hours
on my pentium mmx and tell you what the result is.
----- Original Message -----
Sent: Monday, April 14, 2008 5:36 AM
Subject: [perl #41095] [BUG] Segfault in test.exe during Configuration
Jonathan: Do you know if we've overcome this problem?
Thank you very much.
kid51
Will Coleda
2008-12-07 16:57:28 UTC
Permalink
Thanks - can you also let us know the following:

What version of windows are you using?

Which compiler (including version)?
Tested with r33568. The bug is still there.
----- Original Message ----- From: "Will Coleda via RT"
Sent: Wednesday, December 03, 2008 10:00 PM
Subject: [perl #41095] [BUG] Segfault in test.exe during Configuration
Can someone test this with a recent parrot?
Based on a recent conversation on list, we should probably start getting
OS / Compiler versions as well with bug reports.
Post by Nikolay Ananiev
Confirmed. This bug is still there as of r27009
Post by Nikolay Ananiev
I'll be able to test Parrot in the next 48 hours
on my pentium mmx and tell you what the result is.
----- Original Message ----- > From: "James Keenan via RT"
Sent: Monday, April 14, 2008 5:36 AM
Subject: [perl #41095] [BUG] Segfault in test.exe during
Configuration
Post by Nikolay Ananiev
Post by Nikolay Ananiev
Jonathan: Do you know if we've overcome this problem?
Thank you very much.
kid51
--
Will "Coke" Coleda
--
Will "Coke" Coleda
Nikolay Ananiev
2008-12-07 19:41:10 UTC
Permalink
Windows 2000 SP4
Visual Studio 2003 SP1

The hardware is:
Pentium MMX (586) with 128mb ram.

The problem with the test file is that it does not work reliably for the
processors that do not support the fcomip cpu instruction (586 and earlier).
I tried to fix this myself by using
CPUID, but I don't have enough knowledge and also I don't know how to handle
the non-x86 CPUs (because they
don't support CPUID).

----- Original Message -----
From: "Will Coleda" <***@coleda.com>
To: "Nikolay Ananiev" <***@thegdb.com>
Cc: <parrotbug-***@parrotcode.org>
Sent: Sunday, December 07, 2008 6:57 PM
Subject: Re: [perl #41095] [BUG] Segfault in test.exe during Configuration
Post by Will Coleda
What version of windows are you using?
Which compiler (including version)?
Tested with r33568. The bug is still there.
----- Original Message ----- From: "Will Coleda via RT"
Sent: Wednesday, December 03, 2008 10:00 PM
Subject: [perl #41095] [BUG] Segfault in test.exe during Configuration
Can someone test this with a recent parrot?
Based on a recent conversation on list, we should probably start getting
OS / Compiler versions as well with bug reports.
Post by Nikolay Ananiev
Confirmed. This bug is still there as of r27009
Post by Nikolay Ananiev
I'll be able to test Parrot in the next 48 hours
on my pentium mmx and tell you what the result is.
----- Original Message ----- > From: "James Keenan via RT"
Sent: Monday, April 14, 2008 5:36 AM
Subject: [perl #41095] [BUG] Segfault in test.exe during
Configuration
Post by Nikolay Ananiev
Post by Nikolay Ananiev
Jonathan: Do you know if we've overcome this problem?
Thank you very much.
kid51
--
Will "Coke" Coleda
--
Will "Coke" Coleda
Nikolay Ananiev
2008-12-06 16:47:19 UTC
Permalink
Tested with r33568. The bug is still there.

----- Original Message -----
From: "Will Coleda via RT" <parrotbug-***@parrotcode.org>
To: <***@thegdb.com>
Sent: Wednesday, December 03, 2008 10:00 PM
Subject: [perl #41095] [BUG] Segfault in test.exe during Configuration
Can someone test this with a recent parrot?
Based on a recent conversation on list, we should probably start getting
OS / Compiler versions as well with bug reports.
Post by Nikolay Ananiev
Confirmed. This bug is still there as of r27009
Post by Nikolay Ananiev
I'll be able to test Parrot in the next 48 hours
on my pentium mmx and tell you what the result is.
----- Original Message -----
Sent: Monday, April 14, 2008 5:36 AM
Subject: [perl #41095] [BUG] Segfault in test.exe during
Configuration
Post by Nikolay Ananiev
Post by Nikolay Ananiev
Jonathan: Do you know if we've overcome this problem?
Thank you very much.
kid51
--
Will "Coke" Coleda
Loading...