Squeak VM Win32 crash

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

Squeak VM Win32 crash

espin
Hi all,
I have a reproduceable VM crash of Win32 Squeak VM version 4.1.1 (also
with 4.0.2).
The crash from my tests seems to be related to the size of the JPEG
image being loaded.

I downloaded locally images at [1] (image1) and [2] (image2).
I was previewing them with DesktopBackgroundLoader [3],
when I select image2 I am able to preview it, but when I select image1
the VM crashes.

Initially I was thinking at a bug in the JPEG Plugin but
the surprise is that when I do the same with FileList there is no crash!!!
Of course the two pieces of code are different...

I have no clue on how to proceed so I post it to see whether somebody
else can reproduce
it as well and maybe dig further.

Bye
Enrico

[1] 1280x1024 http://apod.nasa.gov/apod/ap080520.html
[2] 800x600 http://apod.nasa.gov/apod/ap060109.html

--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick



crash3.dmp (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM Win32 crash

espin
To add more info:
I repeated the same experiment on Mac OSX 10.6.4
with VM 4.2.5beta1U and found no problems at all.

So it seems platform specific.

Bye
Enrico

On Wed, Aug 18, 2010 at 17:00, Enrico Spinielli
<[hidden email]> wrote:

> Hi all,
> I have a reproduceable VM crash of Win32 Squeak VM version 4.1.1 (also
> with 4.0.2).
> The crash from my tests seems to be related to the size of the JPEG
> image being loaded.
>
> I downloaded locally images at [1] (image1) and [2] (image2).
> I was previewing them with DesktopBackgroundLoader [3],
> when I select image2 I am able to preview it, but when I select image1
> the VM crashes.
>
> Initially I was thinking at a bug in the JPEG Plugin but
> the surprise is that when I do the same with FileList there is no crash!!!
> Of course the two pieces of code are different...
>
> I have no clue on how to proceed so I post it to see whether somebody
> else can reproduce
> it as well and maybe dig further.
>
> Bye
> Enrico
>
> [1] 1280x1024 http://apod.nasa.gov/apod/ap080520.html
> [2] 800x600 http://apod.nasa.gov/apod/ap060109.html
>
> --
> Enrico Spinielli
> "Do Androids dream of electric sheep?"— Philip K. Dick
> "Hear and forget; see and remember;do and understand."—Mitchel Resnick
>



--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick

Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM Win32 crash

Hans Baveco
This is the same as open issue http://bugs.squeak.org/view.php?id=7523, with identical crash dump.....

Hans

-----Original Message-----
From: Enrico Spinielli [mailto:[hidden email]]
Sent: woensdag 18 augustus 2010 22:06
To: The general-purpose Squeak developers list
Subject: [squeak-dev] Re: Squeak VM Win32 crash

To add more info:
I repeated the same experiment on Mac OSX 10.6.4 with VM 4.2.5beta1U and found no problems at all.

So it seems platform specific.

Bye
Enrico

On Wed, Aug 18, 2010 at 17:00, Enrico Spinielli <[hidden email]> wrote:

> Hi all,
> I have a reproduceable VM crash of Win32 Squeak VM version 4.1.1 (also
> with 4.0.2).
> The crash from my tests seems to be related to the size of the JPEG
> image being loaded.
>
> I downloaded locally images at [1] (image1) and [2] (image2).
> I was previewing them with DesktopBackgroundLoader [3], when I select
> image2 I am able to preview it, but when I select image1 the VM
> crashes.
>
> Initially I was thinking at a bug in the JPEG Plugin but the surprise
> is that when I do the same with FileList there is no crash!!!
> Of course the two pieces of code are different...
>
> I have no clue on how to proceed so I post it to see whether somebody
> else can reproduce it as well and maybe dig further.
>
> Bye
> Enrico
>
> [1] 1280x1024 http://apod.nasa.gov/apod/ap080520.html
> [2] 800x600 http://apod.nasa.gov/apod/ap060109.html
>
> --
> Enrico Spinielli
> "Do Androids dream of electric sheep?"- Philip K. Dick "Hear and
> forget; see and remember;do and understand."-Mitchel Resnick
>



--
Enrico Spinielli
"Do Androids dream of electric sheep?"- Philip K. Dick "Hear and forget; see and remember;do and understand."-Mitchel Resnick



Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM Win32 crash

Eliot Miranda-2


On Thu, Aug 19, 2010 at 1:08 AM, Baveco, Hans <[hidden email]> wrote:
This is the same as open issue http://bugs.squeak.org/view.php?id=7523, with identical crash dump.....

I tried to reproduce this crash in Cog but couldn't.  You might test too using cogwin.zip.  If it doesn't crash then it's either a difference between the standard platforms JPEG plugin files and the Cog platforms JPEG plugin files (unlikely) or a difference between gcc 2.95 (standard VM) & gcc 3.4.4 (Cog).

HTH
Eliot


Hans

-----Original Message-----
From: Enrico Spinielli [mailto:[hidden email]]
Sent: woensdag 18 augustus 2010 22:06
To: The general-purpose Squeak developers list
Subject: [squeak-dev] Re: Squeak VM Win32 crash

To add more info:
I repeated the same experiment on Mac OSX 10.6.4 with VM 4.2.5beta1U and found no problems at all.

So it seems platform specific.

Bye
Enrico

On Wed, Aug 18, 2010 at 17:00, Enrico Spinielli <[hidden email]> wrote:
> Hi all,
> I have a reproduceable VM crash of Win32 Squeak VM version 4.1.1 (also
> with 4.0.2).
> The crash from my tests seems to be related to the size of the JPEG
> image being loaded.
>
> I downloaded locally images at [1] (image1) and [2] (image2).
> I was previewing them with DesktopBackgroundLoader [3], when I select
> image2 I am able to preview it, but when I select image1 the VM
> crashes.
>
> Initially I was thinking at a bug in the JPEG Plugin but the surprise
> is that when I do the same with FileList there is no crash!!!
> Of course the two pieces of code are different...
>
> I have no clue on how to proceed so I post it to see whether somebody
> else can reproduce it as well and maybe dig further.
>
> Bye
> Enrico
>
> [1] 1280x1024 http://apod.nasa.gov/apod/ap080520.html
> [2] 800x600 http://apod.nasa.gov/apod/ap060109.html
>
> --
> Enrico Spinielli
> "Do Androids dream of electric sheep?"- Philip K. Dick "Hear and
> forget; see and remember;do and understand."-Mitchel Resnick
>



--
Enrico Spinielli
"Do Androids dream of electric sheep?"- Philip K. Dick "Hear and forget; see and remember;do and understand."-Mitchel Resnick






Reply | Threaded
Open this post in threaded view
|

Re: Squeak VM Win32 crash

Hans Baveco
With Cog it doesn't crash! When I run the croquet cog vm with the image provided by Andreas, I can't make it crash on (variants of) this code:

| dir files slash result |
        dir := 'f:\squeak3'.
        files := (FileDirectory on: dir)  fileNamesMatching: '*.jpg'.
        slash := FileDirectory slash.
        result := OrderedCollection new.
        20 timesRepeat: [result addAll: (files collect: [:each | Transcript cr; show: each. ImageReadWriter formFromFileNamed: dir , slash , each])]

With the trunk image and Squeak4.0.2.exe it invariably crashes.....

Hans


 


On Thu, Aug 19, 2010 at 1:08 AM, Baveco, Hans <[hidden email]> wrote:


        This is the same as open issue http://bugs.squeak.org/view.php?id=7523, with identical crash dump.....
       


I tried to reproduce this crash in Cog but couldn't.  You might test too using cogwin.zip <http://www.mirandabanda.org/files/Cog/VM/VM.r2219/cogwin.zip> .  If it doesn't crash then it's either a difference between the standard platforms JPEG plugin files and the Cog platforms JPEG plugin files (unlikely) or a difference between gcc 2.95 (standard VM) & gcc 3.4.4 (Cog).

HTH
Eliot


       
        Hans
       

        -----Original Message-----
        From: Enrico Spinielli [mailto:[hidden email]]
        Sent: woensdag 18 augustus 2010 22:06
        To: The general-purpose Squeak developers list
        Subject: [squeak-dev] Re: Squeak VM Win32 crash
       
        To add more info:
        I repeated the same experiment on Mac OSX 10.6.4 with VM 4.2.5beta1U and found no problems at all.
       
        So it seems platform specific.
       
        Bye
        Enrico
       
        On Wed, Aug 18, 2010 at 17:00, Enrico Spinielli <[hidden email]> wrote:
        > Hi all,
        > I have a reproduceable VM crash of Win32 Squeak VM version 4.1.1 (also
        > with 4.0.2).
        > The crash from my tests seems to be related to the size of the JPEG
        > image being loaded.
        >
        > I downloaded locally images at [1] (image1) and [2] (image2).
        > I was previewing them with DesktopBackgroundLoader [3], when I select
        > image2 I am able to preview it, but when I select image1 the VM
        > crashes.
        >
        > Initially I was thinking at a bug in the JPEG Plugin but the surprise
        > is that when I do the same with FileList there is no crash!!!
        > Of course the two pieces of code are different...
        >
        > I have no clue on how to proceed so I post it to see whether somebody
        > else can reproduce it as well and maybe dig further.
        >
        > Bye
        > Enrico
        >
        > [1] 1280x1024 http://apod.nasa.gov/apod/ap080520.html
        > [2] 800x600 http://apod.nasa.gov/apod/ap060109.html
        >
        > --
        > Enrico Spinielli
        > "Do Androids dream of electric sheep?"- Philip K. Dick "Hear and
        > forget; see and remember;do and understand."-Mitchel Resnick
        >
       
       
       
        --
        Enrico Spinielli
        "Do Androids dream of electric sheep?"- Philip K. Dick "Hear and forget; see and remember;do and understand."-Mitchel Resnick