Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007523 [Squeak] VM crash sometimes 05-03-10 23:54 05-14-10 22:04
Reporter lewis View Status public  
Assigned To andreas
Priority normal Resolution open  
Status assigned   Product Version
Summary 0007523: Opening some JPEG files may crash Windows VM
Description As reported on squeak-dev list, opening some JPEG files from a FileList on Windows can crash the VM.

http://lists.squeakfoundation.org/pipermail/squeak-dev/2010-April/149871.html [^]
http://lists.squeakfoundation.org/pipermail/squeak-dev/2010-May/150167.html [^]
Additional Information Date: Mon, 3 May 2010 15:50:55 +0000
Subject: Re: [squeak-dev] Vm crash from FileList
From: Hannes Hirzel <hannes.hirzel@gmail.com>
To: The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org>
Hello

I have found a 110kB sample jpg file which causes the MSWindows VM to
crash immediately *** whereas it displays the file properly under
Ubuntu.

I will happily sent the file to anybody interested having a look at this....

--Hannes
Attached Files  Picture 081.jpg [^] (112,134 bytes) 05-09-10 07:16

- Relationships

- Notes
(0013762 - 130 - 142 - 142 - 142 - 142 - 142)
hirzel
05-09-10 07:17
edited on: 05-09-10 07:17

The attached jpg file (Picture 081.jpg) is displayed fine in Squeak 4.1 on Ubuntu but on Windows it leads to an immediate crash.

 
(0013763 - 363 - 411 - 411 - 411 - 411 - 411)
laza
05-09-10 10:03

I tried this with a windows VM 4.0.2 and some recent trunk image.
I can see the picture displayed in the file list, but the vm console pops up with the message:

# Debug console
# To close: F2 -> 'debug options' -> 'show output console'
# To disable: F2 -> 'debug options' -> 'show console on errors'
Corrupt JPEG data: 1 extraneous bytes before marker 0xd9
 
(0013767 - 968 - 1100 - 1100 - 1100 - 1100 - 1100)
baveco
05-10-10 14:57

I see the same as laza when displaying this file. It doesn't crash the VM.
On the other hand I still get - unpredictable - crashes when selecting randomly jpg files in the FileList (not related to a specific file) and when repeatedly executing code that reads several jpg files on a row (but also highly unpredictable: sometimes when opening the set of files for the first time, in other cases after having read the whole set of files several times...). Feels more and more like an obscure memory problem.

The crash dump always ends with:

The Smalltalk Stack:
168583592 Behavior>new:
168583500 Form>setExtent:depth:
168583408 Form class>extent:depth:
168515720 JPEGReadWriter2>nextImageSuggestedDepth:
168515628 JPEGReadWriter2>nextImage
168515480 ImageReadWriter class>formFromStream:
168513316 BlockClosure>ensure:
168513224 Cursor>showWhile:
168499160 ImageReadWriter class>formFromStream:
168236116 ImageReadWriter class>formFromFileNamed:

Hans
 

- Issue History
Date Modified Username Field Change
05-03-10 23:54 lewis New Issue
05-03-10 23:54 lewis Status new => assigned
05-03-10 23:54 lewis Assigned To  => lewis
05-09-10 07:13 hirzel Note Added: 0013761
05-09-10 07:15 hirzel Note Deleted: 0013761
05-09-10 07:16 hirzel File Added: Picture 081.jpg
05-09-10 07:17 hirzel Note Added: 0013762
05-09-10 07:17 hirzel Note Edited: 0013762
05-09-10 10:03 laza Note Added: 0013763
05-10-10 14:57 baveco Note Added: 0013767
05-14-10 22:03 lewis Issue Monitored: lewis
05-14-10 22:04 lewis Assigned To lewis => andreas


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
59 total queries executed.
37 unique queries executed.
Powered by Mantis Bugtracker