I am not sure if the following is a Fedora Linux packaging problem or my own error. However Bert suggested it may be ExtendedClipboardPlugin, so I wonder if you can make one or two suggestions for deeper investigation, please. David (AFAIR this is my first post on vm-dev. SoaS is Sugar-on-a-Stick - a spin of Fedora with the OLPC software.) ---------- Forwarded message ---------- From: Bert Freudenberg Date: Fri, Jan 6, 2012 at 7:36 PM Subject: Re: [etoys-dev] Seg faults using 64-bit sugar clipboard with Etoys
Sounds like a problem in ExtendedClipboardPlugin. That would be best reported on vm-dev, or squeak-dev.
- Bert -
On 06.01.2012, at 14:21, David Corking wrote:
When I drag and drop from the Sugar clipboard into Etoys, I get consistent segmentation faults.
I am using the x86_64 Fedora 16 distribution of Sugar and Etoys. (Essentially this is is SoaS pineapple with updates from the Fedora RPM repository.)
Is it just me? Do you think any of etoys-dev, Fedora or Sugar might benefit from a bug report?
The image is Etoys 4.1 build 2390. The vm version is: $ squeak -version 3.10-5 #1 Mon Jun 21 22:10:08 UTC 2010 gcc 4.4.4 Squeak3.10beta of 22 July 2007 [latest update: #7159] Linux x86-04.phx2.fedoraproject.org 2.6.18-194.3.1.el5 #1 SMP Sun May 2 04:17:42 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux default plugin location: /usr/lib64/squeak/3.10-5/*.so
Here are a couple of stack dump extracts from org.vpri.EtoysActivity-n.log
Firstly dropping some text (from a web browser):
Segmentation fault
25651976 ExtendedClipboardInterface>readClipboardData: 25651884 ExtendedClipboardUnixInterface>readHTMLClipboardData 25651524 ExtendedClipboardUnixInterface>readTextClipboardData 25651432 Clipboard>clipboardText 25651316 Clipboard class>clipboardText 25651212 ParagraphEditor>clipboardText 25651004 ParagraphEditor>paste 25641572 [] in PluggableTextMorph>paste 25647380 [] in PluggableTextMorph>handleEdit: 25645636 TextMorph>handleEdit: 25641664 PluggableTextMorph>handleEdit: 25641480 PluggableTextMorph>paste 25641296 PluggableTextMorph>dropFiles: 25641192 Morph>handleDropFiles: 25641100 DropFilesEvent>sentTo: 25640904 Morph>handleEvent:
Secondly dropping a photo from the Record activity via the Journal: Segmentation fault
27104368 JPEGReadWriter2>nextImageSuggestedDepth: 27103820 JPEGReadWriter2>nextImage 27092592 [] in ImageReadWriter class>formFromStream: 27103664 BlockContext>ensure: 27091904 Cursor>showWhile: 27047352 ImageReadWriter class>formFromStream: 27047168 Form class>fromBinaryStream: 27047260 [] in ExternalDropHandler class>defaultImageHandler 27046616 ExternalDropHandler>handle:in:dropEvent: 27046984 [] in PasteUpMorph>dropFiles: 27046524 BlockContext>ensure: 27041148 PasteUpMorph>dropFiles:
On Fri, Jan 6, I wrote(*):
Bert suggested it may be ExtendedClipboardPlugin ...
When I drag and drop from the Sugar clipboard into Etoys, I get consistent segmentation faults. I am using the x86_64 Fedora 16 distribution of Sugar and Etoys.
I compiled a rough homemade squeak-vm with the current stable source tree: http://squeakvm.org/unix/release/Squeak-4.4.7.2357-src.tar.gz
This resolved the clipboard drops and segmentation faults, though it introduced a number of other problems which are probably due to my inexperience.
A useful next step would be to make a complete vm binary for x86_64.
However it would be some time before I could get up to speed with cmake and rpm: It will certainly help if someone can jump in and build an rpm to test.
Best, David
(*) http://lists.squeakfoundation.org/pipermail/vm-dev/2012-January/009863.html
vm-dev@lists.squeakfoundation.org