[unixODBC-support] Poolling Segfault

Paul dufflebunk at dufflebunk.homeip.net
Thu Jul 22 22:39:55 BST 2004


I tried the latest MyODBC drivers (3.51.07) and it did not crash, so
everything seems to be working now. Thanks.

On Wed, 2004-07-21 at 12:44 -0400, Paul wrote:
> After recompiling mysql with debugging on, I have discovered that it
> segfaults when derefrencing the vio pointer (set to 0x3!):
> (gdb) where
> #0  0x402574a2 in vio_blocking (vio=0x3, set_blocking_mode=0 '\0', 
>     old_mode=0xbffebb1f "¿\230Î\005\bÔé%@h»þ¿\034\bp>\006\böª%@\030³#@,\ah3\006\bXX\001@\230Î\005\bØ\233\220»þ¿") at viosocket.c:107
<snip>
> 
> On Wed, 2004-07-21 at 07:58 +0100, Nick Gorham wrote:
> > Paul wrote:
> > > 
> > > I don't know if this is a problem in the way I'm doing pooling, a bug in
> > > unixODBC, MyODBC, or even MySQL. Any help would be apreciated.
> > > 
> > 
> > Not sure, but the fact that it crashes with 2.2.6 and 2.2.9 does point 
> > away from the driver manager as the pooling changed quite a bit for 
> > 2.2.9. It may be whatever the DM is asking the driver to do, but its 
> > falling over in the driver, so I guess the first step is finding out 
> > what causes a seg fault in that mysql lib function.
> > 
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mail.easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20040722/d77d1920/attachment.bin>


More information about the unixODBC-support mailing list