Hi. Using CogMT + ThreadedIA32FFIPlugin, I crash every time I run SqueakDBX tests. I compiled the VM with debug flags but couldn't find anything weird. <br>The VM I compiled is 'Croquet Closure Cog VM [CoInterpreter VMMaker-oscog-IgorStasenko.54]'<br>
In addition, (if I did it correctly), I tested CogMT but using FFIPlugin, but still a crash. <br>Please let me know if there is something else I can do.<br><br>Cheers<br><br>Mariano<br><br><br>ubuntu@ubuntu-desktop:~/Pharo/vm/cogVM/blessed/results$ gdb CogMTVM <br>
GNU gdb (GDB) 7.0-ubuntu<br>Copyright (C) 2009 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>><br>
This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "i486-linux-gnu".<br>
For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>>...<br>Reading symbols from /home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM...done.<br>
(gdb) run /home/ubuntu/Pharo/imagenes/PharoOneClick2.dbx.image <br>Starting program: /home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM /home/ubuntu/Pharo/imagenes/PharoOneClick2.dbx.image<br>[Thread debugging using libthread_db enabled]<br>
ioFindExternalFunctionIn(display_X11, 0x8c6670):<br> /home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM: undefined symbol: display_X11<br>ioFindExternalFunctionIn(sound_OSS, 0x8c6670):<br> /home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM: undefined symbol: sound_OSS<br>
ioFindExternalFunctionIn(sound_MacOSX, 0x8c6670):<br> /home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM: undefined symbol: sound_MacOSX<br>ioFindExternalFunctionIn(sound_Sun, 0x8c6670):<br> /home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM: undefined symbol: sound_Sun<br>
ioFindExternalFunctionIn(sound_pulse, 0x8c6670):<br> /home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM: undefined symbol: sound_pulse<br>ioFindExternalFunctionIn(sound_ALSA, 0x8c6670):<br> /home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM: undefined symbol: sound_ALSA<br>
ioLoadModule(/home/ubuntu/Pharo/vm/cogVM/blessed/results/vm-sound-ALSA):<br> /home/ubuntu/Pharo/vm/cogVM/blessed/results/vm-sound-ALSA: undefined symbol: snd_mixer_selem_has_playback_volume<br>ioLoadModule(./vm-sound-ALSA):<br>
./vm-sound-ALSA: undefined symbol: snd_mixer_selem_has_playback_volume<br>ioLoadModule(vm-sound-ALSA):<br> vm-sound-ALSA: cannot open shared object file: No such file or directory<br>ioFindExternalFunctionIn(sound_null, 0x8c6670):<br>
/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM: undefined symbol: sound_null<br>warning, processHasThreadId flag is unset; cannot function as a threaded VM if so.<br>uxAllocateMemory: pageSize 0x1000 (4096), mask 0xfffff000<br>
uxAllocateMemory: /dev/zero descriptor -1<br>uxAllocateMemory: min heap 35504344, desired 54378776<br>uxAllocateMemory: mapping 0x40000000 bytes (1024 Mbytes)<br>[New Thread 0x77faab70 (LWP 4075)]<br>warning: Process doesn't have threadId; VM will not thread<br>
warning: Process doesn't have threadId; VM will not thread<br>warning: Process doesn't have threadId; VM will not thread<br>warning: Process doesn't have threadId; VM will not thread<br>warning: Process doesn't have threadId; VM will not thread<br>
warning: Process doesn't have threadId; VM will not thread<br>warning: Process doesn't have threadId; VM will not thread<br>warning: Process doesn't have threadId; VM will not thread<br>warning: Process doesn't have threadId; VM will not thread<br>
warning: Process doesn't have threadId; VM will not thread<br>[New Thread 0x777a9b70 (LWP 4077)]<br>[Thread 0x777a9b70 (LWP 4077) exited]<br>[New Thread 0x777a9b70 (LWP 4078)]<br>[Thread 0x777a9b70 (LWP 4078) exited]<br>
[New Thread 0x76fa8b70 (LWP 4079)]<br>[Thread 0x76fa8b70 (LWP 4079) exited]<br>[New Thread 0x777a9b70 (LWP 4080)]<br>[Thread 0x777a9b70 (LWP 4080) exited]<br>[New Thread 0x777a9b70 (LWP 4081)]<br>[Thread 0x777a9b70 (LWP 4081) exited]<br>
[New Thread 0x777a9b70 (LWP 4082)]<br>[Thread 0x777a9b70 (LWP 4082) exited]<br>[New Thread 0x777a9b70 (LWP 4083)]<br>[Thread 0x777a9b70 (LWP 4083) exited]<br>[New Thread 0x777a9b70 (LWP 4084)]<br>[Thread 0x777a9b70 (LWP 4084) exited]<br>
[New Thread 0x777a9b70 (LWP 4085)]<br>[Thread 0x777a9b70 (LWP 4085) exited]<br>[New Thread 0x777a9b70 (LWP 4086)]<br>[Thread 0x777a9b70 (LWP 4086) exited]<br>[New Thread 0x777a9b70 (LWP 4087)]<br>[Thread 0x777a9b70 (LWP 4087) exited]<br>
[New Thread 0x76fa8b70 (LWP 4088)]<br>[Thread 0x76fa8b70 (LWP 4088) exited]<br>[New Thread 0x76fa8b70 (LWP 4089)]<br>[Thread 0x76fa8b70 (LWP 4089) exited]<br>[New Thread 0x76fa8b70 (LWP 4090)]<br>[Thread 0x76fa8b70 (LWP 4090) exited]<br>
[New Thread 0x76fa8b70 (LWP 4091)]<br>[Thread 0x76fa8b70 (LWP 4091) exited]<br>[New Thread 0x76fa8b70 (LWP 4092)]<br>[Thread 0x76fa8b70 (LWP 4092) exited]<br>[New Thread 0x76fa8b70 (LWP 4093)]<br>[Thread 0x76fa8b70 (LWP 4093) exited]<br>
[New Thread 0x76fa8b70 (LWP 4094)]<br>[Thread 0x76fa8b70 (LWP 4094) exited]<br><br>last object overwritten<br><br>C stack backtrace:<br>/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM[0x809fac4]<br>/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM(error+0x1f)[0x809fd81]<br>
/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM[0x807513f]<br>/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM(createClosureNumArgsnumCopiedstartpc+0x79)[0x807d810]<br>/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM[0x806a7ad]<br>
[0x77fab5f9]<br>/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM[0x8094038]<br>/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM[0x8094f24]<br>/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM(interpret+0x1a)[0x808d9ee]<br>
/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM(main+0x467)[0x80a153e]<br>/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x2c3b56]<br>/home/ubuntu/Pharo/vm/cogVM/blessed/results/CogMTVM[0x805cf51]<br><br><br>Smalltalk stack dump:<br>
0xbff6757c M DBXConnection>open 2041076120: a(n) DBXConnection<br>0xbff6759c M DBXOptionsTest>testMultipleStatmentsDMLAndSQL 2040650584: a(n) DBXOptionsTest<br>0xbff675b4 M DBXOptionsTest(TestCase)>performTest 2040650584: a(n) DBXOptionsTest<br>
0xbff675cc M [] in DBXOptionsTest(TestCase)>runCase 2040650584: a(n) DBXOptionsTest<br>0xbff675ec M BlockClosure>ensure: 2041046896: a(n) BlockClosure<br>0xbff67608 M DBXOptionsTest(TestCase)>runCase 2040650584: a(n) DBXOptionsTest<br>
0xbff67624 M [] in TestResult>runCase: 2040603244: a(n) TestResult<br>0xbff67640 M BlockClosure>on:do: 2041045340: a(n) BlockClosure<br>0xbff67660 M TestResult>runCase: 2040603244: a(n) TestResult<br>0xbff6767c M DBXOptionsTest(TestCase)>run: 2040650584: a(n) DBXOptionsTest<br>
0xbff67698 M TestRunner>runTest: 2037383412: a(n) TestRunner<br>0xbff676bc I [] in TestRunner>runSuite: 2037383412: a(n) TestRunner<br>0xbff676f4 M [] in OrderedCollection(Collection)>do:displayingProgress:every: 2040650324: a(n) OrderedCollection<br>
0xbff67714 M OrderedCollection>do: 2040650324: a(n) OrderedCollection<br>0xbff6774c I [] in OrderedCollection(Collection)>do:displayingProgress:every: 2040650324: a(n) OrderedCollection<br>0xbff5f154 M [] in ProgressInitiationException>defaultMorphicAction 2040674072: a(n) ProgressInitiationException<br>
0xbff5f170 M BlockClosure>on:do: 2040675664: a(n) BlockClosure<br>0xbff5f1a0 I [] in ProgressInitiationException>defaultMorphicAction 2040674072: a(n) ProgressInitiationException<br>0xbff5f1c0 M BlockClosure>ensure: 2040675528: a(n) BlockClosure<br>
0xbff5f1ec I ProgressInitiationException>defaultMorphicAction 2040674072: a(n) ProgressInitiationException<br>0xbff5f20c I MorphicUIManager>progressInitiationExceptionDefaultAction: 2040674304: a(n) MorphicUIManager<br>
0xbff5f230 I ProgressInitiationException>defaultAction 2040674072: a(n) ProgressInitiationException<br>0xbff5f254 I UndefinedObject>handleSignal: 2013966340: a(n) UndefinedObject<br>0xbff5f27c I MethodContext(ContextPart)>handleSignal: 2040654700: a(n) MethodContext<br>
0xbff5f2a0 I ProgressInitiationException(Exception)>signal 2040674072: a(n) ProgressInitiationException<br>0xbff5f2c0 I ProgressInitiationException>display:at:from:to:during: 2040674072: a(n) ProgressInitiationException<br>
0xbff5f2f4 I ProgressInitiationException class>display:at:from:to:during: 2014888328: a(n) ProgressInitiationException class<br>0xbff5f328 I ByteString(String)>displayProgressAt:from:to:during: 2024460308: a(n) ByteString<br>
0xbff5f364 I OrderedCollection(Collection)>do:displayingProgress:every: 2040650324: a(n) OrderedCollection<br>0xbff5f390 I OrderedCollection(Collection)>do:displayingProgress: 2040650324: a(n) OrderedCollection<br>
0xbff5f3c0 I [] in TestRunner>basicRunSuite:do: 2037383412: a(n) TestRunner<br>
0xbff5f3e0 M BlockClosure>ensure: 2040673860: a(n) BlockClosure<br>0xbff5f404 I TestRunner>basicRunSuite:do: 2037383412: a(n) TestRunner<br>0xbff5f42c I TestRunner>runSuite: 2037383412: a(n) TestRunner<br>0xbff5f448 M TestRunner>runAll 2037383412: a(n) TestRunner<br>
0xbff5f468 I PluggableButtonMorph>performAction 2037402932: a(n) PluggableButtonMorph<br>0xbff5f484 M [] in PluggableButtonMorph>mouseUp: 2037402932: a(n) PluggableButtonMorph<br>0xbff5f4a8 M Array(SequenceableCollection)>do: 2040603100: a(n) Array<br>
0xbff5f4c8 M PluggableButtonMorph>mouseUp: 2037402932: a(n) PluggableButtonMorph<br>0xbff5f4e4 M PluggableButtonMorph(Morph)>handleMouseUp: 2037402932: a(n) PluggableButtonMorph<br>0xbff5f500 M MouseButtonEvent>sentTo: 2040603060: a(n) MouseButtonEvent<br>
0xbff5f51c M PluggableButtonMorph(Morph)>handleEvent: 2037402932: a(n) PluggableButtonMorph<br>0xbff5f538 M PluggableButtonMorph(Morph)>handleFocusEvent: 2037402932: a(n) PluggableButtonMorph<br>0xbff5f560 M [] in HandMorph>sendFocusEvent:to:clear: 2015348564: a(n) HandMorph<br>
0xbff5f57c M [] in PasteUpMorph>becomeActiveDuring: 2016422820: a(n) PasteUpMorph<br>0xbff5f598 M BlockClosure>on:do: 2040603008: a(n) BlockClosure<br>0xbff5f5c4 M PasteUpMorph>becomeActiveDuring: 2016422820: a(n) PasteUpMorph<br>
0xbff5f5e8 M HandMorph>sendFocusEvent:to:clear: 2015348564: a(n) HandMorph<br>0xbff5f610 M HandMorph>sendEvent:focus:clear: 2015348564: a(n) HandMorph<br>0xbff5f634 M HandMorph>sendMouseEvent: 2015348564: a(n) HandMorph<br>
0xbff5f658 M HandMorph>handleEvent: 2015348564: a(n) HandMorph<br>0xbff5f684 M HandMorph>processEvents 2015348564: a(n) HandMorph<br>0xbff5f69c M [] in WorldState>doOneCycleNowFor: 2017797024: a(n) WorldState<br>
0xbff5f6c0 M Array(SequenceableCollection)>do: 2013980016: a(n) Array<br>0xbff5f6dc M WorldState>handsDo: 2017797024: a(n) WorldState<br>0xbff5f6f8 M WorldState>doOneCycleNowFor: 2017797024: a(n) WorldState<br>0xbff5f714 M WorldState>doOneCycleFor: 2017797024: a(n) WorldState<br>
0xbff5f730 M PasteUpMorph>doOneCycle 2016422820: a(n) PasteUpMorph<br>0xbff5f750 I [] in Project class>? 2017269776: a(n) Project class<br>2016664036 s [] in BlockClosure>?<br><br>Most recent primitives<br>stringHash:initialHash:<br>
stringHash:initialHash:<br>basicNew<br>basicNew<br>apiQuery:query:length:<br>millisecondClockValue<br>signal<br>primSignal:atMilliseconds:<br>millisecondClockValue<br>wait<br>primGetNextEvent:<br>millisecondClockValue<br>
wait<br>signal<br>millisecondClockValue<br>primSignal:atMilliseconds:<br>millisecondClockValue<br>wait<br>signal<br>wait<br>basicNew:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>
byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>
species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>stringHash:initialHash:<br>basicNew:<br>at:put:<br>basicNew:<br>basicNew<br>integerAt:put:size:signed:<br>integerAt:put:size:signed:<br>
apiQueryResult:handle:timeout:chunk:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>apiQueryRowsAffected:<br>stringHash:initialHash:<br>basicNew<br>apiQueryFinalize:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>
basicNew<br>basicNew:<br>at:put:<br>basicNew:<br>basicNew<br>integerAt:put:size:signed:<br>integerAt:put:size:signed:<br>apiQueryResult:handle:timeout:chunk:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>basicNew<br>
basicNew<br>apiQuery:query:length:<br>basicNew:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>
replaceFrom:to:with:startingAt:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>
stringHash:initialHash:<br>basicNew:<br>at:put:<br>basicNew:<br>basicNew<br>integerAt:put:size:signed:<br>integerAt:put:size:signed:<br>apiQueryResult:handle:timeout:chunk:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>
apiQueryRowsAffected:<br>stringHash:initialHash:<br>basicNew<br>apiQueryFinalize:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>basicNew<br>basicNew:<br>at:put:<br>basicNew:<br>basicNew<br>integerAt:put:size:signed:<br>
integerAt:put:size:signed:<br>apiQueryResult:handle:timeout:chunk:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>basicNew<br>basicNew<br>apiQuery:query:length:<br>basicNew:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>
byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>
replaceFrom:to:with:startingAt:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>stringHash:initialHash:<br>basicNew:<br>at:put:<br>basicNew:<br>basicNew<br>integerAt:put:size:signed:<br>
integerAt:put:size:signed:<br>apiQueryResult:handle:timeout:chunk:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>apiQueryRowsAffected:<br>stringHash:initialHash:<br>basicNew<br>apiQueryFinalize:<br>stringHash:initialHash:<br>
stringHash:initialHash:<br>basicNew<br>basicNew:<br>at:put:<br>basicNew:<br>basicNew<br>integerAt:put:size:signed:<br>integerAt:put:size:signed:<br>apiQueryResult:handle:timeout:chunk:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>
basicNew<br>basicNew<br>apiQuery:query:length:<br>millisecondClockValue<br>signal<br>primSignal:atMilliseconds:<br>millisecondClockValue<br>wait<br>primGetNextEvent:<br>millisecondClockValue<br>wait<br>signal<br>millisecondClockValue<br>
primSignal:atMilliseconds:<br>millisecondClockValue<br>wait<br>signal<br>wait<br>basicNew:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>byteAt:put:<br>
species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>replaceFrom:to:with:startingAt:<br>species<br>basicNew:<br>replaceFrom:to:with:startingAt:<br>
replaceFrom:to:with:startingAt:<br>stringHash:initialHash:<br>basicNew:<br>at:put:<br>basicNew:<br>basicNew<br>integerAt:put:size:signed:<br>integerAt:put:size:signed:<br>apiQueryResult:handle:timeout:chunk:<br>stringHash:initialHash:<br>
stringHash:initialHash:<br>apiQueryRowsAffected:<br>stringHash:initialHash:<br>basicNew<br>apiQueryFinalize:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>basicNew<br>basicNew:<br>at:put:<br>basicNew:<br>basicNew<br>
integerAt:put:size:signed:<br>integerAt:put:size:signed:<br>apiQueryResult:handle:timeout:chunk:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>apiUnbind:<br>stringHash:initialHash:<br>apiFinalize:<br>stringHash:initialHash:<br>
perform:<br>basicNew<br>basicNew<br>basicNew<br>compare:with:collated:<br>basicNew<br>basicNew<br>basicNew:<br>at:put:<br>apiInitialize:backend:host:port:<br>stringHash:initialHash:<br>stringHash:initialHash:<br>at:put:<br>
basicNew:<br>at:put:<br>apiGetOption:option:value:<br><br>Program received signal SIGABRT, Aborted.<br>0x00d02422 in __kernel_vsyscall ()<br>(gdb) <br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
<br>