[Fwd: Unix VM segfaults w/ clipboard?]

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

[Fwd: Unix VM segfaults w/ clipboard?]

Andreas.Raab
 
[Oops, this went to the wrong list first]

Hi -

I've noticed this a couple of times now: When we run a Unix VM using
-headless and connect to it using VNC any attempt to copy/paste is
honored with a segfault. The VM output is this:

Segmentation fault

-1282466960 Clipboard>clipboardText
-1282468224 Clipboard class>clipboardText
-1282468316 ParagraphEditor>clipboardText
-1282484648 ParagraphEditor>cut
-1282485584 ParagraphEditor>cut:
-1282489428 ParagraphEditor>dispatchOnCharacter:with:
-1282489520 TextMorphEditor>dispatchOnCharacter:with:
-1282489612 ParagraphEditor>readKeyboard
-1282489704 TextMorphEditor>readKeyboard
-1282505636 [] in TextMorph>keyStroke:
-1282505728 TextMorph>handleInteraction:fromEvent:
-1282505820 TextMorphForEditView>handleInteraction:fromEvent:
-1282505964 TextMorph>keyStroke:
-1282506056 TextMorphForEditView>keyStroke:
-1282506148 TextMorph>handleKeystroke:
-1282506516 KeyboardEvent>sentTo:
-1282506608 Morph>handleEvent:

[... etc ...]

which seems to indicate that it's dying in the clipboard primitive. Any
ideas what might be crashing the VM and how to fix that?

Thanks,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [Fwd: Unix VM segfaults w/ clipboard?]

timrowledge
 
Am I remembering right that clipboards are attached to displays under  
X? That might mean a headless vm has a null clipboard, and a null  
value often offends.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- Runs squares around the competition.


Reply | Threaded
Open this post in threaded view
|

Re: [Fwd: Unix VM segfaults w/ clipboard?]

johnmci
In reply to this post by Andreas.Raab
 
is that -1282466960  mean the stack and the image is > 2GB, then well  
one wonders...

On Apr 26, 2007, at 3:52 PM, Andreas Raab wrote:

> [Oops, this went to the wrong list first]
>
> Hi -
>
> I've noticed this a couple of times now: When we run a Unix VM using
> -headless and connect to it using VNC any attempt to copy/paste is
> honored with a segfault. The VM output is this:
>
> Segmentation fault
>
> -1282466960 Clipboard>clipboardText
> -1282468224 Clipboard class>clipboardText
> -1282468316 ParagraphEditor>clipboardText
> -1282484648 ParagraphEditor>cut
> -1282485584 ParagraphEditor>cut:
> -1282489428 ParagraphEditor>dispatchOnCharacter:with:
> -1282489520 TextMorphEditor>dispatchOnCharacter:with:
> -1282489612 ParagraphEditor>readKeyboard
> -1282489704 TextMorphEditor>readKeyboard
> -1282505636 [] in TextMorph>keyStroke:
> -1282505728 TextMorph>handleInteraction:fromEvent:
> -1282505820 TextMorphForEditView>handleInteraction:fromEvent:
> -1282505964 TextMorph>keyStroke:
> -1282506056 TextMorphForEditView>keyStroke:
> -1282506148 TextMorph>handleKeystroke:
> -1282506516 KeyboardEvent>sentTo:
> -1282506608 Morph>handleEvent:
>
> [... etc ...]
>
> which seems to indicate that it's dying in the clipboard primitive.  
> Any
> ideas what might be crashing the VM and how to fix that?
>
> Thanks,
>   - Andreas
>

--
========================================================================
===
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================
===


Reply | Threaded
Open this post in threaded view
|

Re: [Fwd: Unix VM segfaults w/ clipboard?]

Bert Freudenberg
In reply to this post by timrowledge
 

On Apr 27, 2007, at 0:59 , tim Rowledge wrote:

> Am I remembering right that clipboards are attached to displays  
> under X? That might mean a headless vm has a null clipboard, and a  
> null value often offends.

Yeah, probably all the display_clipboard* functions would need to  
check isConnectedToXServer.

- Bert -