Norbert: I enabled logging and tried to run my tests. I got the segmentation
fault when calling to mysql_odbx_bind() in a certain connection.

I start running all my SqueakDBX tests and in a certain moment, my VM crash
(it is close and no more tests are run) because of a segmentation fault.

Look:

 mari...@mariano-ubuntu:~$ ls -lat opendbx-*.dbg
-rw-r--r-- 1 mariano mariano   203 2009-09-15 19:38 opendbx-0x98bca08.dbg
-rw-r--r-- 1 mariano mariano 84130 2009-09-15 19:38 opendbx-0x98bdce0.dbg
-rw-r--r-- 1 mariano mariano   916 2009-09-15 19:38 opendbx-0x98bcaa8.dbg
-rw-r--r-- 1 mariano mariano   458 2009-09-15 19:38 opendbx-0x98bcb10.dbg
-rw-r--r-- 1 mariano mariano   458 2009-09-15 19:38 opendbx-0x98bcae0.dbg
-rw-r--r-- 1 mariano mariano   458 2009-09-15 19:38 opendbx-0x98bca98.dbg
-rw-r--r-- 1 mariano mariano   458 2009-09-15 19:38 opendbx-0x98bcac0.dbg
-rw-r--r-- 1 mariano mariano   458 2009-09-15 19:38 opendbx-0x98bdd48.dbg
-rw-r--r-- 1 mariano mariano  4990 2009-09-15 19:38 opendbx-0x98bc450.dbg

Those are the connections/logs generated while I run the tests.

As you can see the last connection that wrote to log is
opendbx-0x98bca08.dbg. If I open that file I only see:

[2009-09-15 19:38:45] (1) Start logging for '0x98bca08'
[2009-09-15 19:38:45] (1) mysql_odbx_init() called
[2009-09-15 19:38:45] (1) odbx_bind() called
[2009-09-15 19:38:45] (1) mysql_odbx_bind() called

Which has sense as in mysql_odbx_bind() is where I get the segmentation
fault.

The thing is that it is not always like this. Sometimes it fail in another
connection. But always is when calling mysql_odbx_bind().

I tried to see opendbx-0x98bdce0.dbg and tried to noticed some wring
invocation to OpenDBX functions, but it seems to be ok. Do you find
something wrong with this ?

I attach you these logs in logs.tar.gz.

Then I run all again but fail even before (It only create 3 connections). I
also attach those 3 dbg in a logs2.tar.gz

Best

Mariano

Attachment: logs.tar.gz
Description: GNU Zip compressed data

Attachment: logs2.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
libopendbx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to