[Lazarus] SIGSEGV with gdb.exe

Marc Weustink marc.weustink at cuperus.nl
Wed Apr 20 12:14:22 CEST 2011


Kjow wrote:
> 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?

Unfortunately not. This kind of software wants to hook into applications 
for "better" interaction with this software.
As software you register a dll to be hooked. Then windows loads this dll 
in all applications loaded.

Marc




More information about the Lazarus mailing list