Displaying 1 result from an estimated 1 matches for "sql_passdb_module".
2010 Aug 20
2
PATCH: SQL connect crash
...0x808b5bc) at sql-api.c:87
#4 0x0805a3ac in db_sql_unref (_conn=0x807fc60) at db-sql.c:119
#5 0x08062be2 in userdb_deinit (userdb=0x807fc48) at userdb.c:177
#6 0x0804ff4b in auths_deinit () at auth.c:213
#7 0x0805b7bc in main (argc=1474660693, argv=0xec835356) at main.c:160
gdb) print ((struct sql_passdb_module *) _module)->conn
$20 = (struct sql_connection *) 0x0
It seems that module->conn for passdb is being zeroed at auth_deinit(),
passdb_deinit() completes succesfully but then userdb_deinit() does
the illegal access.
The following hack seems to eliminate the symptom, however I'd
strongly r...