[SqueakDBX] MAC OSX 10.6 + squeakDBX + Oracle 10.2 issues

Mariano Martinez Peck marianopeck at gmail.com
Sun Aug 1 14:24:06 UTC 2010


more questiosn...

if you just do the minimal stuff: connect and disconnect
does it work?

and if you di connect, send a query, disconnect?

did you try to run the tests?  what happens with the minimal test
(testSetUpTearDown), does it work ?

how did you install squeakDBX, with Metacello?   and FFI ? how are the tests
of FFI ? are they working ?

which version of OpenDBX are you compiling?

cheers

mariano

On Sun, Aug 1, 2010 at 4:17 PM, Mariano Martinez Peck <marianopeck at gmail.com
> wrote:

> HI. wow...never saw this problem.
>
> Which Squeak VM are you using?
>
> What is exactly what you are running in the image side that brings that
> error ?
>
> thanks
>
> mariano
>
> On Sun, Aug 1, 2010 at 4:04 PM, Colin Doherty <colin.doherty at gmail.com>wrote:
>
>> Hi,
>>
>> I've tried installing squeakDBX and got it installed using the 32 bit
>> Oracle 10.2.0.4 instant client using this config:
>>
>> CFLAGS="-m32" CPPFLAGS="-m32 -I/usr/local/instantclient10_2/sdk/include"
>> LDFLAGS="-arch i386 -L/usr/local/instantclient10_2" ./configure
>> --disable-utils --with-backends="oracle"
>>
>> However, I'm getting the following error when I try to use it in either
>> squeak 4.1 or pharo 1.1:
>>
>> Out of memory error
>>
>> This is from the log:
>>
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> /Users/DevelopmentSmalltalk/Pharo/Plugins/opendbx.so
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> /Users/Development/Smalltalk/Pharo/Plugins/opendbx.dylib
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> /Users/Development/Smalltalk/Pharo/Plugins/libopendbx
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> /Users/Development/Smalltalk/Pharo/Plugins/libopendbx.so
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> /Users/Development/Smalltalk/Pharo/Plugins/libopendbx.dylib
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> ./opendbx.bundle/Contents/MacOS/opendbx
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> ./opendbx
>> Jul 31 20:57:47: --- last message repeated 1 time ---
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> ./opendbx.so
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> ./opendbx.dylib
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> ./libopendbx
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> ./libopendbx.so
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> ./libopendbx.dylib
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> /Users/Development/Smalltalk/Pharo/Pharo-1.1-OneClick.app/Contents/Resources/opendbx.bundle/Contents/MacOS/opendbx
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: tryLoading
>> /Users/Development/Smalltalk/Pharo/Pharo-1.1-OneClick.app/Contents/Resources/opendbx
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]:
>> ioFindExternalFunctionIn(odbx_init, 2155408)
>> Jul 31 20:57:47 MacBook Squeak VM Opt[22081]: Squeak VM
>> Opt(22081,0xa0bf2500) malloc: *** error for object 0xf1f2f3f4: pointer being
>> freed was not allocated\n*** set a breakpoint in malloc_error_break to debug
>>  Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: Squeak VM
>> Opt(22081,0xa0bf2500) malloc: *** error for object 0xf1f2f3f4: pointer being
>> freed was not allocated
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]: *** set a
>> breakpoint in malloc_error_break to debug
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]:
>> ioFindExternalFunctionIn(odbx_error, 2155408)
>> Jul 31 20:57:47 MacBook [0x0-0x39039].org.squeak.pharo[22081]:
>> ioFindExternalFunctionIn(odbx_error_type, 2155408)
>> Jul 31 21:01:49 MacBook Safari[8492]: INSERT-HANG-DETECTED: Tx
>> time:18.496361, # of Inserts: 0, # of bytes written: 0, Did shrink: YES
>> Jul 31 21:05:31 MacBook [0x0-0x39039].org.squeak.pharo[22081]: VM:
>> MouseModifierStateCarbon buttonStateBits 1 modifier
>>
>> I've also tried compiling a 64 bit version which worked and used the
>> experimental 64 bit squeak vm, this doesn't work but generates no errors.
>> Any ideas on how to fix the 32 bit out of memory issue ?
>>
>> Thanks
>>
>> _______________________________________________
>> SqueakDBX mailing list
>> SqueakDBX at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeakdbx/attachments/20100801/6fb5c09d/attachment.htm


More information about the SqueakDBX mailing list