Bug#39692: Debugging crashes application. Normal execution works.
andreas at pietzowski.de
andreas at pietzowski.de
Sat Mar 23 12:06:02 UTC 2002
Package: kdevelop
Version: 2.1 (from KDE-RC3) (using KDE 2.9.2 )
Severity: normal
Installed from: Compiled From Sources
Compiler: gcc version 2.95.3
OS: Linux
OS/Compiler notes: I compiled qt-3.0.2 with -thread and -qt-sql-mysql
Hi,
I have an application (built with KDevelop from KDE-2.2.2). This app uses the myscql-client-libs and -API. The app worked fine under Qt2. No I wanted to switch to Qt3 so I compiled qt-3.0.2 with SQL-Support.
If I compile my application now in KDevelop it runs normal but if I want to debug it in KDevelop then my application crashes or couldn't connect to the MySQL-DB.
I tried it without Qt-SQL-Support (using th mysql-client-API) and the app works quite fine but the same thing: When I start debugging it runs until mysql_init(NULL) is called. But this init-function works quite fine under Qt2 and KDevelop from KDE-2.2.2.
I guess this has something to do with threading (which I have to turn on because without threading KDevelop wouldn't do any new project ;-) because the only difference I can see in g++ parameters is -DQT_THREAD_SUPPORT
Can you imagine whats the bug? Is it KDevelop or something I should write to trolltech?
I tried KDevelop 2.1 under KDE3-rc3 and under KDE-2.2.2 with the same behavior.
Thanks
Pietz
(Submitted via bugs.kde.org)
More information about the KDevelop-devel
mailing list