[Pharo-users] VM crash on Ubuntu 14.04
btc at openinworld.com
Sat Oct 31 22:27:51 EDT 2015
On Fri, Oct 30, 2015 at 2:03 AM, Johan Fabry <jfabry at dcc.uchile.cl> wrote:
> OK, back with access to the Ubuntu machine, I reproduced the crash when
> running under gdb (reproducing it is never an issue, finding the minimal
> case is the issue). See below for gdb output. But my vm has no debug
> information compiled, so it is not really useful. Can I download a vm with
> debug info compiled from somewhere? I would prefer to avoid having to
> download the sources and compile et cetera …
Why not give it a go? :) I found it dead simple to compile the VM for
the first time following instructions at...
This was on OSX and the only problem I had was _not_ following the
instructions and using XCode 10.9 instead of 10.6.
I can't speak for Ubuntu but its the reference Unix platform. I guess
you'll get better support getting started with the standard
instructions (since we'd like them "perfect" and more people will be
able to replicate a problem with these than replicate your unique
One thing though, could someone update  to describe how to get a
debug VM, since that must be a common reason someone wants to compile
their own VM for the first time. I hunted around for some info but
could only find tips from a few years ago and I'm not sure if they
Debug a VM (by Mariano)
Debugging assembly in Pharo VM with GDB (by Melkyades)
> Once I have such a VM I will make some time to further investigate, and
> report results.
> Program received signal SIGSEGV, Segmentation fault.
> 0xb8c2bc31 in ?? ()
> (gdb) bt
> #0 0xb8c2bc31 in ?? ()
> #1 0x080fc9f2 in primitiveNativeCall ()
> #2 0xb4fba770 in ?? ()
> #3 0xb503b05e in ?? ()
> #4 0xb503afcb in ?? ()
> #5 0xb5011abd in ?? ()
> #6 0xb4fba5c0 in ?? ()
> On Oct 27, 2015, at 19:09, Nicolai Hess <nicolaihess at gmail.com> wrote:
> 2015-10-26 15:03 GMT+01:00 Johan Fabry <jfabry at dcc.uchile.cl>:
>> Hi Nicolai,
>> thanks for following up on this.
>> I am in the process of determining what causes the crash. I fear that to
>> reproduce the problem you will need to have ROS installed, I have not yet
>> been able to reproduce it without ROS running. I do not want to inflict the
>> installation of ROS on you without being 100% sure.
>> I am using Roassal because this is for Live Robot Programming
>> (http://pleiad.cl/LRP) which uses a dynamic visualization of the running
>> code. To reproduce the bug (until now) I need to develop code in LRP when
>> using ROS, and then it happens randomly. I realize that this is too much to
>> ask for an outsider to reproduce the bug (I did not expect anybody to
>> download and install PhaROS to try to reproduce, thanks for that!!).
>> Can you inform me how I can get you more useful debug info to you? I will
>> keep trying to find minimal steps to reproduce in the mean time.
> No, the best we can hope for is a crash when it is running from debugger,
> you can start the vm with a debugger or attach the debugger to a running
> process. If we are lucky, the debugger will show a stacktrace.
>> On Oct 24, 2015, at 19:45, Nicolai Hess <nicolaihess at gmail.com> wrote:
>> Can you provide the image file.
>> What exactly runs in the image (does it depend on ROS or
>> does it crash even without it). For what do you
>> use Roassal in this environment.
>> Can you reproduce the crash with a clean image (and maybe loading
>> some package - without all of the ROS-stuff?
>> (I just followed the installation guide for PhaROS, but I have no idea
>> how to go from here to do anything to reproduce the crash).
>> 2015-10-24 21:32 GMT+02:00 Johan Fabry <jfabry at dcc.uchile.cl>:
>>> Ben, thanks for replying but since no VM guys are following up on this,
>>> apparently, it does not make much sense for me to go this way.
>>> Guys, am I to assume there is not help for me on this topic?
>>> > On Oct 23, 2015, at 11:03, Ben Coman <btc at openInWorld.com> wrote:
>>> > On Thu, Oct 22, 2015 at 2:25 AM, Johan Fabry <jfabry at dcc.uchile.cl>
>>> > wrote:
>>> >> Hi all,
>>> >> I am having some unpleasant experiences on Ubuntu 14.04 (experimenting
>>> >> with Live Robot Programming on PhaROS). The VM crashes after a random amount
>>> >> of time (< 25 minutes), with no clear sequence of steps on how to reproduce
>>> >> the crash. I am using Pharo 4 (Pharo 40622 as installed by PhaROS) + Roassal
>>> >> which required an install of libcairo2:i386 . VM version details below.
>>> >> There is no printout on stdout, and the debug.log does not contain
>>> >> recent entries (timestamp is always some minutes before the actual crash
>>> >> happens).
>>> >> Is this a known problem? If so, how can I fix it, and if not how can I
>>> >> provide more debugging info?
>>> >> Thanks in advance!
>>> > I'm not much help since I haven't done these myself, but just some
>>> > ideas (maybe someone can add more details)
>>> > * compile and run a debug vm
>>> > * trace all function calls, http://tinyurl.com/gdb-trace-all
>>> ---> Save our in-boxes! http://emailcharter.org <---
>>> Johan Fabry - http://pleiad.cl/~jfabry
>>> PLEIAD and RyCh labs - Computer Science Department (DCC) - University
>>> of Chile
>> ---> Save our in-boxes! http://emailcharter.org <---
>> Johan Fabry - http://pleiad.cl/~jfabry
>> PLEIAD and RyCh labs - Computer Science Department (DCC) - University
>> of Chile
> ---> Save our in-boxes! http://emailcharter.org <---
> Johan Fabry - http://pleiad.cl/~jfabry
> PLEIAD and RyCh labs - Computer Science Department (DCC) - University of
More information about the Pharo-users