Segfault when running debug in Win7 x64 (gdb-MinGW)
I'm using Windows 7 x64 and I just installed the latest Qt 4.7.0 (x86).
With no changes to the configuration, i've created a test Qt GUI application. No code and no extra components were added. As i'm used to the Visual Studio environment i pressed F5 to launch the application. This should launch the debugger and eventually the application... but it crashes in a few seconds due to a Segfault. I have to manually kill the debugger.
I tried to install the Windows debugging tools (both x86 as x64), but enabling them in the options window has no effect at all. :(
In release mode any application compiles, links and runs fine.
Because I have to force-kill the debugger, the application output is empty.:(
edit:
I found some additional information about the segfault:
0 CMGxSrv!?removeCOMHook@@YAHXZ C:\Windows\SysWOW64\HsSrv.dll 0 0x1000b331
1 ?? 0 0xc5a84153
2 ?? 0 0x00000000
edit 2:
I searched for more details about the error above and I discovered that HsSrv.dll is part of my sound card driver (Asus Xonar D2X). How could this possibly be related to Qt?!:confused:
Re: Segfault when running debug in Win7 x64 (gdb-MinGW)
Isn't there anything I could do to trace the source of the error?
If i search for any error messages related to HsSrv.dll, "division by zero" is mentioned.
Maybe there is a way to detach this dll from my application?
I certainly hope that I don't have to contact Asus for this, as there really isn't a good way to contact them. They probably won't solve this problem anyway, i'm afraid.:(
Every suggestion is very welcome! Thanks for your help:)
Re: Segfault when running debug in Win7 x64 (gdb-MinGW)
Quote:
Originally Posted by
BitMaster
Isn't there anything I could do to trace the source of the error?
If i search for any error messages related to HsSrv.dll, "division by zero" is mentioned.
Maybe there is a way to detach this dll from my application?
I certainly hope that I don't have to contact Asus for this, as there really isn't a good way to contact them. They probably won't solve this problem anyway, i'm afraid.:(
Every suggestion is very welcome! Thanks for your help:)
------------------------------------------------------------------------------
Hi,
i have the same Problem with Qt-Debugger and Asus Xonar D1. You have already a solution to the problem? It´s realy important ...
Greetings from Germany
nanochen
Re: Segfault when running debug in Win7 x64 (gdb-MinGW)
oh, I found the problem and the following is to eliminate the problem:
- open msconfig.exe
- go to register "system start" (i have german version of windows 7 64 bit)
- disable HsMgr
- restart windows
READY
The Asus Xonar Driver and Tool works great and the Qt Debugger makes his work
best regards
nanochen
Re: Segfault when running debug in Win7 x64 (gdb-MinGW)
Haha, never thought anyone would ever reply to this.
I never solved it, but thanks for your answer, i will try it soon ;)
Re: Segfault when running debug in Win7 x64 (gdb-MinGW)
Save issue here (I have a Xonar D2X).
I never thought it was related to my sound card =|
Thanks for the fix !