[etoys-notify] [JIRA] Commented: (SQ-1126) Cannot display Etoys maximized; cannot restore when unmaximizing

Edward Mokurai Cherlin (JIRA) tracker at squeakland.org
Sat Mar 16 13:48:37 EDT 2013


    [ http://tracker.squeakland.org/browse/SQ-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40987#action_40987 ] 

Edward Mokurai Cherlin commented on SQ-1126:
--------------------------------------------

See the workaround for bug 1128, which is also to remove the -xshm flag from the etoys.sh script.

> Cannot display Etoys maximized; cannot restore when unmaximizing
> ----------------------------------------------------------------
>
>                 Key: SQ-1126
>                 URL: http://tracker.squeakland.org/browse/SQ-1126
>             Project: squeakland
>          Issue Type: Bug
>          Components: etoys-linux
>            Reporter: Edward Mokurai Cherlin
>             Fix For: etoys 5.0.1
>
>         Attachments: EtoysBugMaximize.png, EtoysBugShrinkToLine.png, EtoysBugUnmaximize.png
>
>
> When the maximize window button on the frame is clicked, most of the screen goes black, with one graphic item displayed (screenshot attached). Clicking again restores Etoys in an unstable state (screen shot attached), in which the window gradually contracts to 0 width (screenshot attached). It is possible to grab the window border and resize the window, but it either freezes in that case, or just contracts to nothing again. At this point it is very difficult, or even impossible, to close Etoys by clicking the exit button while the window shrinks, or by any of the other usual means, and the VM may have to be killed and restarted. In some cases, it is necessary to log out and in again in order to get a stable Etoys running.
> Ubuntu Linux 12.04
> Etoys 5.0
> Error text from terminal:
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 10959
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 10960
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 10966
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 10967
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 15494
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 15495
> mokurai at Otilia:~/bin/Etoys-To-Go 5.0.app$ ./etoys.sh
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 3860
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 3861
> =========== SqueakDebug.log START ==========
> ZeroDivide
> 14 October 2012 12:22:23 pm
> VM: unix - a SmalltalkImage
> Image: etoys5.0 [latest update: #2406]
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir /home/mokurai/bin/Etoys
> Trusted Dir /home/mokurai/bin/.etoys
> Untrusted Dir /home/mokurai/bin/Etoys
> SmallInteger>>/
> 	Receiver: 1200
> 	Arguments and temporary variables: 
> 		aNumber: 	0
> 	Receiver's instance variables: 
> 1200
> OLPCVirtualScreen>>displayScale
> 	Receiver: OLPCVirtualScreen(1200x900x16)
> 	Arguments and temporary variables: 
> 	Receiver's instance variables: 
> 		bits: 	a Bitmap of length 540000
> 		width: 	1200
> 		height: 	900
> 		depth: 	16
> 		offset: 	nil
> 		clippingBox: 	0 at 0 corner: 1200 at 900
> 		extraRegions: 	nil
> 		display: 	DisplayScreen(48x605x16)
> 		warpBlt: 	a WarpBlt
> 		pendingUpdate: 	false
> 		zoomOut: 	false
> OLPCVirtualScreen>>displayOffset
> 	Receiver: OLPCVirtualScreen(1200x900x16)
> 	Arguments and temporary variables: 
> 	Receiver's instance variables: 
> 		bits: 	a Bitmap of length 540000
> 		width: 	1200
> 		height: 	900
> 		depth: 	16
> 		offset: 	nil
> 		clippingBox: 	0 at 0 corner: 1200 at 900
> 		extraRegions: 	nil
> 		display: 	DisplayScreen(48x605x16)
> 		warpBlt: 	a WarpBlt
> 		pendingUpdate: 	false
> 		zoomOut: 	false
> OLPCVirtualSensor>>primGetNextEvent:
> 	Receiver: an OLPCVirtualSensor
> 	Arguments and temporary variables: 
> 		array: 	#(1 49456 1 226 0 0 0 0)
> 		scale: 	nil
> 		offset: 	nil
> 	Receiver's instance variables: 
> 		mouseButtons: 	0
> 		mousePosition: 	1178 at -1350
> 		keyboardBuffer: 	a SharedQueue
> 		interruptKey: 	2094
> 		interruptSemaphore: 	a Semaphore(a Process in OLPCVirtualSensor(InputSensor)>>us...etc...
> 		eventQueue: 	a SharedQueue
> 		inputSemaphore: 	a Semaphore()
> 		lastEventPoll: 	49711
> 		hasInputSemaphore: 	true
> --- The full stack ---
> SmallInteger>>/
> OLPCVirtualScreen>>displayScale
> OLPCVirtualScreen>>displayOffset
> OLPCVirtualSensor>>primGetNextEvent:
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> OLPCVirtualSensor(EventSensor)>>fetchMoreEvents
> OLPCVirtualSensor(EventSensor)>>primKbdPeek
> OLPCVirtualSensor(InputSensor)>>keyboardPressed
> WorldState(Object)>>primitiveError:
> WorldState>>handleFatalDrawingError:
> [] in WorldState>>displayWorldSafely: {[:err :rcvr |  errCtx := thisContext.  [errCtx := errCtx sender.  [errCtx no...]}
> BlockContext>>valueWithPossibleArgs:
> [] in BlockContext>>ifError: {[:ex | errorHandlerBlock valueWithPossibleArgs: {ex description. ex receiver}]}
> BlockContext>>valueWithPossibleArgs:
> [] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)   valueWithPossibleArgs: {exception}]}
> BlockContext>>ensure:
> MethodContext(ContextPart)>>handleSignal:
> ZeroDivide(Exception)>>signal
> SmallInteger>>/
> OLPCVirtualScreen>>displayScale
> OLPCVirtualScreen>>forceToScreen:
> [] in OLPCVirtualScreen(DisplayScreen)>>forceDamageToScreen: {[:r | self forceToScreen: r]}
> OrderedCollection>>do:
> OLPCVirtualScreen(DisplayScreen)>>forceDamageToScreen:
> WorldState>>forceDamageToScreen:
> WorldState>>displayWorld:submorphs:
> PasteUpMorph>>privateOuterDisplayWorld
> PasteUpMorph>>displayWorld
> [] in WorldState>>displayWorldSafely: {[aWorld displayWorld]}
> BlockContext>>on:do:
> BlockContext>>ifError:
> WorldState>>displayWorldSafely:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor yield.  false] whileFalse.  nil]}
> [] in BlockContext>>newProcess {[self value.  Processor terminateActive]}
> =========== SqueakDebug.log END  ==========
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 4244
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 4245
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 4252
> X Error: BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  12
>   Minor opcode of failed request:  0
>   Serial number of failed request: 4253
> ./etoys.sh: line 107:  9188 Terminated              $WRAPPER "$VM" -plugins "$BIN" $VMOPTIONS "$IMAGE" "$DOCUMENT" $IMOPTIONS

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list