Skip to content

Instantly share code, notes, and snippets.

@deech
Created August 26, 2018 19:12
Show Gist options
  • Save deech/8280c92b14a4a437564a135c585f5858 to your computer and use it in GitHub Desktop.
Save deech/8280c92b14a4a437564a135c585f5858 to your computer and use it in GitHub Desktop.
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
https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux
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
https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux
Moz2D installed:
- no
Download directory:
/home/deech/Pharo/images/latest-64/pharo-local/sparta-cache
Installation directory:
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836
Downloading Moz2D/linux/development/x86_64/libMoz2D.so to File @ pharo-local/sparta-cache/MozPlugin_tmp ...
Installing library to File @ /home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/libMoz2D.so
(pharo:32102): GLib-GObject-WARNING **: 13:54:33.704: cannot register existing type 'GdkDisplay'
(pharo:32102): GLib-CRITICAL **: 13:54:33.704: g_once_init_leave: assertion 'result != 0' failed
(pharo:32102): GLib-GObject-CRITICAL **: 13:54:33.704: g_type_register_static: assertion 'parent_type > 0' failed
(pharo:32102): GLib-GObject-CRITICAL **: 13:54:33.704: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(pharo:32102): GLib-CRITICAL **: 13:54:33.704: g_once_init_leave: assertion 'result != 0' failed
Segmentation fault Sun Aug 26 14:08:03 2018
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/pharo
Pharo VM version: 5.0-201805090836 Wed May 9 08:54:40 UTC 2018 gcc 4.8 [Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
Revision: VM: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Wed May 9 10:36:12 2018 CommitHash: 334be97 Plugins: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Build host: Linux travis-job-5ab63a26-b2a8-4841-93ff-7aa5dc4e571e 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/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/]
C stack backtrace & registers:
rax 0xb6d37f00 rbx 0xb6d37d90 rcx 0xb6d37fb8 rdx 0xb6d37e48
rdi 0xb6d37b68 rsi 0xb6d37b68 rbp 0xb6d37cd8 rsp 0xb6d38070
r8 0xb6d375a8 r9 0xb6d37660 r10 0xb6d37718 r11 0xb6d377d0
r12 0xb6d37888 r13 0xb6d37940 r14 0xb6d379f8 r15 0xb6d37ab0
rip 0xb6d38128
*[0x7ffeb6d38128]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/pharo[0x41af77]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/pharo[0x41c98e]
/lib/libpthread.so.0(+0x123c0)[0x7fd565d273c0]
/lib/libX11.so.6(XUnloadFont+0x18)[0x7fd5654ba8e8]
/lib/libX11.so.6(XCloseDisplay+0xf9)[0x7fd56549a439]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/libMoz2D.so(_ZN14gfxPlatformGtkD1Ev+0x2f)[0x7fd53ea550ff]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/libMoz2D.so(_ZN14gfxPlatformGtkD0Ev+0x9)[0x7fd53ea55139]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/libMoz2D.so(_ZN11gfxPlatform8ShutdownEv+0x1ad)[0x7fd53ea50bbd]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/pharo[0x4ca11e]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/pharo[0x4581a7]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/pharo[0x45a217]
/home/deech/Pharo/vms/61-x64/lib/pharo/5.0-201805090836/pharo(ceSendsupertonumArgs+0x253)[0x45c053]
[0x2400100]
[0x0]
Smalltalk stack dump:
0x7ffeb6d939e0 M MozServices class>primShutdownPlatform 0x78d5bf8: a(n) MozServices class
0x7ffeb6d93a38 I FFICalloutAPI>function:module: 0x2792750: a(n) FFICalloutAPI
0x7ffeb6d93a88 I MozServices class(Object)>ffiCall: 0x78d5bf8: a(n) MozServices class
0x7ffeb6d93ad0 I MozServices class>primShutdownPlatform 0x78d5bf8: a(n) MozServices class
0x7ffeb6d93b00 M [] in MozServices class>stop 0x78d5bf8: a(n) MozServices class
0x7ffeb6d93b40 M BlockClosure>ensure: 0x277bf28: a(n) BlockClosure
0x7ffeb6d93b88 I MozServices class>stop 0x78d5bf8: a(n) MozServices class
0x7ffeb6d93bc8 I MozServices class>shutDown: 0x78d5bf8: a(n) MozServices class
0x7ffeb6d93c00 M ClassSessionHandler>shutdown: 0x7bee5f0: a(n) ClassSessionHandler
0x7ffeb6d93c40 M [] in WorkingSession>runShutdown: 0x5ed25a8: a(n) WorkingSession
0x7ffeb6d93c88 M [] in WorkingSession>runList:do: 0x5ed25a8: a(n) WorkingSession
0x7ffeb6d93cb8 M BlockClosure>on:do: 0x277bc18: a(n) BlockClosure
0x7ffeb6d93d00 M [] in WorkingSession>runList:do: 0x5ed25a8: a(n) WorkingSession
0x7ffeb6d93d48 M Array(SequenceableCollection)>do: 0x2675b10: a(n) Array
0x7ffeb6d93d90 I WorkingSession>runList:do: 0x5ed25a8: a(n) WorkingSession
0x7ffeb6d93de0 I WorkingSession>runShutdown: 0x5ed25a8: a(n) WorkingSession
0x7ffeb6d93e28 I WorkingSession>stop: 0x5ed25a8: a(n) WorkingSession
0x7ffeb6d67720 I SessionManager>snapshot:andQuit: 0x5089628: a(n) SessionManager
0x7ffeb6d67780 I [] in SmalltalkImage>snapshot:andQuit: 0x34b5588: a(n) SmalltalkImage
0x7ffeb6d677c8 I CurrentExecutionEnvironment class>activate:for: 0x3c8f5d0: a(n) CurrentExecutionEnvironment class
0x7ffeb6d67818 I DefaultExecutionEnvironment(ExecutionEnvironment)>beActiveDuring: 0x40ec9a0: a(n) DefaultExecutionEnvironment
0x7ffeb6d67860 I DefaultExecutionEnvironment class>beActiveDuring: 0x3cc5538: a(n) DefaultExecutionEnvironment class
0x7ffeb6d678a8 I SmalltalkImage>snapshot:andQuit: 0x34b5588: a(n) SmalltalkImage
0x7ffeb6d678e8 M [] in WorldState class>saveAndQuit 0x469c370: a(n) WorldState class
0x7ffeb6d67928 M BlockClosure>ensure: 0x2673f78: a(n) BlockClosure
0x7ffeb6d67968 M CursorWithMask(Cursor)>showWhile: 0x45d8940: a(n) CursorWithMask
0x7ffeb6d679a0 M WorldState class>saveAndQuit 0x469c370: a(n) WorldState class
0x7ffeb6d679e0 M [] in ToggleMenuItemMorph(MenuItemMorph)>invokeWithEvent: 0x2673c90: a(n) ToggleMenuItemMorph
0x7ffeb6d67a20 M BlockClosure>ensure: 0x2674180: a(n) BlockClosure
0x7ffeb6d67a70 I CursorWithMask(Cursor)>showWhile: 0x45d8a58: a(n) CursorWithMask
0x7ffeb6d67ac0 I ToggleMenuItemMorph(MenuItemMorph)>invokeWithEvent: 0x2673c90: a(n) ToggleMenuItemMorph
0x7ffeb6d67b08 I ToggleMenuItemMorph(MenuItemMorph)>mouseUp: 0x2673c90: a(n) ToggleMenuItemMorph
0x7ffeb6d67b40 M ToggleMenuItemMorph(MenuItemMorph)>handleMouseUp: 0x2673c90: a(n) ToggleMenuItemMorph
0x7ffeb6d67b78 M MouseButtonEvent>sentTo: 0x2674130: a(n) MouseButtonEvent
0x7ffeb6d67bb0 M ToggleMenuItemMorph(Morph)>handleEvent: 0x2673c90: a(n) ToggleMenuItemMorph
0x7ffeb6d67c10 M MorphicEventDispatcher>dispatchDefault:with: 0x38a21c8: a(n) MorphicEventDispatcher
0x7ffeb6d67c50 M MorphicEventDispatcher>handleMouseUp: 0x38a21c8: a(n) MorphicEventDispatcher
0x7ffeb6d67c88 M MouseButtonEvent>sentTo: 0x2674130: a(n) MouseButtonEvent
0x7ffeb6d67cc8 M [] in MorphicEventDispatcher>dispatchEvent:with: 0x38a21c8: a(n) MorphicEventDispatcher
0x7ffeb6d67d08 M BlockClosure>ensure: 0x2674340: a(n) BlockClosure
0x7ffeb6d67d40 M MorphicEventDispatcher>dispatchEvent:with: 0x38a21c8: a(n) MorphicEventDispatcher
0x7ffeb6d67d80 M ToggleMenuItemMorph(Morph)>processEvent:using: 0x2673c90: a(n) ToggleMenuItemMorph
0x7ffeb6d67de8 M MorphicEventDispatcher>dispatchDefault:with: 0x38a21c8: a(n) MorphicEventDispatcher
0x7ffeb6d67e28 M MorphicEventDispatcher>handleMouseUp: 0x38a21c8: a(n) MorphicEventDispatcher
0x7ffeb6d6d868 M MouseButtonEvent>sentTo: 0x2674518: a(n) MouseButtonEvent
0x7ffeb6d6d8a8 M [] in MorphicEventDispatcher>dispatchEvent:with: 0x38a21c8: a(n) MorphicEventDispatcher
0x7ffeb6d6d8e8 M BlockClosure>ensure: 0x26746d8: a(n) BlockClosure
0x7ffeb6d6d920 M MorphicEventDispatcher>dispatchEvent:with: 0x38a21c8: a(n) MorphicEventDispatcher
0x7ffeb6d6d960 M MenuMorph(Morph)>processEvent:using: 0x266f4a0: a(n) MenuMorph
0x7ffeb6d6d9a0 M MenuMorph(Morph)>processEvent: 0x266f4a0: a(n) MenuMorph
0x7ffeb6d6d9d8 M MenuMorph>handleFocusEvent: 0x266f4a0: a(n) MenuMorph
0x7ffeb6d6da28 M [] in HandMorph>sendFocusEvent:to:clear: 0x371c6d0: a(n) HandMorph
0x7ffeb6d6da58 M BlockClosure>on:do: 0x26747e8: a(n) BlockClosure
0x7ffeb6d6dab0 M WorldMorph(PasteUpMorph)>becomeActiveDuring: 0x3c691a8: a(n) WorldMorph
0x7ffeb6d6daf8 M HandMorph>sendFocusEvent:to:clear: 0x371c6d0: a(n) HandMorph
0x7ffeb6d6db48 M HandMorph>sendEvent:focus:clear: 0x371c6d0: a(n) HandMorph
0x7ffeb6d6db90 M HandMorph>sendMouseEvent: 0x371c6d0: a(n) HandMorph
0x7ffeb6d6dbe8 M HandMorph>handleEvent: 0x371c6d0: a(n) HandMorph
0x7ffeb6d6dc40 M HandMorph>processEventsFromQueue: 0x371c6d0: a(n) HandMorph
0x7ffeb6d6dc78 M HandMorph>processEvents 0x371c6d0: a(n) HandMorph
0x7ffeb6d6dca8 M [] in WorldState>doOneCycleNowFor: 0x45a15b8: a(n) WorldState
0x7ffeb6d6dcf0 M Array(SequenceableCollection)>do: 0x341f078: a(n) Array
0x7ffeb6d6dd28 M WorldState>handsDo: 0x45a15b8: a(n) WorldState
0x7ffeb6d6dd60 M WorldState>doOneCycleNowFor: 0x45a15b8: a(n) WorldState
0x7ffeb6d6dd98 M WorldState>doOneCycleFor: 0x45a15b8: a(n) WorldState
0x7ffeb6d6ddd0 M WorldMorph>doOneCycle 0x3c691a8: a(n) WorldMorph
0x7ffeb6d6de00 M WorldMorph class>doOneCycle 0x3c47fb8: a(n) WorldMorph class
0x7ffeb6d6de30 M [] in MorphicUIManager>spawnNewProcess 0x508c108: a(n) MorphicUIManager
0x508bea0 s [] in BlockClosure>newProcess
Most recent primitives
basicNew
isSpecial
indexOfAscii:inString:startingAt:
includes:
compare:with:collated:
**StackOverflow**
=
=
**StackOverflow**
compare:with:collated:
stringHash:initialHash:
compare:with:collated:
=
=
=
class
compare:with:collated:
class
indexOfAscii:inString:startingAt:
stringHash:initialHash:
compare:with:collated:
basicNew
indexOfAscii:inString:startingAt:
stringHash:initialHash:
stringHash:initialHash:
compare:with:collated:
findSubstringViaPrimitive:in:startingAt:matchTable:
indexOfAscii:inString:startingAt:
indexOfAscii:inString:startingAt:
stringHash:initialHash:
compare:with:collated:
at:put:
basicNew
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
**StackOverflow**
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
basicNew
basicNew
basicNew
**StackOverflow**
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
**StackOverflow**
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
basicNew
basicNew
**StackOverflow**
stringHash:initialHash:
at:
at:
stringHash:initialHash:
stringHash:initialHash:
compare:with:collated:
new:
new:
at:put:
at:put:
basicNew
**StackOverflow**
class
primitiveChangeClassTo:
at:
basicNew:
basicAt:put:
basicNew:
objectAt:put:
basicNew
shallowCopy
**StackOverflow**
**StackOverflow**
**StackOverflow**
**StackOverflow**
**StackOverflow**
**StackOverflow**
indexOfAscii:inString:startingAt:
=
class
**StackOverflow**
class
stringHash:initialHash:
compare:with:collated:
last
stringHash:initialHash:
compare:with:collated:
compare:with:collated:
stringHash:initialHash:
compare:with:collated:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
basicIdentityHash
basicNew
indexOfAscii:inString:startingAt:
indexOfAscii:inString:startingAt:
indexOfAscii:inString:startingAt:
indexOfAscii:inString:startingAt:
indexOfAscii:inString:startingAt:
basicNew
basicNew
**StackOverflow**
**StackOverflow**
**StackOverflow**
stringHash:initialHash:
stringHash:initialHash:
class
stringHash:initialHash:
compare:with:collated:
basicNew
basicNew:
stringHash:initialHash:
stringHash:initialHash:
basicNew
basicNew
**StackOverflow**
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
stringHash:initialHash:
~~
basicIdentityHash
basicNew
basicNew
basicNew
class
basicNew
basicNew
basicNew
basicNew
**StackOverflow**
basicNew
basicNew
basicNew
basicNew
stringHash:initialHash:
basicIdentityHash
findSubstring:in:startingAt:matchTable:
indexOfAscii:inString:startingAt:
indexOfAscii:inString:startingAt:
stringHash:initialHash:
stringHash:initialHash:
genSend:numArgs:
+
new:
replaceFrom:to:with:startingAt:
size
basicNew
class
stringHash:initialHash:
compare:with:collated:
perform:
encodeSourcePointer
newMethod:header:
size
size
size
at:
at:put:
at:put:
at:put:
at:put:
size
class
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
objectAt:put:
objectAt:put:
objectAt:put:
objectAt:put:
objectAt:put:
basicIdentityHash
objectAt:put:
stringHash:initialHash:
objectAt:put:
stringHash:initialHash:
objectAt:put:
value:
objectAt:put:
basicNew:
objectAt:put:
basicAt:
at:put:
flushCache
at:
at:
at:
at:
at:
at:
at:
at:
at:
at:
new:
withArgs:executeMethod:
invokeWithArguments:
stack page bytes 8192 available headroom 5576 minimum unused headroom 4896
(Segmentation fault)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment