Debugging Cog crash

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging Cog crash

Schwab,Wilhelm K
Hello all,

I have an account on an Ubuntu terminal server (at least I think that's what it would be called) running 10.10.  The Cog one-click image crashes with "Segmentation fault" (if run from a terminal); the legacy VM seems to run the image nicely on the box.  Any ideas?  I will happily collect any facts that will be of help, but I need some
direction.

Bill



Reply | Threaded
Open this post in threaded view
|

Re: Debugging Cog crash

Igor Stasenko
On 7 April 2011 23:10, Schwab,Wilhelm K <[hidden email]> wrote:
> Hello all,
>
> I have an account on an Ubuntu terminal server (at least I think that's what it would be called) running 10.10.  The Cog one-click image crashes with "Segmentation fault" (if run from a terminal); the legacy VM seems to run the image nicely on the box.  Any ideas?  I will happily collect any facts that will be of help, but I need some
> direction.
>

Post to vm-dev list
And don't forget to specify vm version you using.
:)

> Bill
>
>
>
>



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: Debugging Cog crash

Mariano Martinez Peck
In reply to this post by Schwab,Wilhelm K
also...shouldn't be a crash/dump file somewhere?

can you write the output of the console where you invoke the VM into a file ?   (using > to redirect)

Cheers

Mariano

On Thu, Apr 7, 2011 at 11:10 PM, Schwab,Wilhelm K <[hidden email]> wrote:
Hello all,

I have an account on an Ubuntu terminal server (at least I think that's what it would be called) running 10.10.  The Cog one-click image crashes with "Segmentation fault" (if run from a terminal); the legacy VM seems to run the image nicely on the box.  Any ideas?  I will happily collect any facts that will be of help, but I need some
direction.

Bill






--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

FW: Debugging Cog crash

Schwab,Wilhelm K
Gratuitous default recipient...

If there is a verbose dump option or other diagnostic efforts that will help, I will do my best to run them and report the results.  I am fairly certain the vm is 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.54]' (can verify later today), but this happened with an earlier Cog one-click too.  There is something about the machine (UUID again?) that is different.  I do not have root access to it, but I can get to a terminal.  Ubuntu 10.10.


________________________________________
From: Schwab,Wilhelm K
Sent: Friday, April 08, 2011 7:44 AM
To: Mariano Martinez Peck
Subject: RE: [Pharo-project] Debugging Cog crash

Mariano,

I first identified this problem/opportunity a while ago.  At the time, there was no log - the vm just died.  I can sniff around again as there might be one this time.  My question at the time was whether there was something that I could enable to perhaps get more info.

The output from the vm is, and I quote<g> "Segmentation fault".  There is no other output.  Perhaps it does not get far enough to have a call stack??

Bill



________________________________________
From: Mariano Martinez Peck [[hidden email]]
Sent: Friday, April 08, 2011 3:42 AM
To: Squeak Development Discussion Virtual Machine; Pharo Development
Cc: Schwab,Wilhelm K
Subject: Re: [Pharo-project] Debugging Cog crash

also...shouldn't be a crash/dump file somewhere?

can you write the output of the console where you invoke the VM into a file ?   (using > to redirect)

Cheers

Mariano

On Thu, Apr 7, 2011 at 11:10 PM, Schwab,Wilhelm K <[hidden email]<mailto:[hidden email]>> wrote:
Hello all,

I have an account on an Ubuntu terminal server (at least I think that's what it would be called) running 10.10.  The Cog one-click image crashes with "Segmentation fault" (if run from a terminal); the legacy VM seems to run the image nicely on the box.  Any ideas?  I will happily collect any facts that will be of help, but I need some
direction.

Bill






--
Mariano
http://marianopeck.wordpress.com


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] FW: Debugging Cog crash

David T. Lewis
Yes, the libuuid.so bug would be a likely suspect. If the UUIDPlugin was
built as an external library, just delete it and you will probably be
good to go.

If you need further info, look here:
http://bugs.squeak.org/view.php?id=7358

Dave

On Fri, Apr 08, 2011 at 07:58:39AM -0400, Schwab,Wilhelm K wrote:

>
> Gratuitous default recipient...
>
> If there is a verbose dump option or other diagnostic efforts that will help, I will do my best to run them and report the results.  I am fairly certain the vm is 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.54]' (can verify later today), but this happened with an earlier Cog one-click too.  There is something about the machine (UUID again?) that is different.  I do not have root access to it, but I can get to a terminal.  Ubuntu 10.10.
>
>
> ________________________________________
> From: Schwab,Wilhelm K
> Sent: Friday, April 08, 2011 7:44 AM
> To: Mariano Martinez Peck
> Subject: RE: [Pharo-project] Debugging Cog crash
>
> Mariano,
>
> I first identified this problem/opportunity a while ago.  At the time, there was no log - the vm just died.  I can sniff around again as there might be one this time.  My question at the time was whether there was something that I could enable to perhaps get more info.
>
> The output from the vm is, and I quote<g> "Segmentation fault".  There is no other output.  Perhaps it does not get far enough to have a call stack??
>
> Bill
>
>
>
> ________________________________________
> From: Mariano Martinez Peck [[hidden email]]
> Sent: Friday, April 08, 2011 3:42 AM
> To: Squeak Development Discussion Virtual Machine; Pharo Development
> Cc: Schwab,Wilhelm K
> Subject: Re: [Pharo-project] Debugging Cog crash
>
> also...shouldn't be a crash/dump file somewhere?
>
> can you write the output of the console where you invoke the VM into a file ?   (using > to redirect)
>
> Cheers
>
> Mariano
>
> On Thu, Apr 7, 2011 at 11:10 PM, Schwab,Wilhelm K <[hidden email]<mailto:[hidden email]>> wrote:
> Hello all,
>
> I have an account on an Ubuntu terminal server (at least I think that's what it would be called) running 10.10.  The Cog one-click image crashes with "Segmentation fault" (if run from a terminal); the legacy VM seems to run the image nicely on the box.  Any ideas?  I will happily collect any facts that will be of help, but I need some
> direction.
>
> Bill
>
>
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] FW: Debugging Cog crash

Schwab,Wilhelm K
Dave,

It was, I did :)  No help :(  What else can I try?

Bill


________________________________________
From: [hidden email] [[hidden email]] On Behalf Of David T. Lewis [[hidden email]]
Sent: Friday, April 08, 2011 10:32 AM
To: Squeak Virtual Machine Development Discussion
Cc: [hidden email]
Subject: Re: [Pharo-project] [Vm-dev] FW:  Debugging Cog crash

Yes, the libuuid.so bug would be a likely suspect. If the UUIDPlugin was
built as an external library, just delete it and you will probably be
good to go.

If you need further info, look here:
http://bugs.squeak.org/view.php?id=7358

Dave

On Fri, Apr 08, 2011 at 07:58:39AM -0400, Schwab,Wilhelm K wrote:

>
> Gratuitous default recipient...
>
> If there is a verbose dump option or other diagnostic efforts that will help, I will do my best to run them and report the results.  I am fairly certain the vm is 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.54]' (can verify later today), but this happened with an earlier Cog one-click too.  There is something about the machine (UUID again?) that is different.  I do not have root access to it, but I can get to a terminal.  Ubuntu 10.10.
>
>
> ________________________________________
> From: Schwab,Wilhelm K
> Sent: Friday, April 08, 2011 7:44 AM
> To: Mariano Martinez Peck
> Subject: RE: [Pharo-project] Debugging Cog crash
>
> Mariano,
>
> I first identified this problem/opportunity a while ago.  At the time, there was no log - the vm just died.  I can sniff around again as there might be one this time.  My question at the time was whether there was something that I could enable to perhaps get more info.
>
> The output from the vm is, and I quote<g> "Segmentation fault".  There is no other output.  Perhaps it does not get far enough to have a call stack??
>
> Bill
>
>
>
> ________________________________________
> From: Mariano Martinez Peck [[hidden email]]
> Sent: Friday, April 08, 2011 3:42 AM
> To: Squeak Development Discussion Virtual Machine; Pharo Development
> Cc: Schwab,Wilhelm K
> Subject: Re: [Pharo-project] Debugging Cog crash
>
> also...shouldn't be a crash/dump file somewhere?
>
> can you write the output of the console where you invoke the VM into a file ?   (using > to redirect)
>
> Cheers
>
> Mariano
>
> On Thu, Apr 7, 2011 at 11:10 PM, Schwab,Wilhelm K <[hidden email]<mailto:[hidden email]>> wrote:
> Hello all,
>
> I have an account on an Ubuntu terminal server (at least I think that's what it would be called) running 10.10.  The Cog one-click image crashes with "Segmentation fault" (if run from a terminal); the legacy VM seems to run the image nicely on the box.  Any ideas?  I will happily collect any facts that will be of help, but I need some
> direction.
>
> Bill
>
>
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] FW: Debugging Cog crash

Schwab,Wilhelm K
Levente,

The image will not load at all.  It simply dies with "Segmentation fault" - NOTHING else happens.  gdb is maybe a possibility, but it is not an approach I ordinarily take, so some guidance would be helpful.

I have a reproducible crash, but poor access to the affected box.

Bill



On Fri, 8 Apr 2011, Schwab,Wilhelm K wrote:

>
> Gratuitous default recipient...
>
> If there is a verbose dump option or other diagnostic efforts that will help, I will do my best to run them and report the results.  I am fairly certain the vm is 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.54]' (can verify later today), but this happened with an earlier Cog one-click too.  There is something about the machine (UUID again?) that is different.  I do not have root access to it, but I can get to a terminal.  Ubuntu 10.10.

Where did you download the VM?
Does it crash when you're trying to evaluate [UUID new]?
Did you try gdb?


Levente





________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Schwab,Wilhelm K [[hidden email]]
Sent: Friday, April 08, 2011 11:42 AM
To: [hidden email]; Squeak Virtual Machine Development Discussion
Subject: Re: [Pharo-project] [Vm-dev] FW:  Debugging Cog crash

Dave,

It was, I did :)  No help :(  What else can I try?

Bill


________________________________________
From: [hidden email] [[hidden email]] On Behalf Of David T. Lewis [[hidden email]]
Sent: Friday, April 08, 2011 10:32 AM
To: Squeak Virtual Machine Development Discussion
Cc: [hidden email]
Subject: Re: [Pharo-project] [Vm-dev] FW:  Debugging Cog crash

Yes, the libuuid.so bug would be a likely suspect. If the UUIDPlugin was
built as an external library, just delete it and you will probably be
good to go.

If you need further info, look here:
http://bugs.squeak.org/view.php?id=7358

Dave

On Fri, Apr 08, 2011 at 07:58:39AM -0400, Schwab,Wilhelm K wrote:

>
> Gratuitous default recipient...
>
> If there is a verbose dump option or other diagnostic efforts that will help, I will do my best to run them and report the results.  I am fairly certain the vm is 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.54]' (can verify later today), but this happened with an earlier Cog one-click too.  There is something about the machine (UUID again?) that is different.  I do not have root access to it, but I can get to a terminal.  Ubuntu 10.10.
>
>
> ________________________________________
> From: Schwab,Wilhelm K
> Sent: Friday, April 08, 2011 7:44 AM
> To: Mariano Martinez Peck
> Subject: RE: [Pharo-project] Debugging Cog crash
>
> Mariano,
>
> I first identified this problem/opportunity a while ago.  At the time, there was no log - the vm just died.  I can sniff around again as there might be one this time.  My question at the time was whether there was something that I could enable to perhaps get more info.
>
> The output from the vm is, and I quote<g> "Segmentation fault".  There is no other output.  Perhaps it does not get far enough to have a call stack??
>
> Bill
>
>
>
> ________________________________________
> From: Mariano Martinez Peck [[hidden email]]
> Sent: Friday, April 08, 2011 3:42 AM
> To: Squeak Development Discussion Virtual Machine; Pharo Development
> Cc: Schwab,Wilhelm K
> Subject: Re: [Pharo-project] Debugging Cog crash
>
> also...shouldn't be a crash/dump file somewhere?
>
> can you write the output of the console where you invoke the VM into a file ?   (using > to redirect)
>
> Cheers
>
> Mariano
>
> On Thu, Apr 7, 2011 at 11:10 PM, Schwab,Wilhelm K <[hidden email]<mailto:[hidden email]>> wrote:
> Hello all,
>
> I have an account on an Ubuntu terminal server (at least I think that's what it would be called) running 10.10.  The Cog one-click image crashes with "Segmentation fault" (if run from a terminal); the legacy VM seems to run the image nicely on the box.  Any ideas?  I will happily collect any facts that will be of help, but I need some
> direction.
>
> Bill
>
>
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com



Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] FW: Debugging Cog crash

Schwab,Wilhelm K

"You still didn't answer where you got the VM."

http://gforge.inria.fr/frs/download.php/28439/Pharo-1.2.1-CogOneClick.zip




________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Schwab,Wilhelm K [[hidden email]]
Sent: Friday, April 08, 2011 11:56 AM
To: [hidden email]; Squeak Virtual Machine Development Discussion
Subject: Re: [Pharo-project] [Vm-dev] FW:  Debugging Cog crash

Levente,

The image will not load at all.  It simply dies with "Segmentation fault" - NOTHING else happens.  gdb is maybe a possibility, but it is not an approach I ordinarily take, so some guidance would be helpful.

I have a reproducible crash, but poor access to the affected box.

Bill



On Fri, 8 Apr 2011, Schwab,Wilhelm K wrote:

>
> Gratuitous default recipient...
>
> If there is a verbose dump option or other diagnostic efforts that will help, I will do my best to run them and report the results.  I am fairly certain the vm is 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.54]' (can verify later today), but this happened with an earlier Cog one-click too.  There is something about the machine (UUID again?) that is different.  I do not have root access to it, but I can get to a terminal.  Ubuntu 10.10.

Where did you download the VM?
Does it crash when you're trying to evaluate [UUID new]?
Did you try gdb?


Levente





________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Schwab,Wilhelm K [[hidden email]]
Sent: Friday, April 08, 2011 11:42 AM
To: [hidden email]; Squeak Virtual Machine Development Discussion
Subject: Re: [Pharo-project] [Vm-dev] FW:  Debugging Cog crash

Dave,

It was, I did :)  No help :(  What else can I try?

Bill


________________________________________
From: [hidden email] [[hidden email]] On Behalf Of David T. Lewis [[hidden email]]
Sent: Friday, April 08, 2011 10:32 AM
To: Squeak Virtual Machine Development Discussion
Cc: [hidden email]
Subject: Re: [Pharo-project] [Vm-dev] FW:  Debugging Cog crash

Yes, the libuuid.so bug would be a likely suspect. If the UUIDPlugin was
built as an external library, just delete it and you will probably be
good to go.

If you need further info, look here:
http://bugs.squeak.org/view.php?id=7358

Dave

On Fri, Apr 08, 2011 at 07:58:39AM -0400, Schwab,Wilhelm K wrote:

>
> Gratuitous default recipient...
>
> If there is a verbose dump option or other diagnostic efforts that will help, I will do my best to run them and report the results.  I am fairly certain the vm is 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.54]' (can verify later today), but this happened with an earlier Cog one-click too.  There is something about the machine (UUID again?) that is different.  I do not have root access to it, but I can get to a terminal.  Ubuntu 10.10.
>
>
> ________________________________________
> From: Schwab,Wilhelm K
> Sent: Friday, April 08, 2011 7:44 AM
> To: Mariano Martinez Peck
> Subject: RE: [Pharo-project] Debugging Cog crash
>
> Mariano,
>
> I first identified this problem/opportunity a while ago.  At the time, there was no log - the vm just died.  I can sniff around again as there might be one this time.  My question at the time was whether there was something that I could enable to perhaps get more info.
>
> The output from the vm is, and I quote<g> "Segmentation fault".  There is no other output.  Perhaps it does not get far enough to have a call stack??
>
> Bill
>
>
>
> ________________________________________
> From: Mariano Martinez Peck [[hidden email]]
> Sent: Friday, April 08, 2011 3:42 AM
> To: Squeak Development Discussion Virtual Machine; Pharo Development
> Cc: Schwab,Wilhelm K
> Subject: Re: [Pharo-project] Debugging Cog crash
>
> also...shouldn't be a crash/dump file somewhere?
>
> can you write the output of the console where you invoke the VM into a file ?   (using > to redirect)
>
> Cheers
>
> Mariano
>
> On Thu, Apr 7, 2011 at 11:10 PM, Schwab,Wilhelm K <[hidden email]<mailto:[hidden email]>> wrote:
> Hello all,
>
> I have an account on an Ubuntu terminal server (at least I think that's what it would be called) running 10.10.  The Cog one-click image crashes with "Segmentation fault" (if run from a terminal); the legacy VM seems to run the image nicely on the box.  Any ideas?  I will happily collect any facts that will be of help, but I need some
> direction.
>
> Bill
>
>
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com




Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] FW: Debugging Cog crash

Schwab,Wilhelm K
Levente,

I follow on why my shell script did not work.  Your instructions got me going, but we still don't have an answer.  The vm is running, but I cannot attach:

    http://lists.squeakfoundation.org/pipermail/vm-dev/2008-March/001840.html

From what I read, one answer is the get the image loaded and then attach - my problem is that the vm never gets far enough to actually load the image.

Any ideas?

Bill