[Lazarus] SIGSEGV with gdb.exe

Kjow antispammoni at gmail.com
Wed Apr 20 10:20:16 CEST 2011


2011/4/19 Martin <lazarus at mfriebe.de>:
> Open the "Menu / View / Debug Windows / Debug output" window (before running
> your app), then start it, and copy, zip, and send the content. Sometimes it
> gives a clue, sometimes not...

Well, I found the problem:

from the log you suggested me:
"
*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation
fault",frame={addr="0x1000b481",func="CMGxSrv!?removeCOMHook@@YAHXZ",args=[],from="C:\\Windows\\SysWOW64\\HsSrv.dll"},thread-id="1",stopped-threads="all"
"

HsSrv.dll is part of Asus Xonar DX/D2X drivers and looking for it I
found a solution:

"- 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"

>From here: http://www.qtcentre.org/threads/31948-Segfault-when-running-debug-in-Win7-x64-(gdb-MinGW)?s=2fa738a78700d24096036ca9aa9e02e4

Hoping that this can help someone else.



It works, but unfortunately this disables OpenAL surround... needed to
me (in my project). :(

Is it possible to avoid pass a specific dll to gdb?

Thank you!
Kjow




More information about the Lazarus mailing list