freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] Segmentation fault when concurrently opening database connections
- From: Joshua Moore-Oliva <josh AT chatgris.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] Segmentation fault when concurrently opening database connections
- Date: Mon, 19 Apr 2004 16:51:22 -0400
When I concurrently open connections (one per thread), I get a segfault while
executing the dbopen function.
it occurs here
Thread 3:
==22112== Invalid read of size 4
==22112== at 0x4032B1C3: tds_get_homedir (in /usr/lib/libsybdb.so.4.0)
==22112== Address 0x14 is not stack'd, malloc'd or free'd
==22112==
==22112== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==22112== Address not mapped to object at address 0x14
==22112== at 0x4032B1C3: tds_get_homedir (in /usr/lib/libsybdb.so.4.0)
However, this behaviour does not present itself if the dbopen function call
is protected by a mutex..
Joshua Moore-Oliva
-
[freetds] Segmentation fault when concurrently opening database connections,
Joshua Moore-Oliva, 04/19/2004
- Re: [freetds] Segmentation fault when concurrently opening database connections, James K. Lowden, 04/19/2004
Archive powered by MHonArc 2.6.24.