Ciao,


Le 13 déc. 2018 à 17:31, Trussardi Dario Romano <[email protected]> a écrit :

Ciao,

Hi,

The problem seems to come from: "no room in eden for allocateSmallNewSpaceSlots:format:classIndex:"
Eden is a part of the heap where new objects are allocated.
Basically, it appears that Pharo cannot create objects any more.
You can get information about gc and eden space here:

Could you try to run your image in headless mode to see if it starts?
ex: 

I would try to start your image with a bigger size for the eden.
Clément recommends to do: Smalltalk vm parameterAt: 45 put: (Smalltalk vm parameterAt: 44) * 4.
but it means you need an image that is started …

You can also set it as an argument to the VM: --eden <size>[mk]

You could try with —eden 15207744 for example:
~/Documents/Pharo/vms/70-x64/Pharo.app/Contents/MacOS/Pharo --eden 15207744 ~/Documents/Pharo/images/Pharo\ 7.0\ -\ 64bit\ \(development\ version\)/Pharo\ 7.0\ -\ 64bit\ \(development\ version\).image 

After copy the pharoLauncher entry with the error into 
Pharo7.0-64DTRDevErr entry

i do this:

/opt/pharolauncher/pharo-vm$ ./pharo --eden 15207744 /home/party/Pharo/images/Pharo7.0-64DTRDevErr/Pharo7.0-64DTRDevErr.image

the shell report:

pthread_setschedparam failed: Operation not permitted

***** This VM uses a separate heartbeat thread to update its internal clock

and handle events.  For best operation, this thread should run at a
higher priority, however the VM was unable to change the priority.  The
effect is that heavily loaded systems may experience some latency
issues.  If this occurs, please create the appropriate configuration
file in /etc/security/limits.d/ as shown below:

cat <<END | sudo tee /etc/security/limits.d/pharo.conf
*      hard rtprio  2
*      soft rtprio  2
END

and report to the pharo mailing list whether this improves behaviour.

You will need to log out and log back in for the limits to take effect.
For more information please see
...........r3732#linux
Errore di segmentazione (core dump creato)

Any idea  about it?

So you have a segmentation fault. It means the image tries to access a memory address outside the memory range of its process.
using gdb on the core dump could help to have more clues: https://www.cprogramming.com/debugging/segfaults.html

Tomorrow i investigate about it.

Do you also have a segmentation fault if you run the image without the eden parameter?

No without eden parameter the system report the basic error

no room in eden for allocateSmallNewSpaceSlots:format:classIndex:

/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo
Pharo VM version: 5.0-201806281256  Thu Jun 28 13:04:44 UTC 2018 gcc 4.8 
[Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker.oscog-eem.2401 uuid: 
29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2401 uuid: 
29232e0e-c9e3-41d8-ae75-519db862e02c Jun 28 2018
Revision: VM: 201806281256 .............
Date: Thu Jun 28 14:56:30 2018 CommitHash: a8a1dc1
Plugins: 201806281256 ..........
Build host: Linux travis-job-46342785-b1c1-4811-8c3c-9b2a88ae7ecc 
4.4.0-101-generic #124~14.04.1-Ubuntu SMP Fri Nov 10 19:05:36 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
plugin path:  [default: 
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/]


C stack backtrace & registers:
*/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x41b165]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo(error+0xf)[0x41c87f]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x432b1c]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x43f52d]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x44838f]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae1]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x459e17]
/home/party/Pharo/vms/70-x64/lib/pharo/5.0-201806281256/pharo[0x45aae6]
[0x1ce78c0]


Smalltalk stack dump:
        
0x7ffeec4c4a88 I ExternalSemaphoreTable class>unprotectedExternalObjects: 
0x1d044b0: a(n) ExternalSemaphoreTable class
        
0x7ffeec4c4ad0 I [] in ExternalSemaphoreTable class>clearExternalObjects 
0x1d044b0: a(n) ExternalSemaphoreTable class
        
0x7ffeec4c4b20 I [] in Semaphore>critical: 0x211ec80: a(n) Semaphore
        
0x7ffeec4c4b70 I BlockClosure>ensure: 0x165e2d0: a(n) BlockClosure
        
0x7ffeec4c4bc0 I Semaphore>critical: 0x211ec80: a(n) Semaphore
        
0x7ffeec4c4c08 I ExternalSemaphoreTable class>clearExternalObjects 0x1d044b0: 
a(n) ExternalSemaphoreTable class
        
0x7ffeec4c4c48 I SmalltalkImage>clearExternalObjects 0x1d0a920: a(n) 
SmalltalkImage
        
0x7ffeec4c4c88 I WorkingSession>start: 0x165e000: a(n) WorkingSession
        
0x7ffeec4c4ce0 I SessionManager>launchSnapshot:andQuit: 0x1d70a10: a(n) 
SessionManager
     
        0xbff6c50 s SessionManager>snapshot:andQuit:
     
        0xc006a18 s [] in SmalltalkImage>snapshot:andQuit:
     
        0xc015188 s CurrentExecutionEnvironment class>activate:for:
     
        0xc01b590 s 
DefaultExecutionEnvironment(ExecutionEnvironment)>beActiveDuring:
     
        0xc0322e0 s DefaultExecutionEnvironment class>beActiveDuring:
     
        0xc01b648 s SmalltalkImage>snapshot:andQuit:
     
        0xc032398 s [] in WorldState class>saveSession
     
        0xc03a310 s BlockClosure>ensure:
     
        0xc052b18 s CursorWithMask(Cursor)>showWhile:
     
        0xc052bf8 s WorldState class>saveSession
     
        0xc05a110 s [] in ToggleMenuItemMorph(MenuItemMorph)>invokeWithEvent:
     
        0xc071550 s BlockClosure>ensure:
     
        0xc071ee8 s CursorWithMask(Cursor)>showWhile:
     
        0xc071fc8 s ToggleMenuItemMorph(MenuItemMorph)>invokeWithEvent:
     
        0xc072420 s ToggleMenuItemMorph(MenuItemMorph)>mouseUp:
     
        0xc072590 s ToggleMenuItemMorph(MenuItemMorph)>handleMouseUp:
     
        0xc072648 s MouseButtonEvent>sentTo:
     
        0xc072700 s ToggleMenuItemMorph(Morph)>handleEvent:
     
        0xc0727b8 s MorphicEventDispatcher>dispatchDefault:with:
     
        0xc072870 s MorphicEventDispatcher>handleMouseUp:
     
        0xc072928 s MouseButtonEvent>sentTo:
     
        0xc0729e0 s [] in MorphicEventDispatcher>dispatchEvent:with:
     
        0xc072a98 s BlockClosure>ensure:
     
        0xc072b78 s MorphicEventDispatcher>dispatchEvent:with:
     
        0xc072c50 s ToggleMenuItemMorph(Morph)>processEvent:using:
     
        0xc072d08 s MorphicEventDispatcher>dispatchDefault:with:
     
        0xc072dc0 s MorphicEventDispatcher>handleMouseUp:
     
        0xc072ec8 s MouseButtonEvent>sentTo:
     
        0xc072f80 s [] in MorphicEventDispatcher>dispatchEvent:with:
     
        0xc073038 s BlockClosure>ensure:
     
        0xc073118 s MorphicEventDispatcher>dispatchEvent:with:
     
        0xc0731f0 s MenuMorph(Morph)>processEvent:using:
     
        0xc0732a8 s MenuMorph(Morph)>processEvent:
     
        0xc073360 s MenuMorph>handleFocusEvent:
     
        0xc073418 s [] in HandMorph>sendFocusEvent:to:clear:
     
        0xc0734d0 s BlockClosure>on:do:
     
        0xc0735d0 s WorldMorph(PasteUpMorph)>becomeActiveDuring:
     
        0xc0736c0 s HandMorph>sendFocusEvent:to:clear:
     
        0xc0737c0 s HandMorph>sendEvent:focus:clear:
     
        0xc0738b0 s HandMorph>sendMouseEvent:
     
        0xc073968 s HandMorph>handleEvent:
     
        0xc073a20 s HandMorph>processEventsFromQueue:
     
        0xc073ad8 s HandMorph>processEvents
     
        0xc073b90 s [] in WorldState>doOneCycleNowFor:
     
        0xc073c48 s Array(SequenceableCollection)>do:
     
        0xc073d20 s WorldState>handsDo:
     
        0xc073dd8 s WorldState>doOneCycleNowFor:
     
        0xc073e90 s WorldState>doOneCycleFor:
     
        0xc073f48 s WorldMorph>doOneCycle
     
        0xc074000 s WorldMorph class>doOneCycle
     
        0xbb40f88 s [] in MorphicUIManager>spawnNewProcess
     
        0xbb40d40 s [] in BlockClosure>newProcess

Most recent primitives
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
.......
......
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:

stack page bytes 8192 available headroom 5576 minimum unused headroom 7200

        
(no room in eden for allocateSmallNewSpaceSlots:format:classIndex:)
bash: riga 1: 17972 Annullato           
        (core dump creato) "/home/party/Pharo/vms/70-x64/pharo" 
"/home/party/Pharo/images/Pharo 7.0 - 64bit (DTR development version)/Pharo 7.0 
- 64bit (DTR development version).image"
                

The ***** message required some action ?

this message is just a warning. If you want to avoid it, just execute this as root:
cat <<END | sudo tee /etc/security/limits.d/pharo.conf
*      hard rtprio  2
*      soft rtprio  2
END

P.S. I have to conclude that there is no solution?

For now, it is too early to have a conclusion because we do not know what caused the crash.
As Eliot said, it could be useful to get the crash.dmp file and the PharoDebug.log file.

The  crash.dmp  is not create.

( If i right do the command to create it :

From pharoLauncher i launch the corrupt image some time,
the  shell report the issue, but don't create the crash.dmp file).


For PharoDebug.log  i'm not in office, I'll check tomorrow.

Thanks,
Dario

Reply via email to