Hi Andreas > Now the problem: > mysql_thread_end() is only called if mysql_counter <= 0 but i think it > should be called always. > see at: http://dev.mysql.com/doc/refman/5.4/en/mysql-thread-end.html
No, we found out that if we call mysql_thread_end() in mysql_odbx_finish() each time, you will get segmentation faults when creating/finishing more than one connection in a process or thread. The problem seems to be that mysql_thread_end() should only be called when the thread really ends, otherwise still required data structures will be freed. Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________ 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