Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
The parrot crashes...
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dan Sugalski  
View profile  
 More options Jan 20 2003, 2:49 pm
Newsgroups: perl.perl6.internals
From: d...@sidhe.org (Dan Sugalski)
Date: Mon, 20 Jan 2003 14:09:10 -0500
Local: Mon, Jan 20 2003 2:09 pm
Subject: The parrot crashes...
Rather badly, actually. All the tests that involve parrot currently
segfault in the NCI mark routine. At least on OS X, I'm not sure
about other platforms.
--
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
d...@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Jan 20 2003, 6:48 pm
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Mon, 20 Jan 2003 23:54:03 +0100
Local: Mon, Jan 20 2003 5:54 pm
Subject: Re: The parrot crashes...

Dan Sugalski wrote:
> Rather badly, actually. All the tests that involve parrot currently
> segfault in the NCI mark routine. At least on OS X, I'm not sure about
> other platforms.

Not on i386/Linux, anyway ...

Could be a slightly wrong init sequence, which I did introduce and have
hopefully fixed now.

When the commit cures the problem I have one addition, to (hopefully)
provoke such errors with --gc-debug.

leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Jan 20 2003, 6:48 pm
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Tue, 21 Jan 2003 00:27:44 +0100
Local: Mon, Jan 20 2003 6:27 pm
Subject: Re: The parrot crashes...

Dan Sugalski wrote:
> Rather badly, actually. All the tests that involve parrot currently
> segfault in the NCI mark routine. At least on OS X, I'm not sure about
> other platforms.

Some questions WRT tinderboxen:
- above error seems currently not to be covered
- which machines are when reported/online (now only ~5)
- could we (people that wants to) have a *short* daily mail report like:

   $arch       compilerr  warnings test failures
-----------------------------------------------
   i386/linux  0          2        0
   cray X1     4711       -        -
   ...

Thanks,
leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josh Wilmes  
View profile  
 More options Jan 20 2003, 10:49 pm
Newsgroups: perl.perl6.internals
From: j...@hitchhiker.org (Josh Wilmes)
Date: Mon, 20 Jan 2003 22:39:24 -0500
Local: Mon, Jan 20 2003 10:39 pm
Subject: Re: The parrot crashes...

It appears to be the same thing for tcc and lcc on linux.   The nearest I
can tell, the value stuffed into struct_val in Parrot_NCI_set_string_keyed
is somehow not a valid PObj- dereferencing its "obj" member seems to blow
things up.

It stomps all over the stack somehow, and I don't have much debugger mojo.

Plus, building with "-g" makes the problem go away.  Bah.  

--Josh

At 14:09 on 01/20/2003 EST, Dan Sugalski <d...@sidhe.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Blair Christensen  
View profile  
 More options Jan 21 2003, 7:49 am
Newsgroups: perl.perl6.internals
From: blair+pe...@devclue.com (Blair Christensen)
Date: Mon, 20 Jan 2003 14:14:13 -0600
Local: Mon, Jan 20 2003 3:14 pm
Subject: Re: The parrot crashes...

On Mon, Jan 20, 2003 at 02:09:10PM -0500, Dan Sugalski wrote:
> Rather badly, actually. All the tests that involve parrot currently
> segfault in the NCI mark routine. At least on OS X, I'm not sure
> about other platforms.

5.8.0/Sparc64/OpenBSD is also rather unhappy.

I'm getting the following core dumps:
intlist_1.core   intlist_3.core   list_1.core      parrot.core      sprintf_2.core
intlist_2.core   intlist_4.core   list_2.core      sprintf_1.core

parrot.core is the only one that seems to be having problems with
Parrot_NCI_mark, however.

% gdb -c parrot.core parrot
GNU gdb 4.16.1
This GDB was configured as "sparc64-unknown-openbsd3.1"
Core was generated by `parrot'.
Program terminated with signal 10, Bus error.
#0  0x1a8638 in pobject_lives ()
(gdb) bt
#0  0x1a8638 in pobject_lives ()
#1  0x1bcc78 in Parrot_NCI_mark ()
#2  0x1a8b88 in trace_active_PMCs ()
#3  0x1a9340 in Parrot_do_dod_run ()
#4  0x1a72c0 in more_traceable_objects ()
#5  0x1a73cc in get_free_object ()
#6  0x1a7a1c in get_free_buffer ()
#7  0x1a7f3c in new_bufferlike_header ()
#8  0x164354 in list_new ()
#9  0x1b2190 in Parrot_Array_init ()
#10 0x1663b0 in setup_argv ()
#11 0x166640 in Parrot_runcode ()
#12 0x1cdf98 in main ()
#13 0x11332c in ___start ()

blair.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Jan 21 2003, 8:48 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Tue, 21 Jan 2003 13:53:26 +0100
Local: Tues, Jan 21 2003 7:53 am
Subject: Re: The parrot crashes...

blair christensen wrote:
> On Mon, Jan 20, 2003 at 02:09:10PM -0500, Dan Sugalski wrote:

>>Rather badly, actually. All the tests that involve parrot currently
>>segfault in the NCI mark routine. At least on OS X, I'm not sure
>>about other platforms.
> (gdb) bt
> #0  0x1a8638 in pobject_lives ()
> #1  0x1bcc78 in Parrot_NCI_mark ()

Is this with my patch (in CVS) already applied?

> blair.

leo

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Blair Christensen  
View profile  
 More options Jan 21 2003, 3:48 pm
Newsgroups: perl.perl6.internals
From: blair+pe...@devclue.com (Blair Christensen)
Date: Tue, 21 Jan 2003 13:33:54 -0600
Local: Tues, Jan 21 2003 2:33 pm
Subject: Re: The parrot crashes...

On Tue, Jan 21, 2003 at 01:53:26PM +0100, Leopold Toetsch wrote:
> blair christensen wrote:

> >On Mon, Jan 20, 2003 at 02:09:10PM -0500, Dan Sugalski wrote:

> >>Rather badly, actually. All the tests that involve parrot currently
> >>segfault in the NCI mark routine. At least on OS X, I'm not sure
> >>about other platforms.

> >(gdb) bt
> >#0  0x1a8638 in pobject_lives ()
> >#1  0x1bcc78 in Parrot_NCI_mark ()

> Is this with my patch (in CVS) already applied?

Yes.

I just did a realclean, cvs up, configure, make, and make test.

Lots of core files and as the last tinderbox report for this box
shows [0], a lot of failed tests.  Parrot has never been completely
happy on this box but it seems to have taken a turn for the worse.

blair.

[0] <http://tinderbox.perl.org/tinderbox/showlog.cgi?log=parrot/1043172962...>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Glover  
View profile  
 More options Jan 21 2003, 3:48 pm
Newsgroups: perl.perl6.internals
From: s...@amnh.org (Simon Glover)
Date: Tue, 21 Jan 2003 15:42:55 -0500 (EST)
Local: Tues, Jan 21 2003 3:42 pm
Subject: Re: The parrot crashes...

 Here's another data-point, for Linux/x86: with a fresh check-out, parrot
 is passing all of its tests, but most of the imcc tests are failing.
 Specifically, I get:

 Failed Test       Stat Wstat Total Fail  Failed  List of Failed
 ------------------------------------------------------------------
 t/syn/clash.t        5  1280     5    5 100.00%  1-5
 t/syn/const.t        3   768     3    3 100.00%  1-3
 t/syn/eval.t         2   512     3    2  66.67%  1-2
 t/syn/labels.t       3   768     3    3 100.00%  1-3
 t/syn/namespace.t    3   768     3    3 100.00%  1-3
 t/syn/scope.t        3   768     3    3 100.00%  1-3
 1 subtest skipped.
 Failed 6/9 test scripts, 33.33% okay. 19/24 subtests failed, 20.83% okay.

 Closer examination suggests that all of these tests are failing because
 imcc is sgefaulting; a representative backtrace is:

 Program received signal SIGSEGV, Segmentation fault.
 0x080dfb0a in pobject_lives ()
 (gdb) bt
 #0  0x080dfb0a in pobject_lives ()
 #1  0x080ec252 in Parrot_NCI_mark ()
 #2  0x080dfe94 in trace_active_PMCs ()
 #3  0x080e03ac in Parrot_do_dod_run ()
 #4  0x080e4cdd in more_traceable_objects ()
 #5  0x080e4d7c in get_free_object ()
 #6  0x080df260 in get_free_buffer ()
 #7  0x080df61a in new_bufferlike_header ()
 #8  0x080b60e3 in list_new ()
 #9  0x080e51ff in Parrot_Array_init ()
 #10 0x080b76ae in setup_argv ()
 #11 0x080b7834 in Parrot_runcode ()
 #12 0x0805693a in main ()

 ...which looks to be related to the problem people are encountering on
 the other platforms.

 Hope this is useful,
 Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Jan 21 2003, 6:48 pm
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Wed, 22 Jan 2003 00:14:32 +0100
Local: Tues, Jan 21 2003 6:14 pm
Subject: Re: The parrot crashes...

blair christensen wrote:

and Simon Glover reported:

>>>#0  0x1a8638 in pobject_lives ()
>>>#1  0x1bcc78 in Parrot_NCI_mark ()

I dunno yet, why mark is called with an uninitialized struct_val. The
mark function should only be called, if the corresponding flag is set.

For a first check, what's going on, I added init() again, which clears
struct_val.

I still don't understand, why NCI's mark is called. These objects are
only present in nci and (derived in) eval tests (and one pmc test or
so). Wrong object numbering or such, which "make realclean" (the
dependencies in the first place but, ...) should cope with.

Thanks for keekping on reporting this,
leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Jan 22 2003, 1:48 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Wed, 22 Jan 2003 00:25:15 +0100
Local: Tues, Jan 21 2003 6:25 pm
Subject: Re: The parrot crashes...

blair christensen wrote:
>>>(gdb) bt
>>>#0  0x1a8638 in pobject_lives ()
>>>#1  0x1bcc78 in Parrot_NCI_mark ()

Just one thought:

before my eval patch PerlHash's enum was 12, what now NCI has.
 From PMC.pm (now):

                NCI => 12,
         PerlArray => 13,
         PerlHash => 14,
         PerlInt => 15,

leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »