Weird...In Windows it works perfect :(

Perhaps something with the gcc ?

Best,

Mariano

On Sat, Sep 19, 2009 at 7:14 PM, Mariano Martinez Peck <
marianop...@gmail.com> wrote:

> The error with version svn 287 is:
>
>
>
> *** glibc detected *** /home/mariano/squeak/expury/build/squeak: free():
> invalid pointer: 0x090db6a0 ***
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6[0xb7f74454]
> /lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7f764b6]
> /usr/local/lib/opendbx/libsqlite3backend.so[0x77abe2a5]
> /usr/local/lib/libopendbx.so(odbx_unbind+0x30)[0x77ac1e00]
> /usr/local/lib/squeak/3.10-3/SqueakFFIPrims[0x77ac9d90]
>
> /usr/local/lib/squeak/3.10-3/SqueakFFIPrims(ffiCallAddressOfWithReturnType+0x34)[0x77ac99e4]
> ======= Memory map: ========
> 08048000-0807b000 r-xp 00000000 08:06 622343
> /home/mariano/squeak/expury/build/squeak
> 0807b000-0807c000 r--p 00032000 08:06 622343
> /home/mariano/squeak/expury/build/squeak
> 0807c000-08081000 rw-p 00033000 08:06 622343
> /home/mariano/squeak/expury/build/squeak
> 08081000-0809b000 rw-p 08081000 00:00 0
> 09096000-090f9000 rw-p 09096000 00:00 0          [heap]
> 76800000-76821000 rw-p 76800000 00:00 0
> 76821000-76900000 ---p 76821000 00:00 0
> 769ae000-769bb000 r-xp 00000000 08:06 3777746    /lib/libgcc_s.so.1
> 769bb000-769bc000 r--p 0000c000 08:06 3777746    /lib/libgcc_s.so.1
> 769bc000-769bd000 rw-p 0000d000 08:06 3777746    /lib/libgcc_s.so.1
> 769bd000-769be000 ---p 769bd000 00:00 0
> 769be000-771be000 rwxp 769be000 00:00 0
> 771be000-771bf000 ---p 771be000 00:00 0
> 771bf000-779bf000 rwxp 771bf000 00:00 0
> 779bf000-779d4000 r-xp 00000000 08:06 3810081    /lib/tls/i686/cmov/
> libpthread-2.8.90.so
> 779d4000-779d5000 r--p 00014000 08:06 3810081    /lib/tls/i686/cmov/
> libpthread-2.8.90.so
> 779d5000-779d6000 rw-p 00015000 08:06 3810081    /lib/tls/i686/cmov/
> libpthread-2.8.90.so
> 779d6000-779d8000 rw-p 779d6000 00:00 0
> 779d8000-77a46000 r-xp 00000000 08:06 4959313
> /usr/lib/libsqlite3.so.0.8.6
> 77a46000-77a47000 r--p 0006d000 08:06 4959313
> /usr/lib/libsqlite3.so.0.8.6
> 77a47000-77a48000 rw-p 0006e000 08:06 4959313
> /usr/lib/libsqlite3.so.0.8.6
> 77a64000-77aa4000 rw-p 77a64000 00:00 0
> 77aa4000-77aae000 r-xp 00000000 08:06 3810076    /lib/tls/i686/cmov/
> libnss_files-2.8.90.so
> 77aae000-77aaf000 r--p 00009000 08:06 3810076    /lib/tls/i686/cmov/
> libnss_files-2.8.90.so
> 77aaf000-77ab0000 rw-p 0000a000 08:06 3810076    /lib/tls/i686/cmov/
> libnss_files-2.8.90.so
> 77abd000-77abf000 r-xp 00000000 08:06 163549
> /usr/local/lib/opendbx/libsqlite3backend.so.1.2.0
> 77abf000-77ac0000 r--p 00001000 08:06 163549
> /usr/local/lib/opendbx/libsqlite3backend.so.1.2.0
> 77ac0000-77ac1000 rw-p 00002000 08:06 163549
> /usr/local/lib/opendbx/libsqlite3backend.so.1.2.0
> 77ac1000-77ac3000 r-xp 00000000 08:06 5134917
> /usr/local/lib/libopendbx.so.1.2.0
> 77ac3000-77ac4000 r--p 00001000 08:06 5134917
> /usr/local/lib/libopendbx.so.1.2.0
> 77ac4000-77ac5000 rw-p 00002000 08:06 5134917
> /usr/local/lib/libopendbx.so.1.2.0
> 77ac5000-77aca000 r-xp 00000000 08:06 4546731
> /usr/local/lib/squeak/3.10-3/SqueakFFIPrims
> 77aca000-77acb000 rw-p 00005000 08:06 4546731
> /usr/local/lib/squeak/3.10-3/SqueakFFIPrims
> 77acb000-77acc000 rw-p 77acb000 00:00 0
> 77acc000-77ad0000 r-xp 00000000 08:06 490644
> /home/mariano/squeak/expury/build/ZipPlugin/.libs/ZipPlugin
> 77ad0000-77ad1000 r--p 00003000 08:06 490644
> /home/mariano/squeak/expury/build/ZipPlugin/.libs/ZipPlugin
> 77ad1000-77ad2000 rw-p 00004000 08:06 490644
> /home/mariano/squeak/expury/build/ZipPlugin/.libs/ZipPlugin
> 77ad2000-77b23000 r--p 00000000 08:06 2322192
> /home/mariano/europa09/esug09/pharo1.0-10418-BETAweb09.08.2/Fonts/DejaVu/DejaVuSerif.ttf
> 77b23000-77b5b000 r--p 00000000 08:06 2322178
> /home/mariano/europa09/esug09/pharo1.0-10418-BETAweb09.08.2/Fonts/DejaVu/DejaVuSansMono-Oblique.ttf
> 77b5b000-77baa000 r--p 00000000 08:06 2322182
> /home/mariano/europa09/esug09/pharo1.0-10418-BETAweb09.08.2/Fonts/DejaVu/DejaVuSansMono.ttf
> 77baa000-77bf4000 r--p 00000000 08:06 2322190
> /home/mariano/europa09/esug09/pharo1.0-10418-BETAweb09.08.2/Fonts/DejaVu/DejaVuSansMono-Bold.ttf
> 77bf4000-77c8c000 r--p 00000000 08:06 2322185
> /home/mariano/europa09/esug09/pharo1.0-10418-BETAweb09.08.2/Fonts/DejaVu/DejaVuSans.ttf
> 77c8c000-77ca0000 r-xp 00000000 08:06 589259     /usr/lib/libz.so.1.2.3.3
> 77ca0000-77ca2000 rw-p 00013000 08:06 589259     /usr/lib/libz.so.1.2.3.3
> 77ca2000-77d13000 r-xp 00000000 08:06 4956294
> /usr/lib/libfreetype.so.6.3.18
> 77d13000-77d17000 r--p 00070000 08:06 4956294
> /usr/lib/libfreetype.so.6.3.18
> 77d17000-77d18000 rw-p 00074000 08:06 4956294
> /usr/lib/libfreetype.so.6.3.18
> 77d18000-77d22000 r-xp 00000000 08:06 5249017
> /home/mariano/squeak/expury/build/SocketPlugin/.libs/SocketPlugin
> 77d22000-77d23000 r--p 00009000 08:06 5249017    /home/maAborted
>
>
>
>
>
> On Sat, Sep 19, 2009 at 3:26 PM, Mariano Martinez Peck <
> marianop...@gmail.com> wrote:
>
>>
>>
>> On Sat, Sep 19, 2009 at 10:33 AM, Norbert Sendetzky <
>> norb...@linuxnetworks.de> wrote:
>>
>>> Hi Mariano
>>>
>>> > Norbert: I was trying to run all my tests in 1.4.3 for all backends and
>>> I
>>> > found a problem with sqlite3. With 1.4.2 AND with the latest svn on
>>> trunk,
>>> > it works perfect (it is weird that it works perfect in trunk). But,
>>> with
>>> > 1.4.3 I have a segmentation fault when calling odbx_unbind(). I cannot
>>> > enable log because the log was after this version I think.
>>> >
>>> > Do you have any idea of what can be ?
>>>
>>> There was an uninitialized variable which led to a segfault when you call
>>> odbx_unbind() directly after odbx_bind(). This is fixed in SVN rev 286.
>>>
>>>
>> Thanks Norbert for your help. I did a svn co but I have the same problem.
>> Are you sure you commit the changes? The weird thing is that this only
>> happens with my (SqueakDBX) tests and openDBX tests work ok.
>>
>> Cheers,
>>
>> Mariano
>>
>>
>>>
>>> Norbert
>>> --
>>> OpenPGP public key
>>> http://www.linuxnetworks.de/norbert.pubkey.asc
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and stay
>>> ahead of the curve. Join us from November 9&#45;12, 2009. Register
>>> now&#33;
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> libopendbx-devel mailing list
>>> libopendbx-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
>>> http://www.linuxnetworks.de/doc/index.php/OpenDBX
>>>
>>>
>>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to