ich hab jetzt ein debian woody aufgesetzt wie von cody in den faq's beschrieben ist. (danke)
und folgende Packete übersetzt und per stow (der sauberkeit halber) installiert
libmad-0.15.1b
mysql-4.1.14
taglib-1.4
und muggle-0.1.8 mit mysql server und embedet ...
wenn ich mugglei gegen meinen mysql server laufen lasse ...
krieg ich wie vorher ein segfault...
diesmal hab ich valgrind von backport.org selbst übersetzt und jetzt lauft valgrind ...
folgenden output hab ich bekommen ...
Importing 01 - Swamped.mp3
Using TCP for connecting to server 192.168.0.200 as user muggle.
1BB884C0:1 rows: SELECT cddbid FROM album WHERE title='Comalies' AND artist='Lacuna Coil'
1BB884C0:1 rows: SELECT id from tracks WHERE mp3file='01 - Swamped.mp3'
==24890==
==24890== Invalid read of size 4
==24890== at 0x8055520: mgSQLStringImp::quoted(void) const (mg_db.c:166)
==24890== by 0x805513D: mgSQLString::quoted(void) const (mg_db.c:98)
==24890== by 0x805D86A: mgDb::SyncFile(char const *) (mg_db.c:1165)
==24890== by 0x80563B1: mgDb::Sync(char *const *) (mg_db.c:332)
==24890== Address 0x1CFA40B4 is 4 bytes inside a block of size 16 free'd
==24890== at 0x1B9004A7: __builtin_delete (vg_replace_malloc.c:155)
==24890== by 0x80554F5: mgSQLStringImp::~mgSQLStringImp(void) (mg_db.c:159)
==24890== by 0x8070123: mgSQLStringMySQL::~mgSQLStringMySQL(void) (mg_db_gd_mysql.c:28)
==24890== by 0x8054DF0: mgSQLString::~mgSQLString(void) (mg_db.c:43)
==24890==
==24890== Invalid read of size 4
==24890== at 0x805552C: mgSQLStringImp::quoted(void) const (mg_db.c:168)
==24890== by 0x805513D: mgSQLString::quoted(void) const (mg_db.c:98)
==24890== by 0x805D86A: mgDb::SyncFile(char const *) (mg_db.c:1165)
==24890== by 0x80563B1: mgDb::Sync(char *const *) (mg_db.c:332)
==24890== Address 0x1CFA40B8 is 8 bytes inside a block of size 16 free'd
==24890== at 0x1B9004A7: __builtin_delete (vg_replace_malloc.c:155)
==24890== by 0x80554F5: mgSQLStringImp::~mgSQLStringImp(void) (mg_db.c:159)
==24890== by 0x8070123: mgSQLStringMySQL::~mgSQLStringMySQL(void) (mg_db_gd_mysql.c:28)
==24890== by 0x8054DF0: mgSQLString::~mgSQLString(void) (mg_db.c:43)
pure virtual method called
==24890==
==24890== Process terminating with default action of signal 6 (SIGABRT)
==24890== at 0x1B95BA4B: pthread_kill (vg_libpthread.c:1666)
==24890== by 0x1B95BB4A: raise (vg_libpthread.c:1676)
==24890== by 0x1BA66BE0: abort (in /lib/libc-2.2.5.so)
==24890== by 0x1BA010E7: __default_terminate (in /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so)
==24890==
==24890== ERROR SUMMARY: 2091 errors from 8 contexts (suppressed: 4198 from 3)
==24890== malloc/free: in use at exit: 50633644 bytes in 40586 blocks.
==24890== malloc/free: 83730 allocs, 43144 frees, 86694623 bytes allocated.
==24890== For a detailed leak analysis, rerun with: --leak-check=yes
==24890== For counts of detected errors, rerun with: -v
Aborted
Alles anzeigen