This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug win32/11888] Crash when API LoadLibrary called for some dlls


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]