Bug#409937: libqt4-sql: The method QSqlDatabase::removeDatabase() never returns
I struggled with the same kind of bug, but it was not the call to
removeDatabase(), but the return from main(), which died on a futex,
when a second database connection was opened.
I solved the issue by backporting Qt 4.3.3 from the lenny sources.
Reply to: