Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007585 [Squeak] VM minor sometimes 12-14-10 21:43 12-15-10 23:43
Reporter henriksp View Status public  
Assigned To lewis
Priority normal Resolution open  
Status assigned   Product Version 4.1
Summary 0007585: VM may crash when the JPEGPlugin is invoked from several threads at once
Description I've been able to reproduce the crash on Windows in 1.0, 1.1, 1.2 beta and Squeak 4.1 images (release and trunk) using the Squeak 4.1.1 VM.

My test was (using the attached image):
FileStream oldFileNamed: 'trouble.jpg' do: [:img | imageStream := RWBinaryOrTextStream with: img binary contents].
50 timesRepeat: [[
       ImageReadWriter formFromStream: imageStream] forkAt: Processor userBackgroundPriority ].
Additional Information
Attached Files  trouble.jpg [^] (1,334,645 bytes) 12-14-10 21:43

- Relationships

- Notes
(0013985 - 251 - 251 - 251 - 251 - 251 - 251)
lewis
12-15-10 23:43

I tried this with a unix VM on Linux, and did not get a VM crash. I certainly would not expect the test to work properly, since it has multiple processes operating on a single stream with no semaphore protection. But it should not crash the VM either.
 

- Issue History
Date Modified Username Field Change
12-14-10 21:43 henriksp New Issue
12-14-10 21:43 henriksp Status new => assigned
12-14-10 21:43 henriksp Assigned To  => lewis
12-14-10 21:43 henriksp File Added: trouble.jpg
12-15-10 23:43 lewis Note Added: 0013985


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