On May 10, 2009, at 4:05 PM, Bruno Adami wrote:
> Its my first time subscribing to a list, I dont know if I need to
> send to this email, but it is a try :)
You got it. :)
> Mysqlpp is a great wrapper for MySQL C Api, it makes our lifes
> easyer, I mean it, thank you!
You're welcome.
> ==21941== Invalid read of size 4
> ==21941== at 0x4016A87: (within /lib/ld-2.9.so)
> ==21941== by 0x42C5901: (within /lib/tls/i686/cmov/libc-2.9.so)
> ==21941== by 0x400E035: (within /lib/ld-2.9.so)
> ==21941== by 0x42C5AC4: __libc_dlopen_mode (in /lib/tls/i686/cmov/
> libc-2.9.so)
> ==21941== by 0x429D23F: __nss_lookup_function (in /lib/tls/i686/
> cmov/libc-2.9.so)
> ==21941== by 0x429D30E: (within /lib/tls/i686/cmov/libc-2.9.so)
> ==21941== by 0x429F16C: __nss_services_lookup2 (in /lib/tls/i686/
> cmov/libc-2.9.so)
> ==21941== by 0x42A5E95: getservbyname_r (in /lib/tls/i686/cmov/
> libc-2.9.so)
> ==21941== by 0x42A5BED: getservbyname (in /lib/tls/i686/cmov/
> libc-2.9.so)
> ==21941== by 0x4348B85: mysql_server_init (in /usr/lib/
> libmysqlclient.so.15.0.0)
> ==21941== by 0x4370E58: mysql_init (in /usr/lib/libmysqlclient.so.
> 15.0.0)
> ==21941== by 0x40548B3: mysqlpp::DBDriver::DBDriver()
> (dbdriver.cpp:48)
Based on the stack trace, the bug here is clearly deep down within the
system libraries, or perhaps in the MySQL C API library. MySQL++
cannot fix this for you.
The same is true of the other one.