VM crash on update

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

VM crash on update

Levente Uzonyi
 
Hi All,

The current latest VM[1] crashes when updating the latest Squeak Trunk
image[2]. To reproduce, start the image and try to update it.

Relevant info from crash.dmp:

Segmentation fault Sun Apr 23 17:41:12 2017


/squeak/spur64/sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak
Squeak VM version: 5.0-201704181925  Tue Apr 18 19:29:51 UTC 2017 gcc
4.6.3 [Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker.oscog-eem.2197 uuid:
ef120220-dcf2-4825-ad2c-eab126683414 Apr 18 2017
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2197 uuid:
ef120220-dcf2-4825-ad2c-eab126683414 Apr 18 2017
Revision: VM: 201704181925
https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Tue Apr 18
12:25:44 2017 -0700 $
Plugins: 201704181925
https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
Build host: Linux testing-gce-46330aa4-6c3e-4be3-9779-10895e30baf1
3.13.0-103-generic #150~precise1-Ubuntu SMP Thu Nov 24 11:05:34 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux
plugin path: ./sqcogspur64linuxht/lib/squeak/5.0-201704181925 [default:
/squeak/spur64/sqcogspur64linuxht/lib/squeak/5.0-201704181925/]


C stack backtrace & registers:
         rax 0x03e2a8c0 rbx 0x03e2a750 rcx 0x03e2a978 rdx 0x03e2a808
         rdi 0x03e2a528 rsi 0x03e2a528 rbp 0x03e2a698 rsp 0x03e2aa30
         r8  0x03e29f68 r9  0x03e2a020 r10 0x03e2a0d8 r11 0x03e2a190
         r12 0x03e2a248 r13 0x03e2a300 r14 0x03e2a3b8 r15 0x03e2a470
         rip 0x03e2aae8
*[0x7ffc03e2aae8]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x41c9f1]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x41cd35]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7fdc881ac330]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x4333d1]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x44ae11]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x41cb61]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak(error+0xf)[0x41cd7f]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x45963f]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak(ceSendFromInLineCacheMiss+0x16c)[0x45a02c]
[0x173d2dc]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bffe0)[0x7fdc87e8dfe0]

Most recent primitives
replaceFrom:to:with:startingAt:
stringHash:initialHash:
stringHash:initialHash:
compare:with:collated:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
stringHash:initialHash:
stringHash:initialHash:
compare:with:collated:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
...

stack page bytes 8192 available headroom 5576 minimum unused headroom 4752

         (Segmentation fault)


Levente

[1] https://bintray.com/opensmalltalk/vm/download_file?file_path=cog_linux64x64_squeak.cog.spur_201704181925.tar.gz
[2] http://files.squeak.org/6.0alpha/Squeak6.0alpha-17086-64bit/Squeak6.0alpha-17086-64bit.zip
Reply | Threaded
Open this post in threaded view
|

Re: VM crash on update

Eliot Miranda-2
 
Hi Levente,

On Sun, Apr 23, 2017 at 11:06 AM, Levente Uzonyi <[hidden email]> wrote:

Hi All,

The current latest VM[1] crashes when updating the latest Squeak Trunk image[2]. To reproduce, start the image and try to update it.

Relevant info from crash.dmp:

Segmentation fault Sun Apr 23 17:41:12 2017

I can't reproduce this using newly built VMs.  I can't run the VM supplied because my 64-bit CentOS 6.5 has globe v 2.12 and the VM you reference requires 2.15.  I built form the sources I've just pushed.  here's the version info:

~/oscogvm/products/sqcogspur64linux/squeak -version
5.0-201704270225  Wed Apr 26 19:29:45 PDT 2017 gcc 4.4.7 [Production Spur 64-bit ITHB VM]
CoInterpreter VMMaker.oscog-eem.2203 uuid: 12d4afae-8498-4e76-8efe-60eba6ef4db2 Apr 26 2017
StackToRegisterMappingCogit VMMaker.oscog-eem.2203 uuid: 12d4afae-8498-4e76-8efe-60eba6ef4db2 Apr 26 2017
VM: 201704270225 eliot@Sisyphus:oscogvm $ Date: Wed Apr 26 19:25:21 2017 -0700 $
Plugins: 201704270225 eliot@Sisyphus:oscogvm $

It's probably not the answer you're looking for but either try the latest VMs from binary (built from 201704270225) or I could package up the 64-bit VMs I've built and put them e.g. on the cogblog ftp server for you to use.  If the bintray VMs crash and mine don't that points to an issue with the build environment or perhaps with gcc 4.6.x vs the 4.4.x I'm using.

 


/squeak/spur64/sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak
Squeak VM version: 5.0-201704181925  Tue Apr 18 19:29:51 UTC 2017 gcc 4.6.3 [Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker.oscog-eem.2197 uuid: ef120220-dcf2-4825-ad2c-eab126683414 Apr 18 2017
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2197 uuid: ef120220-dcf2-4825-ad2c-eab126683414 Apr 18 2017
Revision: VM: 201704181925 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Tue Apr 18 12:25:44 2017 -0700 $
Plugins: 201704181925 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
Build host: Linux testing-gce-46330aa4-6c3e-4be3-9779-10895e30baf1 3.13.0-103-generic #150~precise1-Ubuntu SMP Thu Nov 24 11:05:34 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
plugin path: ./sqcogspur64linuxht/lib/squeak/5.0-201704181925 [default: /squeak/spur64/sqcogspur64linuxht/lib/squeak/5.0-201704181925/]


C stack backtrace & registers:
        rax 0x03e2a8c0 rbx 0x03e2a750 rcx 0x03e2a978 rdx 0x03e2a808
        rdi 0x03e2a528 rsi 0x03e2a528 rbp 0x03e2a698 rsp 0x03e2aa30
        r8  0x03e29f68 r9  0x03e2a020 r10 0x03e2a0d8 r11 0x03e2a190
        r12 0x03e2a248 r13 0x03e2a300 r14 0x03e2a3b8 r15 0x03e2a470
        rip 0x03e2aae8
*[0x7ffc03e2aae8]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x41c9f1]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x41cd35]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7fdc881ac330]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x4333d1]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x44ae11]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x41cb61]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak(error+0xf)[0x41cd7f]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak[0x45963f]
./sqcogspur64linuxht/lib/squeak/5.0-201704181925/squeak(ceSendFromInLineCacheMiss+0x16c)[0x45a02c]
[0x173d2dc]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bffe0)[0x7fdc87e8dfe0]

Most recent primitives
replaceFrom:to:with:startingAt:
stringHash:initialHash:
stringHash:initialHash:
compare:with:collated:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
stringHash:initialHash:
stringHash:initialHash:
compare:with:collated:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
...

stack page bytes 8192 available headroom 5576 minimum unused headroom 4752

        (Segmentation fault)


Levente

[1] https://bintray.com/opensmalltalk/vm/download_file?file_path=cog_linux64x64_squeak.cog.spur_201704181925.tar.gz
[2] http://files.squeak.org/6.0alpha/Squeak6.0alpha-17086-64bit/Squeak6.0alpha-17086-64bit.zip



--
_,,,^..^,,,_
best, Eliot
Reply | Threaded
Open this post in threaded view
|

Re: VM crash on update

Levente Uzonyi
 
Hi Eliot,

I just tried the latest VM from bintray, and it still crashes during
update.
If you can upload your build, I'll test that too.
Perhaps it would make sense to have assert VMs on bintray.

Levente

Reply | Threaded
Open this post in threaded view
|

Re: VM crash on update

Eliot Miranda-2
 
Hi Levente,

> On Apr 27, 2017, at 5:48 AM, Levente Uzonyi <[hidden email]> wrote:
>
> Hi Eliot,
>
> I just tried the latest VM from bintray, and it still crashes during update.
> If you can upload your build, I'll test that too.
> Perhaps it would make sense to have assert VMs on bintray.

Another thing to do is that see if the version of FCC used can be specified on bintray.  Another thing is the version of glibc.  Who is the person who knows most about the bintray linux builds?  

>
> Levente
>