This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug win32/11888] Crash when API LoadLibrary called for some dlls
- From: "muller at ics dot u-strasbg dot fr" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 6 Aug 2010 07:07:05 -0000
- Subject: [Bug win32/11888] Crash when API LoadLibrary called for some dlls
- References: <20100806043854.11888.pcode@mail.ru>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From muller at ics dot u-strasbg dot fr 2010-08-06 07:07 -------
Could you please give more details:
The following simple program does not crash for me, neither directly
nor inside GDB:
$ cat test-dsound.pas
uses
sysutils,
windows;
var
h : HMODULE;
func : pointer;
begin
h := LoadLibrary ('dsound.dll');
writeln(format ('HMODULE to Library is 0x%x', [longint(h)]));
func := GetProcAddress (h, 'DirectSoundCreate');
FreeLibrary (h);
writeln(format ('Address of longjmp is 0x%x', [longint(func)]));
end.
But it might be due to a different dsound DLL version.
Could you please report the output of this program,
first ran directly, and after inside GDB?
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware dot|muller at sourceware dot org
|org |
Status|UNCONFIRMED |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=11888
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.