Question regarding crashes using OpenDBXDriver

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

Question regarding crashes using OpenDBXDriver

Michael Berg-2

Hello,

 

I’m usually just reading the list (and Pharo-dev), but right now I’m trying to figure out, if I could use Pharo with Seaside to implement a little REST Interface for some MySQL database I’m using. My first step was to try to get somehow a MySQL connection working. As it seems there aren’t that many ways of using a MySQL database from Pharo, I tried to use the OpenDBXDriver.

My problem is that I get often VM crashes. It seems that if I use a completely fresh image I get at least to the point I can query the db. But after the image crashed the foreign process crashes already sometime after connecting to the db (about 30 seconds later, maybe some timeout) or right away upon trying to disconnect for example. I can just imagine that something was left behind after the first crash in the fresh image and after that I can’t get further than that.

I know this is a pretty fuzzy description, but due to NativeBoost being involved it’s quite hard for somebody quite unfamiliar with Pharo/Smalltalk to see where things might go wrong. At the end of the email I include two crash-dumps, so maybe somebody has an idea and can help.

 

I also had to work around (fix would be the wrong word) a problem that when the DBX code tried to get the column names; after the first column somehow odbx_column_name from the C-Api returns NULL or NB creates a nil from that call, so that the following readString send fails. Again because this happens somehow at the C side of things I couldn’t (or didn’t know how to) look further in the debugger.

Just to see if I can get a resultset at all I changed NBPharoOpenDBX>>apiQueryColumnName:index: to

 

Fileout:

'From Pharo3.0 of 18 March 2013 [Latest update: #30862] on 18 December 2014 at 3:44:48.371881 pm'!

!NBPharoOpenDBX methodsFor: 'api calls' stamp: 'MichaelBerg 12/18/2014 13:36'!

apiQueryColumnName: handle index: index

            "char* odbx_column_name(odbx_result_t* result, unsigned long pos )"

            "IMPORTANT: Index es zero-based"

            | x |

            x := self openDBXlib odbx_column_name: handle pos: index.

            ^x isNil ifTrue: [ 'nil' ] ifFalse: [ x readString ].! !

 

That way I got at least a result and for some reason the similar method getting the column type just worked.

 

Maybe somebody has an idea or has experienced similar things before. Any hint or help is highly appreciated. J

 

 

Thank you and cheers.

 

 

Michael

 

 

 

 

 

 

 

 

 

 

 

Crashdumps:

 

This one is one where the VM crashes after a few seconds upon a DBXConnection>>connect message.

 

---------------------------------------------------------------------

Thu Dec 18 15:04:13 2014

 

Exception code: C0000005

Exception addr: 77D5D5AC

Access violation (read access) at FFFFFFF8

EAX:003C00C0   EBX:003CAAD8 ECX:00000088    EDX:003C3FD8

ESI:00000000     EDI:003C0000    EBP:053DFB90   ESP:053DFA90

EIP:77D5D5AC   EFL:00010206

FP Control: 0000027F

FP Status:  00000020

FP Tag:     0000FFFF

 

 

Crashed in some other thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1871016 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano <[hidden email]> Jenkins build #14858

 

Current byte code: -1

Primitive index: 0

 

Loaded plugins:

                libopendbx-1.dll

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                07520000 - 07532000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                08150000 - 08166000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08170000 - 081ea000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08240000 - 082d3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                082e0000 - 084ac000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                084b0000 - 0859e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                085a0000 - 085b5000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                09170000 - 09193000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                0f410000 - 0f481000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                0f670000 - 0fb7c000: D:\development\Pharo\LIBMYSQL.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4ffc0000 - 4ffe4000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50220000 - 50307000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68ec0000 - 68f94000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

at:put:

basicNew

relinquishProcessorForMicroseconds:

basicNew:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:with:

@

perform:with:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

perform:with:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

basicNew

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

perform:with:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

wait

signal

millisecondClockValue

millisecondClockValue

shallowCopy

perform:with:with:

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

basicNew

new:

basicNew

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

basicNew

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

 

 

Stack backtrace:

                [77D5D5AC] RtlGetAppContainerParent + 1245 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [779EABDD] wcsstr + 942 in msvcrt.dll

                [77D86661] RtlLookupEntryHashTable + 184 in ntdll.dll

                [77D42082] MD4Init + 104 in ntdll.dll

                [77D42003] RtlFillMemoryUlonglong + 76 in ntdll.dll

                [77D24135] RtlWeaklyEnumerateEntryHashTable + 421 in ntdll.dll

                [777B919F] AcquireSRWLockExclusive + 14 in KERNEL32.DLL

                [77D70BBB] RtlInsertElementGenericTableAvl + 132 in ntdll.dll

                [77D70B91] RtlInsertElementGenericTableAvl + 90 in ntdll.dll

 

Can't dump Smalltalk stack. Not in VM thread

 

 

This was my last one when sending DBXConnection>>disconnect.

---------------------------------------------------------------------

Thu Dec 18 15:07:17 2014

 

Exception code: C0000005

Exception addr: 77D5D509

Access violation (read access) at 00000000

EAX:00000000   EBX:0607C460   ECX:00000000    EDX:0607C828

ESI:0607C820     EDI:009B0000    EBP:0023DEF0   ESP:0023DDF0

EIP:77D5D509    EFL:00210246

FP Control: 0000027F

FP Status:  00004020

FP Tag:     0000FFFF

 

 

Crashed in the VM thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1914300 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano <[hidden email]> Jenkins build #14858

 

Current byte code: -1

Primitive index: 117

 

Loaded plugins:

                libopendbx-1.dll

                JPEGReadWriter2Plugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                034b0000 - 034c2000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                034d0000 - 034e6000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08040000 - 08063000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                080b0000 - 0812a000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08130000 - 081c3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                081d0000 - 0839c000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                083a0000 - 08411000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                08420000 - 0850e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                0f320000 - 0f82c000: D:\development\Pharo\LIBMYSQL.dll

                0fc50000 - 0fc65000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4fe20000 - 4fe44000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50a90000 - 50b77000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68e60000 - 68f34000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d30000 - 73d74000: C:\WINDOWS\System32\fwpuclnt.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

basicNew:

replaceFrom:to:with:startingAt:

basicNew

platformId

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

new:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

stringHash:initialHash:

compare:with:collated:

compare:with:collated:

perform:

basicNew:

basicNew

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

basicNew:

at:put:

at:put:

at:put:

at:put:

basicNew:

basicNew

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

at:put:

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

objectAt:

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

objectAt:

newMethod:header:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

objectAt:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:

shallowCopy

shallowCopy

basicAt:put:

shallowCopy

basicAt:put:

objectAt:

objectAt:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

objectAt:

objectAt:

objectAt:

objectAt:

flushCache

at:put:

objectAt:

objectAt:

new:

tempAt:

at:put:

terminateTo:

objectAt:

objectAt:

perform:withArguments:

odbx_finish:

 

 

Stack backtrace:

                [77D5D509] RtlGetAppContainerParent + 1082 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [70D81358] odbxdrv_register + 472 in libmysqlbackend-1.dll

                [643C157F] odbx_finish + 63 in libopendbx-1.dll

                [130BE27F] ??? + 0 in (null)

                [0053CF25] ??? + 1298213 in Pharo.exe

 

 

Smalltalk stack dump:

  0x2560a0 M NBFFICallout class(NBNativeCodeGen class)>retrySend: 0x107f1524: a(n) NBFFICallout class

  0x2560c4 I NBPharoOpenDBX>apiFinalize: 0x12989e54: a(n) NBPharoOpenDBX

  0x2560ec I DBXMySQLBackend(DBXBackend)>disconnectConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x24473c I DBXConnection>releaseConnection 0x12982ac0: a(n) DBXConnection

  0x24475c I DBXConnection>disconnect 0x12982ac0: a(n) DBXConnection

 0x24477c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x244798 M BlockClosure>cull: 0x1301c2f4: a(n) BlockClosure

  0x2447b8 M [] in MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x2447d8 M BlockClosure>ensure: 0x1305d630: a(n) BlockClosure

  0x2447f8 M MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x244814 M DBXFatalError(Exception)>signal 0x1305d380: a(n) DBXFatalError

  0x24482c M DBXFatalError(Exception)>signal: 0x1305d380: a(n) DBXFatalError

  0x244848 M DBXFatalError class(Exception class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x24486c I DBXFatalError class(DBXError class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x244898 I DBXMySQLBackend(DBXBackend)>errorCode:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448c0 I DBXMySQLBackend(DBXBackend)>verifyError:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448ec I DBXMySQLBackend(DBXBackend)>openConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x261f6c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261f88 M BlockClosure>on:do: 0x1301c2e4: a(n) BlockClosure

  0x261fb0 I DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261fc8 M UndefinedObject>(nil) 0x10140004: a(n) UndefinedObject

  0x261ff8 I OpalCompiler>evaluate 0x1301bac0: a(n) OpalCompiler

  0x262024 I RubSmalltalkEditor>evaluateSelectionAndDo: 0x11e40494: a(n) RubSmalltalkEditor

  0x262044 M [] in GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>actOnEvaluateSelection: 0x11e3f198: a(n) GLMMorphicPharoPlaygroundRenderer

  0x262064 M WorldState>runStepMethodsIn: 0x106eec74: a(n) WorldState

  0x262080 M WorldMorph>runStepMethods 0x106eec40: a(n) WorldMorph

  0x262098 M WorldState>doOneCycleNowFor: 0x106eec74: a(n) WorldState

  0x2620b4 M WorldState>doOneCycleFor: 0x106eec74: a(n) WorldState

  0x2620d0 M WorldMorph>doOneCycle 0x106eec40: a(n) WorldMorph

  0x2620f0 I [] in MorphicUIManager>spawnNewProcess 0x10822ab4: a(n) MorphicUIManager

0x11f0c594 s [] in BlockClosure>newProcess

 

Reply | Threaded
Open this post in threaded view
|

Re: Question regarding crashes using OpenDBXDriver

Benoit St-Jean
I don't know if it's an option in your case but I've been using the ODBC package (with both Pharo and Squeak) for years successfully with MySQL, InterBase, PostgreSQL, Oracle, DB/2 and SQLite and it works just fine.

Which version of MySQL are you using and on which platform?  There has been so many changes in the MySQL communication protocol in the last years that this could potentially be a problem (if you're using 3.23x or the more recent 5.5 & 5.6).  And exactly which Pharo image & DBX version are  you using?
 
-----------------
Benoit St-Jean
Yahoo! Messenger: bstjean
Twitter: @BenLeChialeux
Pinterest: benoitstjean
IRC: lamneth
Blogue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)


From: Michael Berg <[hidden email]>
To: [hidden email]
Sent: Thursday, December 18, 2014 9:57 AM
Subject: [Pharo-users] Question regarding crashes using OpenDBXDriver

Hello,
 
I’m usually just reading the list (and Pharo-dev), but right now I’m trying to figure out, if I could use Pharo with Seaside to implement a little REST Interface for some MySQL database I’m using. My first step was to try to get somehow a MySQL connection working. As it seems there aren’t that many ways of using a MySQL database from Pharo, I tried to use the OpenDBXDriver.
My problem is that I get often VM crashes. It seems that if I use a completely fresh image I get at least to the point I can query the db. But after the image crashed the foreign process crashes already sometime after connecting to the db (about 30 seconds later, maybe some timeout) or right away upon trying to disconnect for example. I can just imagine that something was left behind after the first crash in the fresh image and after that I can’t get further than that.
I know this is a pretty fuzzy description, but due to NativeBoost being involved it’s quite hard for somebody quite unfamiliar with Pharo/Smalltalk to see where things might go wrong. At the end of the email I include two crash-dumps, so maybe somebody has an idea and can help.
 
I also had to work around (fix would be the wrong word) a problem that when the DBX code tried to get the column names; after the first column somehow odbx_column_name from the C-Api returns NULL or NB creates a nil from that call, so that the following readString send fails. Again because this happens somehow at the C side of things I couldn’t (or didn’t know how to) look further in the debugger.
Just to see if I can get a resultset at all I changed NBPharoOpenDBX>>apiQueryColumnName:index: to
 
Fileout:
'From Pharo3.0 of 18 March 2013 [Latest update: #30862] on 18 December 2014 at 3:44:48.371881 pm'!
!NBPharoOpenDBX methodsFor: 'api calls' stamp: 'MichaelBerg 12/18/2014 13:36'!
apiQueryColumnName: handle index: index
            "char* odbx_column_name(odbx_result_t* result, unsigned long pos )"
            "IMPORTANT: Index es zero-based"
            | x |
            x := self openDBXlib odbx_column_name: handle pos: index.
            ^x isNil ifTrue: [ 'nil' ] ifFalse: [ x readString ].! !
 
That way I got at least a result and for some reason the similar method getting the column type just worked.
 
Maybe somebody has an idea or has experienced similar things before. Any hint or help is highly appreciated. J
 
 
Thank you and cheers.
 
 
Michael
 
 
 
 
 
 
 
 
 
 
 
Crashdumps:
 
This one is one where the VM crashes after a few seconds upon a DBXConnection>>connect message.
 
---------------------------------------------------------------------
Thu Dec 18 15:04:13 2014
 
Exception code: C0000005
Exception addr: 77D5D5AC
Access violation (read access) at FFFFFFF8
EAX:003C00C0   EBX:003CAAD8 ECX:00000088    EDX:003C3FD8
ESI:00000000     EDI:003C0000    EBP:053DFB90   ESP:053DFA90
EIP:77D5D5AC   EFL:00010206
FP Control: 0000027F
FP Status:  00000020
FP Tag:     0000FFFF
 
 
Crashed in some other thread
 
 
 
Hardware information:
                Manufacturer: Unknown
                Model: Unknown
                Number of processors: 4
                Page size: 4096
 
Memory Information (upon launch):
                Physical Memory Size: 4194303 kbytes
                Physical Memory Free: 1871016 kbytes
                Page File Size: 4194303 kbytes
                Page File Free: 4194303 kbytes
                Virtual Memory Size: 2097024 kbytes
                Virtual Memory Free: 2026780 kbytes
                Memory Load: 76 percent
 
Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
                Identifier: Intel64 Family 6 Model 69 Stepping 1
                ~MHZ: 2694
 
Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
                Identifier: Intel64 Family 6 Model 69 Stepping 1
                ~MHZ: 2694
 
Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
                Identifier: Intel64 Family 6 Model 69 Stepping 1
                ~MHZ: 2694
 
Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
                Identifier: Intel64 Family 6 Model 69 Stepping 1
                ~MHZ: 2694
 
Operating System: Windows 8.1 Pro (Build 9200 )
                Registered Owner: Windows User
                Registered Company:
                SP major version: 0
                SP minor version: 0
                Suite mask: 100
                Product type: 1
 
Display Information:
                Graphics adapter name: Intel(R) HD Graphics Family
                Primary monitor resolution: 1920 x 1200
 
Device: ???
                Adapter String: Intel(R) HD Graphics 4400
                Bios String: Intel Video BIOS
                Chip Type: Intel(R) HD Graphics Family
                DAC Type: Internal
                Memory Size: 0x82000000
 
Driver Versions:
                igdumdim64:
 
VM Version: Cog VM 4.0.0 (release) from Sep 25 2014
Compiler: gcc 4.6.2
Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014
Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014
Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano <[hidden email]> Jenkins build #14858
 
Current byte code: -1
Primitive index: 0
 
Loaded plugins:
                libopendbx-1.dll
                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                Kernel32
                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)
                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)
                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)
                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
 
Module information:
                00400000 - 006ee000: D:\development\Pharo\Pharo.exe
                07520000 - 07532000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll
                08150000 - 08166000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll
                08170000 - 081ea000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll
                08240000 - 082d3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll
                082e0000 - 084ac000: C:\Program Files\TortoiseGit\bin\gitdll32.dll
                084b0000 - 0859e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll
                085a0000 - 085b5000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll
                09170000 - 09193000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll
                0f410000 - 0f481000: C:\WINDOWS\SYSTEM32\MSVCP120.dll
                0f670000 - 0fb7c000: D:\development\Pharo\LIBMYSQL.dll
                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll
                10040000 - 10140004: CogCode
                4ffc0000 - 4ffe4000: C:\WINDOWS\SYSTEM32\GLU32.dll
                50220000 - 50307000: C:\WINDOWS\SYSTEM32\DDRAW.dll
                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll
                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll
                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll
                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll
                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll
                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll
                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll
                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll
                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll
                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll
                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll
                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll
                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll
                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll
                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll
                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll
                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll
                68ec0000 - 68f94000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL
                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL
                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll
                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll
                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll
                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll
                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll
                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll
                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll
                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll
                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL
                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll
                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll
                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll
                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll
                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll
                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll
                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll
                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll
                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll
                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL
                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll
                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll
                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll
                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll
                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll
                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll
                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll
                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL
                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll
                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll
                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll
                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL
                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll
                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll
                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll
                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll
                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll
                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll
                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll
                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll
                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll
                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll
                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll
                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll
                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll
                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll
                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL
                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL
                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll
                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll
                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL
                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL
                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL
                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll
                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll
                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll
                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL
                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll
                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll
                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll
                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll
                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll
 
Primitive trace:
at:put:
basicNew
relinquishProcessorForMicroseconds:
basicNew:
relinquishProcessorForMicroseconds:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
perform:with:with:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
perform:with:with:
@
perform:with:
perform:with:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
perform:with:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
@
perform:with:
perform:with:
@
perform:with:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
perform:with:
@
basicNew
shallowCopy
relinquishProcessorForMicroseconds:
at:put:
perform:with:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
relinquishProcessorForMicroseconds:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
perform:with:with:
shallowCopy
perform:with:with:
relinquishProcessorForMicroseconds:
wait
signal
millisecondClockValue
millisecondClockValue
shallowCopy
perform:with:with:
shallowCopy
relinquishProcessorForMicroseconds:
at:put:
at:put:
at:put:
at:put:
basicNew
new:
basicNew
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
perform:with:
@
perform:with:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
@
basicNew
shallowCopy
perform:with:with:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
at:put:
at:put:
at:put:
at:put:
at:put:
 
 
Stack backtrace:
                [77D5D5AC] RtlGetAppContainerParent + 1245 in ntdll.dll
                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll
                [779E9A15] free + 57 in msvcrt.dll
                [779EABDD] wcsstr + 942 in msvcrt.dll
                [77D86661] RtlLookupEntryHashTable + 184 in ntdll.dll
                [77D42082] MD4Init + 104 in ntdll.dll
                [77D42003] RtlFillMemoryUlonglong + 76 in ntdll.dll
                [77D24135] RtlWeaklyEnumerateEntryHashTable + 421 in ntdll.dll
                [777B919F] AcquireSRWLockExclusive + 14 in KERNEL32.DLL
                [77D70BBB] RtlInsertElementGenericTableAvl + 132 in ntdll.dll
                [77D70B91] RtlInsertElementGenericTableAvl + 90 in ntdll.dll
 
Can't dump Smalltalk stack. Not in VM thread
 
 
This was my last one when sending DBXConnection>>disconnect.
---------------------------------------------------------------------
Thu Dec 18 15:07:17 2014
 
Exception code: C0000005
Exception addr: 77D5D509
Access violation (read access) at 00000000
EAX:00000000   EBX:0607C460   ECX:00000000    EDX:0607C828
ESI:0607C820     EDI:009B0000    EBP:0023DEF0   ESP:0023DDF0
EIP:77D5D509    EFL:00210246
FP Control: 0000027F
FP Status:  00004020
FP Tag:     0000FFFF
 
 
Crashed in the VM thread
 
 
 
Hardware information:
                Manufacturer: Unknown
                Model: Unknown
                Number of processors: 4
                Page size: 4096
 
Memory Information (upon launch):
                Physical Memory Size: 4194303 kbytes
                Physical Memory Free: 1914300 kbytes
                Page File Size: 4194303 kbytes
                Page File Free: 4194303 kbytes
                Virtual Memory Size: 2097024 kbytes
                Virtual Memory Free: 2026780 kbytes
                Memory Load: 76 percent
 
Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
                Identifier: Intel64 Family 6 Model 69 Stepping 1
                ~MHZ: 2694
 
Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
                Identifier: Intel64 Family 6 Model 69 Stepping 1
                ~MHZ: 2694
 
Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
                Identifier: Intel64 Family 6 Model 69 Stepping 1
                ~MHZ: 2694
 
Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
                Identifier: Intel64 Family 6 Model 69 Stepping 1
                ~MHZ: 2694
 
Operating System: Windows 8.1 Pro (Build 9200 )
                Registered Owner: Windows User
                Registered Company:
                SP major version: 0
                SP minor version: 0
                Suite mask: 100
                Product type: 1
 
Display Information:
                Graphics adapter name: Intel(R) HD Graphics Family
                Primary monitor resolution: 1920 x 1200
 
Device: ???
                Adapter String: Intel(R) HD Graphics 4400
                Bios String: Intel Video BIOS
                Chip Type: Intel(R) HD Graphics Family
                DAC Type: Internal
                Memory Size: 0x82000000
 
Driver Versions:
                igdumdim64:
 
VM Version: Cog VM 4.0.0 (release) from Sep 25 2014
Compiler: gcc 4.6.2
Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014
Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014
Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano <[hidden email]> Jenkins build #14858
 
Current byte code: -1
Primitive index: 117
 
Loaded plugins:
                libopendbx-1.dll
                JPEGReadWriter2Plugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                Kernel32
                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)
                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)
                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)
                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)
 
Module information:
                00400000 - 006ee000: D:\development\Pharo\Pharo.exe
                034b0000 - 034c2000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll
                034d0000 - 034e6000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll
                08040000 - 08063000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll
                080b0000 - 0812a000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll
                08130000 - 081c3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll
                081d0000 - 0839c000: C:\Program Files\TortoiseGit\bin\gitdll32.dll
                083a0000 - 08411000: C:\WINDOWS\SYSTEM32\MSVCP120.dll
                08420000 - 0850e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll
                0f320000 - 0f82c000: D:\development\Pharo\LIBMYSQL.dll
                0fc50000 - 0fc65000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll
                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll
                10040000 - 10140004: CogCode
                4fe20000 - 4fe44000: C:\WINDOWS\SYSTEM32\GLU32.dll
                50a90000 - 50b77000: C:\WINDOWS\SYSTEM32\DDRAW.dll
                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll
                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll
                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll
                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll
                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll
                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll
                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll
                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll
                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll
                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll
                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll
                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll
                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll
                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll
                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll
                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll
                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll
                68e60000 - 68f34000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL
                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL
                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll
                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll
                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll
                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll
                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll
                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll
                73d30000 - 73d74000: C:\WINDOWS\System32\fwpuclnt.dll
                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll
                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll
                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL
                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll
                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll
                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll
                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll
                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll
                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll
                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll
                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll
                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll
                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL
                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll
                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll
                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll
                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll
                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll
                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll
                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll
                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL
                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll
                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll
                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll
                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL
                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll
                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll
                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll
                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll
                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll
                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll
                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll
                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll
                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll
                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll
                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll
                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll
                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll
                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll
                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL
                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL
                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll
                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll
                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL
                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL
                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL
                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll
                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll
                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll
                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL
                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll
                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll
                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll
                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll
                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll
 
Primitive trace:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
basicNew:
replaceFrom:to:with:startingAt:
basicNew
platformId
basicNew
at:
compare:with:collated:
at:
at:
at:
at:
new:
at:put:
basicNew:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
stringHash:initialHash:
compare:with:collated:
compare:with:collated:
perform:
basicNew:
basicNew
at:put:
at:put:
at:put:
at:put:
basicNew:
replaceFrom:to:with:startingAt:
basicNew:
at:put:
at:put:
at:put:
at:put:
basicNew:
basicNew
basicNew:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
at:put:
at:put:
at:put:
at:put:
at:put:
basicNew:
replaceFrom:to:with:startingAt:
objectAt:
basicNew
at:
compare:with:collated:
at:
at:
at:
at:
objectAt:
newMethod:header:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
objectAt:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:
shallowCopy
shallowCopy
basicAt:put:
shallowCopy
basicAt:put:
objectAt:
objectAt:put:
at:
at:put:
at:
at:put:
at:
at:put:
at:
at:put:
at:
at:put:
at:
at:put:
at:
at:put:
objectAt:
objectAt:
objectAt:
objectAt:
flushCache
at:put:
objectAt:
objectAt:
new:
tempAt:
at:put:
terminateTo:
objectAt:
objectAt:
perform:withArguments:
odbx_finish:
 
 
Stack backtrace:
                [77D5D509] RtlGetAppContainerParent + 1082 in ntdll.dll
                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll
                [779E9A15] free + 57 in msvcrt.dll
                [70D81358] odbxdrv_register + 472 in libmysqlbackend-1.dll
                [643C157F] odbx_finish + 63 in libopendbx-1.dll
                [130BE27F] ??? + 0 in (null)
                [0053CF25] ??? + 1298213 in Pharo.exe
 
 
Smalltalk stack dump:
  0x2560a0 M NBFFICallout class(NBNativeCodeGen class)>retrySend: 0x107f1524: a(n) NBFFICallout class
  0x2560c4 I NBPharoOpenDBX>apiFinalize: 0x12989e54: a(n) NBPharoOpenDBX
  0x2560ec I DBXMySQLBackend(DBXBackend)>disconnectConnection: 0x12982a94: a(n) DBXMySQLBackend
  0x24473c I DBXConnection>releaseConnection 0x12982ac0: a(n) DBXConnection
  0x24475c I DBXConnection>disconnect 0x12982ac0: a(n) DBXConnection
 0x24477c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection
  0x244798 M BlockClosure>cull: 0x1301c2f4: a(n) BlockClosure
  0x2447b8 M [] in MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext
  0x2447d8 M BlockClosure>ensure: 0x1305d630: a(n) BlockClosure
  0x2447f8 M MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext
  0x244814 M DBXFatalError(Exception)>signal 0x1305d380: a(n) DBXFatalError
  0x24482c M DBXFatalError(Exception)>signal: 0x1305d380: a(n) DBXFatalError
  0x244848 M DBXFatalError class(Exception class)>signal: 0x11ec3450: a(n) DBXFatalError class
  0x24486c I DBXFatalError class(DBXError class)>signal: 0x11ec3450: a(n) DBXFatalError class
  0x244898 I DBXMySQLBackend(DBXBackend)>errorCode:handle: 0x12982a94: a(n) DBXMySQLBackend
  0x2448c0 I DBXMySQLBackend(DBXBackend)>verifyError:handle: 0x12982a94: a(n) DBXMySQLBackend
  0x2448ec I DBXMySQLBackend(DBXBackend)>openConnection: 0x12982a94: a(n) DBXMySQLBackend
  0x261f6c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection
  0x261f88 M BlockClosure>on:do: 0x1301c2e4: a(n) BlockClosure
  0x261fb0 I DBXConnection>open 0x12982ac0: a(n) DBXConnection
  0x261fc8 M UndefinedObject>(nil) 0x10140004: a(n) UndefinedObject
  0x261ff8 I OpalCompiler>evaluate 0x1301bac0: a(n) OpalCompiler
  0x262024 I RubSmalltalkEditor>evaluateSelectionAndDo: 0x11e40494: a(n) RubSmalltalkEditor
  0x262044 M [] in GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>actOnEvaluateSelection: 0x11e3f198: a(n) GLMMorphicPharoPlaygroundRenderer
  0x262064 M WorldState>runStepMethodsIn: 0x106eec74: a(n) WorldState
  0x262080 M WorldMorph>runStepMethods 0x106eec40: a(n) WorldMorph
  0x262098 M WorldState>doOneCycleNowFor: 0x106eec74: a(n) WorldState
  0x2620b4 M WorldState>doOneCycleFor: 0x106eec74: a(n) WorldState
  0x2620d0 M WorldMorph>doOneCycle 0x106eec40: a(n) WorldMorph
  0x2620f0 I [] in MorphicUIManager>spawnNewProcess 0x10822ab4: a(n) MorphicUIManager
0x11f0c594 s [] in BlockClosure>newProcess
 


Reply | Threaded
Open this post in threaded view
|

Re: Question regarding crashes using OpenDBXDriver

stepharo
In reply to this post by Michael Berg-2
Hello michael

I do not have experience with db but this is on our roadmap.
Olivier Auverlot started an analysis of the different solutions offered in Pharo.
https://docs.google.com/spreadsheets/d/1uD6UFmwCJxAkOC9tlvdJsHtt10C0KHJ6Zp8WmfXpaR4/edit#gid=0

Check the joint documents

Le 18/12/14 15:57, Michael Berg a écrit :

Hello,

 

I’m usually just reading the list (and Pharo-dev), but right now I’m trying to figure out, if I could use Pharo with Seaside to implement a little REST Interface for some MySQL database I’m using. My first step was to try to get somehow a MySQL connection working. As it seems there aren’t that many ways of using a MySQL database from Pharo, I tried to use the OpenDBXDriver.


do you mean the MysqlDriver that is packaged in the DBXTalk project?

My problem is that I get often VM crashes. It seems that if I use a completely fresh image I get at least to the point I can query the db. But after the image crashed the foreign process crashes already sometime after connecting to the db (about 30 seconds later, maybe some timeout) or right away upon trying to disconnect for example. I can just imagine that something was left behind after the first crash in the fresh image and after that I can’t get further than that.

I know this is a pretty fuzzy description, but due to NativeBoost being involved it’s quite hard for somebody quite unfamiliar with Pharo/Smalltalk to see where things might go wrong. At the end of the email I include two crash-dumps, so maybe somebody has an idea and can help.


You know it would be an ffi call it would be the same. A foreign lib is a foreign lib.
So which versions of the lib and others are you using?

 

I also had to work around (fix would be the wrong word) a problem that when the DBX code tried to get the column names; after the first column somehow odbx_column_name from the C-Api returns NULL or NB creates a nil from that call, so that the following readString send fails. Again because this happens somehow at the C side of things I couldn’t (or didn’t know how to) look further in the debugger.

Just to see if I can get a resultset at all I changed NBPharoOpenDBX>>apiQueryColumnName:index: to

 

Fileout:

'From Pharo3.0 of 18 March 2013 [Latest update: #30862] on 18 December 2014 at 3:44:48.371881 pm'!

!NBPharoOpenDBX methodsFor: 'api calls' stamp: 'MichaelBerg 12/18/2014 13:36'!

apiQueryColumnName: handle index: index

            "char* odbx_column_name(odbx_result_t* result, unsigned long pos )"

            "IMPORTANT: Index es zero-based"

            | x |

            x := self openDBXlib odbx_column_name: handle pos: index.

            ^x isNil ifTrue: [ 'nil' ] ifFalse: [ x readString ].! !

 

That way I got at least a result and for some reason the similar method getting the column type just worked.

 

Maybe somebody has an idea or has experienced similar things before. Any hint or help is highly appreciated. J

 

 

Thank you and cheers.

 

 

Michael

 

 

 

 

 

 

 

 

 

 

 

Crashdumps:

 

This one is one where the VM crashes after a few seconds upon a DBXConnection>>connect message.

 

---------------------------------------------------------------------

Thu Dec 18 15:04:13 2014

 

Exception code: C0000005

Exception addr: 77D5D5AC

Access violation (read access) at FFFFFFF8

EAX:003C00C0   EBX:003CAAD8 ECX:00000088    EDX:003C3FD8

ESI:00000000     EDI:003C0000    EBP:053DFB90   ESP:053DFA90

EIP:77D5D5AC   EFL:00010206

FP Control: 0000027F

FP Status:  00000020

FP Tag:     0000FFFF

 

 

Crashed in some other thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1871016 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano [hidden email] Jenkins build #14858

 

Current byte code: -1

Primitive index: 0

 

Loaded plugins:

                libopendbx-1.dll

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                07520000 - 07532000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                08150000 - 08166000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08170000 - 081ea000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08240000 - 082d3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                082e0000 - 084ac000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                084b0000 - 0859e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                085a0000 - 085b5000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                09170000 - 09193000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                0f410000 - 0f481000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                0f670000 - 0fb7c000: D:\development\Pharo\LIBMYSQL.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4ffc0000 - 4ffe4000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50220000 - 50307000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68ec0000 - 68f94000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

at:put:

basicNew

relinquishProcessorForMicroseconds:

basicNew:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:with:

@

perform:with:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

perform:with:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

basicNew

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

perform:with:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

wait

signal

millisecondClockValue

millisecondClockValue

shallowCopy

perform:with:with:

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

basicNew

new:

basicNew

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

basicNew

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

 

 

Stack backtrace:

                [77D5D5AC] RtlGetAppContainerParent + 1245 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [779EABDD] wcsstr + 942 in msvcrt.dll

                [77D86661] RtlLookupEntryHashTable + 184 in ntdll.dll

                [77D42082] MD4Init + 104 in ntdll.dll

                [77D42003] RtlFillMemoryUlonglong + 76 in ntdll.dll

                [77D24135] RtlWeaklyEnumerateEntryHashTable + 421 in ntdll.dll

                [777B919F] AcquireSRWLockExclusive + 14 in KERNEL32.DLL

                [77D70BBB] RtlInsertElementGenericTableAvl + 132 in ntdll.dll

                [77D70B91] RtlInsertElementGenericTableAvl + 90 in ntdll.dll

 

Can't dump Smalltalk stack. Not in VM thread

 

 

This was my last one when sending DBXConnection>>disconnect.

---------------------------------------------------------------------

Thu Dec 18 15:07:17 2014

 

Exception code: C0000005

Exception addr: 77D5D509

Access violation (read access) at 00000000

EAX:00000000   EBX:0607C460   ECX:00000000    EDX:0607C828

ESI:0607C820     EDI:009B0000    EBP:0023DEF0   ESP:0023DDF0

EIP:77D5D509    EFL:00210246

FP Control: 0000027F

FP Status:  00004020

FP Tag:     0000FFFF

 

 

Crashed in the VM thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1914300 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano [hidden email] Jenkins build #14858

 

Current byte code: -1

Primitive index: 117

 

Loaded plugins:

                libopendbx-1.dll

                JPEGReadWriter2Plugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                034b0000 - 034c2000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                034d0000 - 034e6000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08040000 - 08063000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                080b0000 - 0812a000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08130000 - 081c3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                081d0000 - 0839c000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                083a0000 - 08411000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                08420000 - 0850e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                0f320000 - 0f82c000: D:\development\Pharo\LIBMYSQL.dll

                0fc50000 - 0fc65000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4fe20000 - 4fe44000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50a90000 - 50b77000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68e60000 - 68f34000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d30000 - 73d74000: C:\WINDOWS\System32\fwpuclnt.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

basicNew:

replaceFrom:to:with:startingAt:

basicNew

platformId

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

new:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

stringHash:initialHash:

compare:with:collated:

compare:with:collated:

perform:

basicNew:

basicNew

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

basicNew:

at:put:

at:put:

at:put:

at:put:

basicNew:

basicNew

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

at:put:

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

objectAt:

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

objectAt:

newMethod:header:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

objectAt:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:

shallowCopy

shallowCopy

basicAt:put:

shallowCopy

basicAt:put:

objectAt:

objectAt:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

objectAt:

objectAt:

objectAt:

objectAt:

flushCache

at:put:

objectAt:

objectAt:

new:

tempAt:

at:put:

terminateTo:

objectAt:

objectAt:

perform:withArguments:

odbx_finish:

 

 

Stack backtrace:

                [77D5D509] RtlGetAppContainerParent + 1082 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [70D81358] odbxdrv_register + 472 in libmysqlbackend-1.dll

                [643C157F] odbx_finish + 63 in libopendbx-1.dll

                [130BE27F] ??? + 0 in (null)

                [0053CF25] ??? + 1298213 in Pharo.exe

 

 

Smalltalk stack dump:

  0x2560a0 M NBFFICallout class(NBNativeCodeGen class)>retrySend: 0x107f1524: a(n) NBFFICallout class

  0x2560c4 I NBPharoOpenDBX>apiFinalize: 0x12989e54: a(n) NBPharoOpenDBX

  0x2560ec I DBXMySQLBackend(DBXBackend)>disconnectConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x24473c I DBXConnection>releaseConnection 0x12982ac0: a(n) DBXConnection

  0x24475c I DBXConnection>disconnect 0x12982ac0: a(n) DBXConnection

 0x24477c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x244798 M BlockClosure>cull: 0x1301c2f4: a(n) BlockClosure

  0x2447b8 M [] in MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x2447d8 M BlockClosure>ensure: 0x1305d630: a(n) BlockClosure

  0x2447f8 M MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x244814 M DBXFatalError(Exception)>signal 0x1305d380: a(n) DBXFatalError

  0x24482c M DBXFatalError(Exception)>signal: 0x1305d380: a(n) DBXFatalError

  0x244848 M DBXFatalError class(Exception class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x24486c I DBXFatalError class(DBXError class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x244898 I DBXMySQLBackend(DBXBackend)>errorCode:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448c0 I DBXMySQLBackend(DBXBackend)>verifyError:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448ec I DBXMySQLBackend(DBXBackend)>openConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x261f6c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261f88 M BlockClosure>on:do: 0x1301c2e4: a(n) BlockClosure

  0x261fb0 I DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261fc8 M UndefinedObject>(nil) 0x10140004: a(n) UndefinedObject

  0x261ff8 I OpalCompiler>evaluate 0x1301bac0: a(n) OpalCompiler

  0x262024 I RubSmalltalkEditor>evaluateSelectionAndDo: 0x11e40494: a(n) RubSmalltalkEditor

  0x262044 M [] in GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>actOnEvaluateSelection: 0x11e3f198: a(n) GLMMorphicPharoPlaygroundRenderer

  0x262064 M WorldState>runStepMethodsIn: 0x106eec74: a(n) WorldState

  0x262080 M WorldMorph>runStepMethods 0x106eec40: a(n) WorldMorph

  0x262098 M WorldState>doOneCycleNowFor: 0x106eec74: a(n) WorldState

  0x2620b4 M WorldState>doOneCycleFor: 0x106eec74: a(n) WorldState

  0x2620d0 M WorldMorph>doOneCycle 0x106eec40: a(n) WorldMorph

  0x2620f0 I [] in MorphicUIManager>spawnNewProcess 0x10822ab4: a(n) MorphicUIManager

0x11f0c594 s [] in BlockClosure>newProcess

 



grille =?UTF-8?B?ZcyBdmFsdWF0aW9uIHNvbHV0aW9uIFNRTCAtIEZldWlsbGUgMS5wZGY=?= (57K) Download Attachment
grille =?UTF-8?B?ZcyBdmFsdWF0aW9uIHNvbHV0aW9uIFNRTC54bHN4?= (29K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Question regarding crashes using OpenDBXDriver

Guillermo Polito
Hi Michael,

Can you share with us how did you download the OpenDBX package in Pharo, and the OpenDBX and Mysql libraries (and each of their versions).

From the dump you share I can only notice that the problem is when calling OpenDBX finalize because of an error, and that it is the first time that you're calling that method because NativeBoost just generated the native code on that stack trace. However, I cannot know if that is because there are any problems on the DBX Pharo side (wrong arguments sent to finalize) or in the library side...

Also, which is the query that you're sending to the database? :)

Guille



On Sun, Dec 21, 2014 at 9:25 AM, stepharo <[hidden email]> wrote:
Hello michael

I do not have experience with db but this is on our roadmap.
Olivier Auverlot started an analysis of the different solutions offered in Pharo.
https://docs.google.com/spreadsheets/d/1uD6UFmwCJxAkOC9tlvdJsHtt10C0KHJ6Zp8WmfXpaR4/edit#gid=0

Check the joint documents

Le 18/12/14 15:57, Michael Berg a écrit :

Hello,

 

I’m usually just reading the list (and Pharo-dev), but right now I’m trying to figure out, if I could use Pharo with Seaside to implement a little REST Interface for some MySQL database I’m using. My first step was to try to get somehow a MySQL connection working. As it seems there aren’t that many ways of using a MySQL database from Pharo, I tried to use the OpenDBXDriver.


do you mean the MysqlDriver that is packaged in the DBXTalk project?

My problem is that I get often VM crashes. It seems that if I use a completely fresh image I get at least to the point I can query the db. But after the image crashed the foreign process crashes already sometime after connecting to the db (about 30 seconds later, maybe some timeout) or right away upon trying to disconnect for example. I can just imagine that something was left behind after the first crash in the fresh image and after that I can’t get further than that.

I know this is a pretty fuzzy description, but due to NativeBoost being involved it’s quite hard for somebody quite unfamiliar with Pharo/Smalltalk to see where things might go wrong. At the end of the email I include two crash-dumps, so maybe somebody has an idea and can help.


You know it would be an ffi call it would be the same. A foreign lib is a foreign lib.
So which versions of the lib and others are you using?

 

I also had to work around (fix would be the wrong word) a problem that when the DBX code tried to get the column names; after the first column somehow odbx_column_name from the C-Api returns NULL or NB creates a nil from that call, so that the following readString send fails. Again because this happens somehow at the C side of things I couldn’t (or didn’t know how to) look further in the debugger.

Just to see if I can get a resultset at all I changed NBPharoOpenDBX>>apiQueryColumnName:index: to

 

Fileout:

'From Pharo3.0 of 18 March 2013 [Latest update: #30862] on 18 December 2014 at 3:44:48.371881 pm'!

!NBPharoOpenDBX methodsFor: 'api calls' stamp: 'MichaelBerg 12/18/2014 13:36'!

apiQueryColumnName: handle index: index

            "char* odbx_column_name(odbx_result_t* result, unsigned long pos )"

            "IMPORTANT: Index es zero-based"

            | x |

            x := self openDBXlib odbx_column_name: handle pos: index.

            ^x isNil ifTrue: [ 'nil' ] ifFalse: [ x readString ].! !

 

That way I got at least a result and for some reason the similar method getting the column type just worked.

 

Maybe somebody has an idea or has experienced similar things before. Any hint or help is highly appreciated. J

 

 

Thank you and cheers.

 

 

Michael

 

 

 

 

 

 

 

 

 

 

 

Crashdumps:

 

This one is one where the VM crashes after a few seconds upon a DBXConnection>>connect message.

 

---------------------------------------------------------------------

Thu Dec 18 15:04:13 2014

 

Exception code: C0000005

Exception addr: 77D5D5AC

Access violation (read access) at FFFFFFF8

EAX:003C00C0   EBX:003CAAD8 ECX:00000088    EDX:003C3FD8

ESI:00000000     EDI:003C0000    EBP:053DFB90   ESP:053DFA90

EIP:77D5D5AC   EFL:00010206

FP Control: 0000027F

FP Status:  00000020

FP Tag:     0000FFFF

 

 

Crashed in some other thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1871016 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano [hidden email] Jenkins build #14858

 

Current byte code: -1

Primitive index: 0

 

Loaded plugins:

                libopendbx-1.dll

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                07520000 - 07532000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                08150000 - 08166000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08170000 - 081ea000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08240000 - 082d3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                082e0000 - 084ac000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                084b0000 - 0859e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                085a0000 - 085b5000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                09170000 - 09193000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                0f410000 - 0f481000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                0f670000 - 0fb7c000: D:\development\Pharo\LIBMYSQL.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4ffc0000 - 4ffe4000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50220000 - 50307000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68ec0000 - 68f94000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

at:put:

basicNew

relinquishProcessorForMicroseconds:

basicNew:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:with:

@

perform:with:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

perform:with:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

basicNew

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

perform:with:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

wait

signal

millisecondClockValue

millisecondClockValue

shallowCopy

perform:with:with:

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

basicNew

new:

basicNew

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

basicNew

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

 

 

Stack backtrace:

                [77D5D5AC] RtlGetAppContainerParent + 1245 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [779EABDD] wcsstr + 942 in msvcrt.dll

                [77D86661] RtlLookupEntryHashTable + 184 in ntdll.dll

                [77D42082] MD4Init + 104 in ntdll.dll

                [77D42003] RtlFillMemoryUlonglong + 76 in ntdll.dll

                [77D24135] RtlWeaklyEnumerateEntryHashTable + 421 in ntdll.dll

                [777B919F] AcquireSRWLockExclusive + 14 in KERNEL32.DLL

                [77D70BBB] RtlInsertElementGenericTableAvl + 132 in ntdll.dll

                [77D70B91] RtlInsertElementGenericTableAvl + 90 in ntdll.dll

 

Can't dump Smalltalk stack. Not in VM thread

 

 

This was my last one when sending DBXConnection>>disconnect.

---------------------------------------------------------------------

Thu Dec 18 15:07:17 2014

 

Exception code: C0000005

Exception addr: 77D5D509

Access violation (read access) at 00000000

EAX:00000000   EBX:0607C460   ECX:00000000    EDX:0607C828

ESI:0607C820     EDI:009B0000    EBP:0023DEF0   ESP:0023DDF0

EIP:77D5D509    EFL:00210246

FP Control: 0000027F

FP Status:  00004020

FP Tag:     0000FFFF

 

 

Crashed in the VM thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1914300 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano [hidden email] Jenkins build #14858

 

Current byte code: -1

Primitive index: 117

 

Loaded plugins:

                libopendbx-1.dll

                JPEGReadWriter2Plugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                034b0000 - 034c2000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                034d0000 - 034e6000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08040000 - 08063000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                080b0000 - 0812a000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08130000 - 081c3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                081d0000 - 0839c000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                083a0000 - 08411000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                08420000 - 0850e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                0f320000 - 0f82c000: D:\development\Pharo\LIBMYSQL.dll

                0fc50000 - 0fc65000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4fe20000 - 4fe44000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50a90000 - 50b77000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68e60000 - 68f34000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d30000 - 73d74000: C:\WINDOWS\System32\fwpuclnt.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

basicNew:

replaceFrom:to:with:startingAt:

basicNew

platformId

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

new:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

stringHash:initialHash:

compare:with:collated:

compare:with:collated:

perform:

basicNew:

basicNew

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

basicNew:

at:put:

at:put:

at:put:

at:put:

basicNew:

basicNew

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

at:put:

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

objectAt:

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

objectAt:

newMethod:header:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

objectAt:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:

shallowCopy

shallowCopy

basicAt:put:

shallowCopy

basicAt:put:

objectAt:

objectAt:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

objectAt:

objectAt:

objectAt:

objectAt:

flushCache

at:put:

objectAt:

objectAt:

new:

tempAt:

at:put:

terminateTo:

objectAt:

objectAt:

perform:withArguments:

odbx_finish:

 

 

Stack backtrace:

                [77D5D509] RtlGetAppContainerParent + 1082 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [70D81358] odbxdrv_register + 472 in libmysqlbackend-1.dll

                [643C157F] odbx_finish + 63 in libopendbx-1.dll

                [130BE27F] ??? + 0 in (null)

                [0053CF25] ??? + 1298213 in Pharo.exe

 

 

Smalltalk stack dump:

  0x2560a0 M NBFFICallout class(NBNativeCodeGen class)>retrySend: 0x107f1524: a(n) NBFFICallout class

  0x2560c4 I NBPharoOpenDBX>apiFinalize: 0x12989e54: a(n) NBPharoOpenDBX

  0x2560ec I DBXMySQLBackend(DBXBackend)>disconnectConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x24473c I DBXConnection>releaseConnection 0x12982ac0: a(n) DBXConnection

  0x24475c I DBXConnection>disconnect 0x12982ac0: a(n) DBXConnection

 0x24477c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x244798 M BlockClosure>cull: 0x1301c2f4: a(n) BlockClosure

  0x2447b8 M [] in MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x2447d8 M BlockClosure>ensure: 0x1305d630: a(n) BlockClosure

  0x2447f8 M MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x244814 M DBXFatalError(Exception)>signal 0x1305d380: a(n) DBXFatalError

  0x24482c M DBXFatalError(Exception)>signal: 0x1305d380: a(n) DBXFatalError

  0x244848 M DBXFatalError class(Exception class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x24486c I DBXFatalError class(DBXError class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x244898 I DBXMySQLBackend(DBXBackend)>errorCode:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448c0 I DBXMySQLBackend(DBXBackend)>verifyError:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448ec I DBXMySQLBackend(DBXBackend)>openConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x261f6c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261f88 M BlockClosure>on:do: 0x1301c2e4: a(n) BlockClosure

  0x261fb0 I DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261fc8 M UndefinedObject>(nil) 0x10140004: a(n) UndefinedObject

  0x261ff8 I OpalCompiler>evaluate 0x1301bac0: a(n) OpalCompiler

  0x262024 I RubSmalltalkEditor>evaluateSelectionAndDo: 0x11e40494: a(n) RubSmalltalkEditor

  0x262044 M [] in GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>actOnEvaluateSelection: 0x11e3f198: a(n) GLMMorphicPharoPlaygroundRenderer

  0x262064 M WorldState>runStepMethodsIn: 0x106eec74: a(n) WorldState

  0x262080 M WorldMorph>runStepMethods 0x106eec40: a(n) WorldMorph

  0x262098 M WorldState>doOneCycleNowFor: 0x106eec74: a(n) WorldState

  0x2620b4 M WorldState>doOneCycleFor: 0x106eec74: a(n) WorldState

  0x2620d0 M WorldMorph>doOneCycle 0x106eec40: a(n) WorldMorph

  0x2620f0 I [] in MorphicUIManager>spawnNewProcess 0x10822ab4: a(n) MorphicUIManager

0x11f0c594 s [] in BlockClosure>newProcess

 



Reply | Threaded
Open this post in threaded view
|

Re: Question regarding crashes using OpenDBXDriver

Michael Berg-2

Hi everybody,

 

thank you St-Jean, Stephane and Guillermo.

I’ve been trying to get it working for the last two days. My last action today was to finally compile OpenDBX myself, as all the evidence seemed to suggest that somehow it must be a/the wrong version of whatever MySQL client lib I used (or MariaDB client). In the end I always got a crash after trying to disconnect. If I was lucky and everything was fresh I might have been able to query something, but somehow the image “remembered” that I did something to it, don’t know (I mean even not by saving the image).

 

Now with the current version of 1.4.6 of OpenDBX and the original MySQL connector/C version 6.1.5, with the current Moose 5.0 image (Pharo 3.0), I can connect, disconnect and query as it should be.

But L, if I did at least one connect/disconnect and then close the image (with or without saving), I get an “Microsoft Visual C++ Runtime Library” Runtime error, thus Pharo doesn’t end correctly. So far I just tried to get some more information by attaching the Visual Studio debugger to the process and it seems that the last thing before the error is the libmysqlbackend-1.dll unloading.

 


Depends-x86 shows no special missing dlls, just one marked red “c:\windows\system32\API-MS-WIN-CORE-SYNCH-L1-1-0.DLL” and three others not being found. But at least the latter ones are normal and Pharo itself has these dependencies not being found.

The red one concerns “SleepConditionVariableCS”, but I have no clue whether this is in any way important or meaningful in this context.

 

I just wonder if somebody of you guys has an idea now, as a crashing Pharo still has some bad taste to it.

 

One further thing I don’t understand: After the creation of one DBXConnection and a subsequent connect message the system has two instances of DBXConnection in the system (via DBXConnection allInstances). Is this ok? Why? I tried to step through all the creation code, but somehow didn’t find or missed the creation of the second instance (probably somewhere in “platform createConnection”). Also every time I get back into the image and connect/disconnect again I got two more instances. Shouldn’t they get garbage collected?

 

And last, but not least, even though this should probably belong into the Moose 5.0 thread, but I’m not sure I miss something. In a fresh Moose 5 image I wasn’t able to call code with fresh variables in the Playground, due to a class WorkspaceVariable missing. So I changed

 

GLMMorphicPharoPlaygroundRenderer >>workspaceBindingsStrategy

^ [ :currentBindings :aString |

                               (currentBindings includesKey: aString)

                                               ifFalse: [currentBindings add: (WorkspaceVariable key: aString asSymbol) ].

                               currentBindings associationAt: aString]

 

back to

 

GLMMorphicPharoPlaygroundRenderer >>workspaceBindingsStrategy

^ [ :currentBindings :aSymbol |

                               (currentBindings includesKey: aSymbol)

                                               ifFalse: [currentBindings at: aSymbol put: nil].

                               currentBindings associationAt: aSymbol]

 

Unfortunately I couldn’t figure out if WorkspaceVariable was there when the change went into Monticello, thus had no idea where to get it from.  

 

Sorry for the long email. Thanks to everybody for the help, it encouraged me to keep trying to get it running. I didn’t try the ODBC connection so far, as I guess this will prevent me from running Pharo potentially in the cloud (except Azure)!?

 

 

Cheers

 

 

Michael

 

 

 

 

 

 

 

From: Pharo-users [mailto:[hidden email]] On Behalf Of Guillermo Polito
Sent: Monday, December 22, 2014 4:14 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Question regarding crashes using OpenDBXDriver

 

Hi Michael,

 

Can you share with us how did you download the OpenDBX package in Pharo, and the OpenDBX and Mysql libraries (and each of their versions).

 

From the dump you share I can only notice that the problem is when calling OpenDBX finalize because of an error, and that it is the first time that you're calling that method because NativeBoost just generated the native code on that stack trace. However, I cannot know if that is because there are any problems on the DBX Pharo side (wrong arguments sent to finalize) or in the library side...

 

Also, which is the query that you're sending to the database? :)

 

Guille

 

 

 

On Sun, Dec 21, 2014 at 9:25 AM, stepharo <[hidden email]> wrote:

Hello michael

I do not have experience with db but this is on our roadmap.
Olivier Auverlot started an analysis of the different solutions offered in Pharo.
https://docs.google.com/spreadsheets/d/1uD6UFmwCJxAkOC9tlvdJsHtt10C0KHJ6Zp8WmfXpaR4/edit#gid=0

Check the joint documents

Le 18/12/14 15:57, Michael Berg a écrit :

Hello,

 

I’m usually just reading the list (and Pharo-dev), but right now I’m trying to figure out, if I could use Pharo with Seaside to implement a little REST Interface for some MySQL database I’m using. My first step was to try to get somehow a MySQL connection working. As it seems there aren’t that many ways of using a MySQL database from Pharo, I tried to use the OpenDBXDriver.


do you mean the MysqlDriver that is packaged in the DBXTalk project?


My problem is that I get often VM crashes. It seems that if I use a completely fresh image I get at least to the point I can query the db. But after the image crashed the foreign process crashes already sometime after connecting to the db (about 30 seconds later, maybe some timeout) or right away upon trying to disconnect for example. I can just imagine that something was left behind after the first crash in the fresh image and after that I can’t get further than that.

I know this is a pretty fuzzy description, but due to NativeBoost being involved it’s quite hard for somebody quite unfamiliar with Pharo/Smalltalk to see where things might go wrong. At the end of the email I include two crash-dumps, so maybe somebody has an idea and can help.


You know it would be an ffi call it would be the same. A foreign lib is a foreign lib.
So which versions of the lib and others are you using?


 

I also had to work around (fix would be the wrong word) a problem that when the DBX code tried to get the column names; after the first column somehow odbx_column_name from the C-Api returns NULL or NB creates a nil from that call, so that the following readString send fails. Again because this happens somehow at the C side of things I couldn’t (or didn’t know how to) look further in the debugger.

Just to see if I can get a resultset at all I changed NBPharoOpenDBX>>apiQueryColumnName:index: to

 

Fileout:

'From Pharo3.0 of 18 March 2013 [Latest update: #30862] on 18 December 2014 at 3:44:48.371881 pm'!

!NBPharoOpenDBX methodsFor: 'api calls' stamp: 'MichaelBerg 12/18/2014 13:36'!

apiQueryColumnName: handle index: index

            "char* odbx_column_name(odbx_result_t* result, unsigned long pos )"

            "IMPORTANT: Index es zero-based"

            | x |

            x := self openDBXlib odbx_column_name: handle pos: index.

            ^x isNil ifTrue: [ 'nil' ] ifFalse: [ x readString ].! !

 

That way I got at least a result and for some reason the similar method getting the column type just worked.

 

Maybe somebody has an idea or has experienced similar things before. Any hint or help is highly appreciated. J

 

 

Thank you and cheers.

 

 

Michael

 

 

 

 

 

 

 

 

 

 

 

Crashdumps:

 

This one is one where the VM crashes after a few seconds upon a DBXConnection>>connect message.

 

---------------------------------------------------------------------

Thu Dec 18 15:04:13 2014

 

Exception code: C0000005

Exception addr: 77D5D5AC

Access violation (read access) at FFFFFFF8

EAX:003C00C0   EBX:003CAAD8 ECX:00000088    EDX:003C3FD8

ESI:00000000     EDI:003C0000    EBP:053DFB90   ESP:053DFA90

EIP:77D5D5AC   EFL:00010206

FP Control: 0000027F

FP Status:  00000020

FP Tag:     0000FFFF

 

 

Crashed in some other thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1871016 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano [hidden email] Jenkins build #14858

 

Current byte code: -1

Primitive index: 0

 

Loaded plugins:

                libopendbx-1.dll

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                07520000 - 07532000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                08150000 - 08166000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08170000 - 081ea000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08240000 - 082d3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                082e0000 - 084ac000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                084b0000 - 0859e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                085a0000 - 085b5000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                09170000 - 09193000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                0f410000 - 0f481000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                0f670000 - 0fb7c000: D:\development\Pharo\LIBMYSQL.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4ffc0000 - 4ffe4000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50220000 - 50307000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68ec0000 - 68f94000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

at:put:

basicNew

relinquishProcessorForMicroseconds:

basicNew:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:with:

@

perform:with:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

perform:with:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

basicNew

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

perform:with:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

wait

signal

millisecondClockValue

millisecondClockValue

shallowCopy

perform:with:with:

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

basicNew

new:

basicNew

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

basicNew

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

 

 

Stack backtrace:

                [77D5D5AC] RtlGetAppContainerParent + 1245 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [779EABDD] wcsstr + 942 in msvcrt.dll

                [77D86661] RtlLookupEntryHashTable + 184 in ntdll.dll

                [77D42082] MD4Init + 104 in ntdll.dll

                [77D42003] RtlFillMemoryUlonglong + 76 in ntdll.dll

                [77D24135] RtlWeaklyEnumerateEntryHashTable + 421 in ntdll.dll

                [777B919F] AcquireSRWLockExclusive + 14 in KERNEL32.DLL

                [77D70BBB] RtlInsertElementGenericTableAvl + 132 in ntdll.dll

                [77D70B91] RtlInsertElementGenericTableAvl + 90 in ntdll.dll

 

Can't dump Smalltalk stack. Not in VM thread

 

 

This was my last one when sending DBXConnection>>disconnect.

---------------------------------------------------------------------

Thu Dec 18 15:07:17 2014

 

Exception code: C0000005

Exception addr: 77D5D509

Access violation (read access) at 00000000

EAX:00000000   EBX:0607C460   ECX:00000000    EDX:0607C828

ESI:0607C820     EDI:009B0000    EBP:0023DEF0   ESP:0023DDF0

EIP:77D5D509    EFL:00210246

FP Control: 0000027F

FP Status:  00004020

FP Tag:     0000FFFF

 

 

Crashed in the VM thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1914300 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano [hidden email] Jenkins build #14858

 

Current byte code: -1

Primitive index: 117

 

Loaded plugins:

                libopendbx-1.dll

                JPEGReadWriter2Plugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                034b0000 - 034c2000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                034d0000 - 034e6000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08040000 - 08063000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                080b0000 - 0812a000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08130000 - 081c3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                081d0000 - 0839c000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                083a0000 - 08411000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                08420000 - 0850e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                0f320000 - 0f82c000: D:\development\Pharo\LIBMYSQL.dll

                0fc50000 - 0fc65000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4fe20000 - 4fe44000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50a90000 - 50b77000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68e60000 - 68f34000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d30000 - 73d74000: C:\WINDOWS\System32\fwpuclnt.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

basicNew:

replaceFrom:to:with:startingAt:

basicNew

platformId

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

new:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

stringHash:initialHash:

compare:with:collated:

compare:with:collated:

perform:

basicNew:

basicNew

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

basicNew:

at:put:

at:put:

at:put:

at:put:

basicNew:

basicNew

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

at:put:

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

objectAt:

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

objectAt:

newMethod:header:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

objectAt:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:

shallowCopy

shallowCopy

basicAt:put:

shallowCopy

basicAt:put:

objectAt:

objectAt:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

objectAt:

objectAt:

objectAt:

objectAt:

flushCache

at:put:

objectAt:

objectAt:

new:

tempAt:

at:put:

terminateTo:

objectAt:

objectAt:

perform:withArguments:

odbx_finish:

 

 

Stack backtrace:

                [77D5D509] RtlGetAppContainerParent + 1082 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [70D81358] odbxdrv_register + 472 in libmysqlbackend-1.dll

                [643C157F] odbx_finish + 63 in libopendbx-1.dll

                [130BE27F] ??? + 0 in (null)

                [0053CF25] ??? + 1298213 in Pharo.exe

 

 

Smalltalk stack dump:

  0x2560a0 M NBFFICallout class(NBNativeCodeGen class)>retrySend: 0x107f1524: a(n) NBFFICallout class

  0x2560c4 I NBPharoOpenDBX>apiFinalize: 0x12989e54: a(n) NBPharoOpenDBX

  0x2560ec I DBXMySQLBackend(DBXBackend)>disconnectConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x24473c I DBXConnection>releaseConnection 0x12982ac0: a(n) DBXConnection

  0x24475c I DBXConnection>disconnect 0x12982ac0: a(n) DBXConnection

 0x24477c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x244798 M BlockClosure>cull: 0x1301c2f4: a(n) BlockClosure

  0x2447b8 M [] in MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x2447d8 M BlockClosure>ensure: 0x1305d630: a(n) BlockClosure

  0x2447f8 M MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x244814 M DBXFatalError(Exception)>signal 0x1305d380: a(n) DBXFatalError

  0x24482c M DBXFatalError(Exception)>signal: 0x1305d380: a(n) DBXFatalError

  0x244848 M DBXFatalError class(Exception class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x24486c I DBXFatalError class(DBXError class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x244898 I DBXMySQLBackend(DBXBackend)>errorCode:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448c0 I DBXMySQLBackend(DBXBackend)>verifyError:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448ec I DBXMySQLBackend(DBXBackend)>openConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x261f6c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261f88 M BlockClosure>on:do: 0x1301c2e4: a(n) BlockClosure

  0x261fb0 I DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261fc8 M UndefinedObject>(nil) 0x10140004: a(n) UndefinedObject

  0x261ff8 I OpalCompiler>evaluate 0x1301bac0: a(n) OpalCompiler

  0x262024 I RubSmalltalkEditor>evaluateSelectionAndDo: 0x11e40494: a(n) RubSmalltalkEditor

  0x262044 M [] in GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>actOnEvaluateSelection: 0x11e3f198: a(n) GLMMorphicPharoPlaygroundRenderer

  0x262064 M WorldState>runStepMethodsIn: 0x106eec74: a(n) WorldState

  0x262080 M WorldMorph>runStepMethods 0x106eec40: a(n) WorldMorph

  0x262098 M WorldState>doOneCycleNowFor: 0x106eec74: a(n) WorldState

  0x2620b4 M WorldState>doOneCycleFor: 0x106eec74: a(n) WorldState

  0x2620d0 M WorldMorph>doOneCycle 0x106eec40: a(n) WorldMorph

  0x2620f0 I [] in MorphicUIManager>spawnNewProcess 0x10822ab4: a(n) MorphicUIManager

0x11f0c594 s [] in BlockClosure>newProcess

 

 

 

Reply | Threaded
Open this post in threaded view
|

Re: Question regarding crashes using OpenDBXDriver

stepharo
Thanks for this report.
I'm on vacation and I do not have access to window machine but other people will certainly help.


Le 26/12/14 01:00, Michael Berg a écrit :

Hi everybody,

 

thank you St-Jean, Stephane and Guillermo.

I’ve been trying to get it working for the last two days. My last action today was to finally compile OpenDBX myself, as all the evidence seemed to suggest that somehow it must be a/the wrong version of whatever MySQL client lib I used (or MariaDB client). In the end I always got a crash after trying to disconnect. If I was lucky and everything was fresh I might have been able to query something, but somehow the image “remembered” that I did something to it, don’t know (I mean even not by saving the image).

 

Now with the current version of 1.4.6 of OpenDBX and the original MySQL connector/C version 6.1.5, with the current Moose 5.0 image (Pharo 3.0), I can connect, disconnect and query as it should be.

But L, if I did at least one connect/disconnect and then close the image (with or without saving), I get an “Microsoft Visual C++ Runtime Library” Runtime error, thus Pharo doesn’t end correctly.

It looks like the connection is not protected by a session.

So far I just tried to get some more information by attaching the Visual Studio debugger to the process and it seems that the last thing before the error is the libmysqlbackend-1.dll unloading.

 


Depends-x86 shows no special missing dlls, just one marked red “c:\windows\system32\API-MS-WIN-CORE-SYNCH-L1-1-0.DLL” and three others not being found. But at least the latter ones are normal and Pharo itself has these dependencies not being found.

The red one concerns “SleepConditionVariableCS”, but I have no clue whether this is in any way important or meaningful in this context.

 

I just wonder if somebody of you guys has an idea now, as a crashing Pharo still has some bad taste to it.

 

One further thing I don’t understand: After the creation of one DBXConnection and a subsequent connect message the system has two instances of DBXConnection in the system (via DBXConnection allInstances). Is this ok? Why? I tried to step through all the creation code, but somehow didn’t find or missed the creation of the second instance (probably somewhere in “platform createConnection”). Also every time I get back into the image and connect/disconnect again I got two more instances. Shouldn’t they get garbage collected?

 

And last, but not least, even though this should probably belong into the Moose 5.0 thread, but I’m not sure I miss something. In a fresh Moose 5 image I wasn’t able to call code with fresh variables in the Playground, due to a class WorkspaceVariable missing. So I changed

 

GLMMorphicPharoPlaygroundRenderer >>workspaceBindingsStrategy

^ [ :currentBindings :aString |

                               (currentBindings includesKey: aString)

                                               ifFalse: [currentBindings add: (WorkspaceVariable key: aString asSymbol) ].

                               currentBindings associationAt: aString]

 

back to

 

GLMMorphicPharoPlaygroundRenderer >>workspaceBindingsStrategy

^ [ :currentBindings :aSymbol |

                               (currentBindings includesKey: aSymbol)

                                               ifFalse: [currentBindings at: aSymbol put: nil].

                               currentBindings associationAt: aSymbol]

 

Unfortunately I couldn’t figure out if WorkspaceVariable was there when the change went into Monticello, thus had no idea where to get it from. 


I reported the information to the Moose people

 

Sorry for the long email. Thanks to everybody for the help, it encouraged me to keep trying to get it running. I didn’t try the ODBC connection so far, as I guess this will prevent me from running Pharo potentially in the cloud (except Azure)!?

 

 

Cheers

 

 

Michael

 

 

 

 

 

 

 

From: Pharo-users [[hidden email]] On Behalf Of Guillermo Polito
Sent: Monday, December 22, 2014 4:14 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Question regarding crashes using OpenDBXDriver

 

Hi Michael,

 

Can you share with us how did you download the OpenDBX package in Pharo, and the OpenDBX and Mysql libraries (and each of their versions).

 

From the dump you share I can only notice that the problem is when calling OpenDBX finalize because of an error, and that it is the first time that you're calling that method because NativeBoost just generated the native code on that stack trace. However, I cannot know if that is because there are any problems on the DBX Pharo side (wrong arguments sent to finalize) or in the library side...

 

Also, which is the query that you're sending to the database? :)

 

Guille

 

 

 

On Sun, Dec 21, 2014 at 9:25 AM, stepharo <[hidden email]> wrote:

Hello michael

I do not have experience with db but this is on our roadmap.
Olivier Auverlot started an analysis of the different solutions offered in Pharo.
https://docs.google.com/spreadsheets/d/1uD6UFmwCJxAkOC9tlvdJsHtt10C0KHJ6Zp8WmfXpaR4/edit#gid=0

Check the joint documents

Le 18/12/14 15:57, Michael Berg a écrit :

Hello,

 

I’m usually just reading the list (and Pharo-dev), but right now I’m trying to figure out, if I could use Pharo with Seaside to implement a little REST Interface for some MySQL database I’m using. My first step was to try to get somehow a MySQL connection working. As it seems there aren’t that many ways of using a MySQL database from Pharo, I tried to use the OpenDBXDriver.


do you mean the MysqlDriver that is packaged in the DBXTalk project?


My problem is that I get often VM crashes. It seems that if I use a completely fresh image I get at least to the point I can query the db. But after the image crashed the foreign process crashes already sometime after connecting to the db (about 30 seconds later, maybe some timeout) or right away upon trying to disconnect for example. I can just imagine that something was left behind after the first crash in the fresh image and after that I can’t get further than that.

I know this is a pretty fuzzy description, but due to NativeBoost being involved it’s quite hard for somebody quite unfamiliar with Pharo/Smalltalk to see where things might go wrong. At the end of the email I include two crash-dumps, so maybe somebody has an idea and can help.


You know it would be an ffi call it would be the same. A foreign lib is a foreign lib.
So which versions of the lib and others are you using?


 

I also had to work around (fix would be the wrong word) a problem that when the DBX code tried to get the column names; after the first column somehow odbx_column_name from the C-Api returns NULL or NB creates a nil from that call, so that the following readString send fails. Again because this happens somehow at the C side of things I couldn’t (or didn’t know how to) look further in the debugger.

Just to see if I can get a resultset at all I changed NBPharoOpenDBX>>apiQueryColumnName:index: to

 

Fileout:

'From Pharo3.0 of 18 March 2013 [Latest update: #30862] on 18 December 2014 at 3:44:48.371881 pm'!

!NBPharoOpenDBX methodsFor: 'api calls' stamp: 'MichaelBerg 12/18/2014 13:36'!

apiQueryColumnName: handle index: index

            "char* odbx_column_name(odbx_result_t* result, unsigned long pos )"

            "IMPORTANT: Index es zero-based"

            | x |

            x := self openDBXlib odbx_column_name: handle pos: index.

            ^x isNil ifTrue: [ 'nil' ] ifFalse: [ x readString ].! !

 

That way I got at least a result and for some reason the similar method getting the column type just worked.

 

Maybe somebody has an idea or has experienced similar things before. Any hint or help is highly appreciated. J

 

 

Thank you and cheers.

 

 

Michael

 

 

 

 

 

 

 

 

 

 

 

Crashdumps:

 

This one is one where the VM crashes after a few seconds upon a DBXConnection>>connect message.

 

---------------------------------------------------------------------

Thu Dec 18 15:04:13 2014

 

Exception code: C0000005

Exception addr: 77D5D5AC

Access violation (read access) at FFFFFFF8

EAX:003C00C0   EBX:003CAAD8 ECX:00000088    EDX:003C3FD8

ESI:00000000     EDI:003C0000    EBP:053DFB90   ESP:053DFA90

EIP:77D5D5AC   EFL:00010206

FP Control: 0000027F

FP Status:  00000020

FP Tag:     0000FFFF

 

 

Crashed in some other thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1871016 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano [hidden email] Jenkins build #14858

 

Current byte code: -1

Primitive index: 0

 

Loaded plugins:

                libopendbx-1.dll

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                07520000 - 07532000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                08150000 - 08166000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08170000 - 081ea000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08240000 - 082d3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                082e0000 - 084ac000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                084b0000 - 0859e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                085a0000 - 085b5000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                09170000 - 09193000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                0f410000 - 0f481000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                0f670000 - 0fb7c000: D:\development\Pharo\LIBMYSQL.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4ffc0000 - 4ffe4000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50220000 - 50307000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68ec0000 - 68f94000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

at:put:

basicNew

relinquishProcessorForMicroseconds:

basicNew:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:with:

@

perform:with:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

perform:with:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

basicNew

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

perform:with:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

perform:with:with:

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

wait

signal

millisecondClockValue

millisecondClockValue

shallowCopy

perform:with:with:

shallowCopy

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

basicNew

new:

basicNew

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

perform:with:

@

perform:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

@

basicNew

shallowCopy

perform:with:with:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

relinquishProcessorForMicroseconds:

at:put:

at:put:

at:put:

at:put:

at:put:

 

 

Stack backtrace:

                [77D5D5AC] RtlGetAppContainerParent + 1245 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [779EABDD] wcsstr + 942 in msvcrt.dll

                [77D86661] RtlLookupEntryHashTable + 184 in ntdll.dll

                [77D42082] MD4Init + 104 in ntdll.dll

                [77D42003] RtlFillMemoryUlonglong + 76 in ntdll.dll

                [77D24135] RtlWeaklyEnumerateEntryHashTable + 421 in ntdll.dll

                [777B919F] AcquireSRWLockExclusive + 14 in KERNEL32.DLL

                [77D70BBB] RtlInsertElementGenericTableAvl + 132 in ntdll.dll

                [77D70B91] RtlInsertElementGenericTableAvl + 90 in ntdll.dll

 

Can't dump Smalltalk stack. Not in VM thread

 

 

This was my last one when sending DBXConnection>>disconnect.

---------------------------------------------------------------------

Thu Dec 18 15:07:17 2014

 

Exception code: C0000005

Exception addr: 77D5D509

Access violation (read access) at 00000000

EAX:00000000   EBX:0607C460   ECX:00000000    EDX:0607C828

ESI:0607C820     EDI:009B0000    EBP:0023DEF0   ESP:0023DDF0

EIP:77D5D509    EFL:00210246

FP Control: 0000027F

FP Status:  00004020

FP Tag:     0000FFFF

 

 

Crashed in the VM thread

 

 

 

Hardware information:

                Manufacturer: Unknown

                Model: Unknown

                Number of processors: 4

                Page size: 4096

 

Memory Information (upon launch):

                Physical Memory Size: 4194303 kbytes

                Physical Memory Free: 1914300 kbytes

                Page File Size: 4194303 kbytes

                Page File Free: 4194303 kbytes

                Virtual Memory Size: 2097024 kbytes

                Virtual Memory Free: 2026780 kbytes

                Memory Load: 76 percent

 

Processor 0: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 1: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 2: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Processor 3: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz

                Identifier: Intel64 Family 6 Model 69 Stepping 1

                ~MHZ: 2694

 

Operating System: Windows 8.1 Pro (Build 9200 )

                Registered Owner: Windows User

                Registered Company:

                SP major version: 0

                SP minor version: 0

                Suite mask: 100

                Product type: 1

 

Display Information:

                Graphics adapter name: Intel(R) HD Graphics Family

                Primary monitor resolution: 1920 x 1200

 

Device: ???

                Adapter String: Intel(R) HD Graphics 4400

                Bios String: Intel Video BIOS

                Chip Type: Intel(R) HD Graphics Family

                DAC Type: Internal

                Memory Size: 0x82000000

 

Driver Versions:

                igdumdim64:

 

VM Version: Cog VM 4.0.0 (release) from Sep 25 2014

Compiler: gcc 4.6.2

Interpreter Build: NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Cogit Build: NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014

Source Version: https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano [hidden email] Jenkins build #14858

 

Current byte code: -1

Primitive index: 117

 

Loaded plugins:

                libopendbx-1.dll

                JPEGReadWriter2Plugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                B2DPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                Kernel32

                ZipPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                NativeBoostPlugin NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 (i)

                BitBltPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FT2Plugin Freetype-Plugin-IgorStasenko.64 (e)

                SecurityPlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                FilePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                MiscPrimitivePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LargeIntegers v1.5 VMMaker.oscog-jeanbaptistearnaud.783 (i)

                LocalePlugin VMMaker.oscog-jeanbaptistearnaud.783 (i)

 

Module information:

                00400000 - 006ee000: D:\development\Pharo\Pharo.exe

                034b0000 - 034c2000: C:\Program Files (x86)\Common Files\TortoiseOverlays\TortoiseOverlays.dll

                034d0000 - 034e6000: C:\Program Files\TortoiseGit\bin\TortoiseGitStub32.dll

                08040000 - 08063000: C:\Users\berg\AppData\Roaming\Dropbox\bin\DropboxExt.24.dll

                080b0000 - 0812a000: C:\Program Files\TortoiseGit\bin\TortoiseGit32.dll

                08130000 - 081c3000: C:\Program Files\TortoiseGit\bin\libgit232_tgit.dll

                081d0000 - 0839c000: C:\Program Files\TortoiseGit\bin\gitdll32.dll

                083a0000 - 08411000: C:\WINDOWS\SYSTEM32\MSVCP120.dll

                08420000 - 0850e000: C:\WINDOWS\SYSTEM32\MSVCR120.dll

                0f320000 - 0f82c000: D:\development\Pharo\LIBMYSQL.dll

                0fc50000 - 0fc65000: C:\Program Files\TortoiseGit\bin\zlib132_tgit.dll

                10010000 - 10037000: C:\WINDOWS\SYSTEM32\crtdll.dll

                10040000 - 10140004: CogCode

                4fe20000 - 4fe44000: C:\WINDOWS\SYSTEM32\GLU32.dll

                50a90000 - 50b77000: C:\WINDOWS\SYSTEM32\DDRAW.dll

                527a0000 - 5280a000: C:\WINDOWS\System32\StructuredQuery.dll

                5a370000 - 5a4bb000: C:\WINDOWS\system32\DUI70.dll

                5a7a0000 - 5a816000: C:\WINDOWS\system32\DUser.dll

                5e3d0000 - 5e518000: C:\WINDOWS\SYSTEM32\dbghelp.dll

                60f30000 - 60f37000: C:\WINDOWS\SYSTEM32\DCIMAN32.dll

                610e0000 - 610f8000: C:\Windows\System32\DevDispItemProvider.dll

                61380000 - 61391000: C:\WINDOWS\System32\ntlanman.dll

                613e0000 - 61403000: C:\WINDOWS\SYSTEM32\dinput.dll

                643c0000 - 6442f000: D:\development\Pharo\libopendbx-1.dll

                64470000 - 644fe000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

                650d0000 - 65170000: C:\WINDOWS\SYSTEM32\ntshrui.dll

                65350000 - 653e9000: C:\WINDOWS\SYSTEM32\apphelp.dll

                65420000 - 65434000: C:\WINDOWS\SYSTEM32\MPR.dll

                658e0000 - 658e9000: C:\WINDOWS\System32\drprov.dll

                65a20000 - 65a2d000: C:\WINDOWS\SYSTEM32\cscapi.dll

                65f30000 - 6609b000: C:\WINDOWS\SYSTEM32\WindowsCodecs.dll

                666e0000 - 66805000: C:\WINDOWS\SYSTEM32\PROPSYS.dll

                66e40000 - 66f02000: D:\development\Pharo\libfreetype-6.dll

                68e60000 - 68f34000: C:\WINDOWS\SYSTEM32\OPENGL32.DLL

                69f40000 - 69f5a000: D:\development\Pharo\FT2Plugin.DLL

                70d80000 - 70dee000: D:\development\Pharo\libmysqlbackend-1.dll

                73720000 - 73733000: C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL

                73740000 - 73752000: C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL

                73790000 - 73799000: C:\WINDOWS\System32\winrnr.dll

                737a0000 - 737b2000: C:\WINDOWS\system32\NLAapi.dll

                737c0000 - 737d4000: C:\WINDOWS\system32\pnrpnsp.dll

                737e0000 - 737f0000: C:\WINDOWS\system32\napinsp.dll

                73c90000 - 73d24000: C:\WINDOWS\SYSTEM32\WINHTTP.dll

                73d30000 - 73d74000: C:\WINDOWS\System32\fwpuclnt.dll

                73d80000 - 73d87000: C:\Windows\System32\rasadhlp.dll

                73d90000 - 73e0c000: C:\WINDOWS\SYSTEM32\DNSAPI.dll

                74000000 - 74008000: C:\WINDOWS\SYSTEM32\WSOCK32.DLL

                74070000 - 74079000: C:\WINDOWS\SYSTEM32\Secur32.dll

                74080000 - 74099000: C:\WINDOWS\System32\davclnt.dll

                740f0000 - 740f6000: C:\WINDOWS\SYSTEM32\SHFolder.dll

                74180000 - 74188000: C:\WINDOWS\SYSTEM32\VERSION.dll

                74190000 - 7419e000: C:\WINDOWS\SYSTEM32\profapi.dll

                74200000 - 74209000: C:\WINDOWS\System32\DAVHLPR.dll

                74400000 - 74410000: C:\WINDOWS\System32\wkscli.dll

                74410000 - 7442b000: C:\WINDOWS\SYSTEM32\srvcli.dll

                74430000 - 7443a000: C:\WINDOWS\System32\netutils.dll

                74440000 - 74448000: C:\WINDOWS\SYSTEM32\WINNSI.DLL

                749d0000 - 749ee000: C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL

                74ba0000 - 74baf000: C:\WINDOWS\system32\wshbth.dll

                74bb0000 - 74bf5000: C:\WINDOWS\System32\mswsock.dll

                74c00000 - 74c1d000: C:\WINDOWS\SYSTEM32\bcrypt.dll

                74c20000 - 74c4f000: C:\WINDOWS\system32\rsaenh.dll

                74c50000 - 74c68000: C:\WINDOWS\SYSTEM32\CRYPTSP.dll

                74c70000 - 74e56000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll

                74fb0000 - 74fc8000: C:\WINDOWS\system32\dwmapi.dll

                74fd0000 - 75046000: C:\WINDOWS\SYSTEM32\SHCORE.DLL

                75210000 - 75252000: C:\WINDOWS\System32\WINSTA.dll

                75260000 - 7527f000: C:\WINDOWS\SYSTEM32\DEVOBJ.dll

                75280000 - 752a0000: C:\WINDOWS\SYSTEM32\WINMMBASE.dll

                752a0000 - 752c0000: C:\WINDOWS\SYSTEM32\WINMM.DLL

                754a0000 - 7557b000: C:\WINDOWS\system32\uxtheme.dll

                755f0000 - 755f9000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll

                75600000 - 756a3000: C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll

                756b0000 - 75702000: C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll

                75710000 - 75719000: C:\WINDOWS\SYSTEM32\CRYPTBASE.dll

                75720000 - 7573d000: C:\WINDOWS\SYSTEM32\SspiCli.dll

                75890000 - 75a3d000: C:\WINDOWS\SYSTEM32\SETUPAPI.dll

                75a40000 - 75abd000: C:\WINDOWS\SYSTEM32\clbcatq.dll

                75ac0000 - 75bcc000: C:\WINDOWS\SYSTEM32\OLE32.dll

                75bd0000 - 75c0e000: C:\WINDOWS\SYSTEM32\sechost.dll

                75c10000 - 75c5d000: C:\WINDOWS\SYSTEM32\WS2_32.dll

                75c60000 - 75c9a000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll

                75ca0000 - 75dee000: C:\WINDOWS\SYSTEM32\combase.dll

                75df0000 - 75ea0000: C:\WINDOWS\SYSTEM32\RPCRT4.dll

                75ea0000 - 75ed8000: C:\WINDOWS\SYSTEM32\WINTRUST.dll

                75ef0000 - 75fc0000: C:\WINDOWS\SYSTEM32\KERNELBASE.dll

                75fc0000 - 75fc6000: C:\WINDOWS\SYSTEM32\psapi.dll

                75fd0000 - 76065000: C:\WINDOWS\SYSTEM32\OLEAUT32.DLL

                76070000 - 760fa000: C:\WINDOWS\SYSTEM32\COMDLG32.DLL

                76160000 - 761e6000: C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\COMCTL32.dll

                761f0000 - 762f7000: C:\WINDOWS\SYSTEM32\GDI32.dll

                76300000 - 76325000: C:\WINDOWS\system32\IMM32.DLL

                76390000 - 76408000: C:\WINDOWS\SYSTEM32\ADVAPI32.DLL

                76410000 - 775c7000: C:\WINDOWS\SYSTEM32\SHELL32.DLL

                775d0000 - 7771c000: C:\WINDOWS\SYSTEM32\USER32.dll

                77720000 - 77761000: C:\WINDOWS\SYSTEM32\SHLWAPI.dll

                77790000 - 7779e000: C:\WINDOWS\SYSTEM32\MSASN1.dll

                777a0000 - 778e0000: C:\WINDOWS\SYSTEM32\KERNEL32.DLL

                778e0000 - 779d7000: C:\WINDOWS\SYSTEM32\MSCTF.dll

                779e0000 - 77a9e000: C:\WINDOWS\SYSTEM32\msvcrt.dll

                77aa0000 - 77aa7000: C:\WINDOWS\SYSTEM32\NSI.dll

                77ab0000 - 77c38000: C:\WINDOWS\SYSTEM32\CRYPT32.dll

                77d20000 - 77e87000: C:\WINDOWS\SYSTEM32\ntdll.dll

 

Primitive trace:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

basicNew:

replaceFrom:to:with:startingAt:

basicNew

platformId

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

new:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

stringHash:initialHash:

compare:with:collated:

compare:with:collated:

perform:

basicNew:

basicNew

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

basicNew:

at:put:

at:put:

at:put:

at:put:

basicNew:

basicNew

basicNew:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

replaceFrom:to:with:startingAt:

at:put:

at:put:

at:put:

at:put:

at:put:

basicNew:

replaceFrom:to:with:startingAt:

objectAt:

basicNew

at:

compare:with:collated:

at:

at:

at:

at:

objectAt:

newMethod:header:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

at:put:

objectAt:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:put:

objectAt:

objectAt:

shallowCopy

shallowCopy

basicAt:put:

shallowCopy

basicAt:put:

objectAt:

objectAt:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

at:

at:put:

objectAt:

objectAt:

objectAt:

objectAt:

flushCache

at:put:

objectAt:

objectAt:

new:

tempAt:

at:put:

terminateTo:

objectAt:

objectAt:

perform:withArguments:

odbx_finish:

 

 

Stack backtrace:

                [77D5D509] RtlGetAppContainerParent + 1082 in ntdll.dll

                [77D5D289] RtlGetAppContainerParent + 442 in ntdll.dll

                [779E9A15] free + 57 in msvcrt.dll

                [70D81358] odbxdrv_register + 472 in libmysqlbackend-1.dll

                [643C157F] odbx_finish + 63 in libopendbx-1.dll

                [130BE27F] ??? + 0 in (null)

                [0053CF25] ??? + 1298213 in Pharo.exe

 

 

Smalltalk stack dump:

  0x2560a0 M NBFFICallout class(NBNativeCodeGen class)>retrySend: 0x107f1524: a(n) NBFFICallout class

  0x2560c4 I NBPharoOpenDBX>apiFinalize: 0x12989e54: a(n) NBPharoOpenDBX

  0x2560ec I DBXMySQLBackend(DBXBackend)>disconnectConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x24473c I DBXConnection>releaseConnection 0x12982ac0: a(n) DBXConnection

  0x24475c I DBXConnection>disconnect 0x12982ac0: a(n) DBXConnection

 0x24477c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x244798 M BlockClosure>cull: 0x1301c2f4: a(n) BlockClosure

  0x2447b8 M [] in MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x2447d8 M BlockClosure>ensure: 0x1305d630: a(n) BlockClosure

  0x2447f8 M MethodContext(ContextPart)>handleSignal: 0x1301c3bc: a(n) MethodContext

  0x244814 M DBXFatalError(Exception)>signal 0x1305d380: a(n) DBXFatalError

  0x24482c M DBXFatalError(Exception)>signal: 0x1305d380: a(n) DBXFatalError

  0x244848 M DBXFatalError class(Exception class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x24486c I DBXFatalError class(DBXError class)>signal: 0x11ec3450: a(n) DBXFatalError class

  0x244898 I DBXMySQLBackend(DBXBackend)>errorCode:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448c0 I DBXMySQLBackend(DBXBackend)>verifyError:handle: 0x12982a94: a(n) DBXMySQLBackend

  0x2448ec I DBXMySQLBackend(DBXBackend)>openConnection: 0x12982a94: a(n) DBXMySQLBackend

  0x261f6c I [] in DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261f88 M BlockClosure>on:do: 0x1301c2e4: a(n) BlockClosure

  0x261fb0 I DBXConnection>open 0x12982ac0: a(n) DBXConnection

  0x261fc8 M UndefinedObject>(nil) 0x10140004: a(n) UndefinedObject

  0x261ff8 I OpalCompiler>evaluate 0x1301bac0: a(n) OpalCompiler

  0x262024 I RubSmalltalkEditor>evaluateSelectionAndDo: 0x11e40494: a(n) RubSmalltalkEditor

  0x262044 M [] in GLMMorphicPharoPlaygroundRenderer(GLMMorphicPharoCodeRenderer)>actOnEvaluateSelection: 0x11e3f198: a(n) GLMMorphicPharoPlaygroundRenderer

  0x262064 M WorldState>runStepMethodsIn: 0x106eec74: a(n) WorldState

  0x262080 M WorldMorph>runStepMethods 0x106eec40: a(n) WorldMorph

  0x262098 M WorldState>doOneCycleNowFor: 0x106eec74: a(n) WorldState

  0x2620b4 M WorldState>doOneCycleFor: 0x106eec74: a(n) WorldState

  0x2620d0 M WorldMorph>doOneCycle 0x106eec40: a(n) WorldMorph

  0x2620f0 I [] in MorphicUIManager>spawnNewProcess 0x10822ab4: a(n) MorphicUIManager

0x11f0c594 s [] in BlockClosure>newProcess