[Vm-dev] CogVM crashing

Eliot Miranda eliot.miranda at gmail.com
Sat Jan 1 23:17:14 UTC 2011


Hi Casimiro,

    can you update and try again?  I just fixed a bug that caused hard
crashes for Torsten.  The new VMs are on my site and teh source is in svn.
 r2340/VMMaker-oscog.42/VM.r2340/<http://www.mirandabanda.org/files/Cog/VM/VM.r2340/>

<http://www.mirandabanda.org/files/Cog/VM/VM.r2340/>cheers
Eliot

On Sat, Jan 1, 2011 at 3:04 PM, Casimiro de Almeida Barreto <
casimiro.barreto at gmail.com> wrote:

>
>  Yesterday I downloaded latest CogVM sourcecode:
>
> [casimiro at localhost cog]$ svn co
> http://www.squeakvm.org/svn/squeak/branches/Cog/
>
> During tests I found some problems.
>
> 1) It compiles (unixbuild) but fails to install (script problem). Had to
> install by hand
> 2) After started, when I try to access stream via network (update or
> Monticello) it crashes with:
>
> cog script is:
>
> #!/bin/sh
>
> if [ -d ~/Desenvolvimento/squeak ]
> then
>   BIN=/opt/cog/lib/squeak/3.9-7
>   PLUGINS=$BIN
>   SQUEAK_PLUGINS=/opt/cog/squeak/3.9-7
>   SQUEAK_ENCODING=UTF-8
>   SQUEAK_TEXTENC=UTF-8
>   SQUEAK_PATHENC=UTF-8
>   export BIN PLUGINS SQUEAK_ENCODING SQUEAK_TEXTENC SQUEAK_PATHENC
>
>   # prepending is less flexible but safer because it ensures we find the
> plugins
>   # in the same directory as the VM.
>   cd ~/Desenvolvimento/cog &&
> LD_LIBRARY_PATH=$PLUGINS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} exec
> "$BIN/squeak" "$@"
> fi
>
> [casimiro at localhost cog]$ cog
>
> Case not found and no otherwise clause
>
>
>
> Smalltalk stack dump:
> 0xbfce2f80 I Float>absPrintOn:base: 2026427024: a(n) Float
> 0xbfce2fa0 M Float>? 2026427024: a(n) Float
> 0xbfce2fc0 M Float>? 2026427024: a(n) Float
> 0xbfce2fdc M LimitedWriteStream>? 2026426120: a(n) LimitedWriteStream
> 0xbfce3004 I Color>storeOn: 2005384156: a(n) Color
> 0xbfce302c I Color>printOn: 2005384156: a(n) Color
>
> Segmentation fault
>
>
> Most recent primitives
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> instVarAt:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> instVarAt:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> instVarAt:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> compare:with:collated:
> instVarAt:
> basicNew
> new:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> basicNew
> new:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> at:put:
> species
> basicNew
> new:
> new
> value:
> basicNew
> new:
> new:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> value:
> basicNew:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> identityHash
> basicNew:
> basicNew
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> findFirstInString:inSet:startingAt:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> findFirstInString:inSet:startingAt:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> instVarAt:
> basicNew:
> basicNew
> at:put:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> findFirstInString:inSet:startingAt:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> findFirstInString:inSet:startingAt:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> at:put:
> primWrite:from:startingAt:count:
> instVarAt:
> basicNew:
> basicNew
> value:
> perform:
> value:
> =
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> perform:
> basicNew:
> replaceFrom:to:with:startingAt:
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> fractionPart
> truncated
> perform:with:
> *
> >
> asFloat
> exponent
> truncated
> timesTwoPower:
> timesTwoPower:
> timesTwoPower:
> significand
> negated
> species
> basicNew:
> replaceFrom:to:with:startingAt:
> replaceFrom:to:with:startingAt:
> truncated
> at:put:
> truncated
> at:put:
> truncated
> at:put:
> replaceFrom:to:with:startingAt:
> fractionPart
> truncated
> perform:with:
> *
> Abortado (imagem do núcleo gravada)
> [casimiro at localhost cog]$ cog
>
> Segmentation fault
>
>
>
> Smalltalk stack dump:
> 0xbfbc9444 M >? 2006888276: a(n)
> Falha de segmentação (imagem do núcleo gravada)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110101/1992b4cb/attachment-0001.htm


More information about the Vm-dev mailing list