[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS-Windows build using Posix configury

From: Eli Zaretskii
Subject: Re: MS-Windows build using Posix configury
Date: Sat, 18 May 2013 21:21:28 +0300

> Date: Sat, 18 May 2013 18:28:15 +0400
> From: Dmitry Gutov <address@hidden>
> CC: address@hidden
> >>> Anyway, can you verify that the function unload_dlls is being called
> >>> at exit, and that it does unload libgnutls-28.dll?  Setting a
> >>> breakpoint at the line that calls FreeLibrary should allow you to
> >>> display the value of loaded_from variable, which is a list showing the
> >>> library and the handle used to load it.
> >>
> >> It does, but 'abort' breakpoint hits earlier.
> >>
> >> The sequence is, as gdb sees it, unload libpng14-14.dll, abort from
> >> deregister_frame_info_bases, unload libpng14-14.dll again (!), then
> >> unload libgnutls-28.dll.
> >
> > Does libpng14-14.dll depend on libintl as well, or depend on
> > libgcc_s_dw2-1.dll in some other way, per chance?
> Nope, its only dependencies are zlib1, kernel32 and msvcrt.

OK.  Can you try a session that only loads libgnutls, but doesn't load
image libraries?  I think "emacs -nw" should achieve that, if you then
use whatever features that load GnuTLS.  The question is, if libgnutls
is the only DLL loaded, does Emacs still crash at exit, with and
without my unloading patch?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]