unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Bill Farmer <williamjfarmer@yahoo.co.uk>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 19181@debbugs.gnu.org
Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit
Date: Wed, 26 Nov 2014 10:06:27 +0000	[thread overview]
Message-ID: <5475A623.3030204@yahoo.co.uk> (raw)
In-Reply-To: <831toqpqq9.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 2635 bytes --]

I have used the Sysinternals process explorer, 
(http://technet.microsoft.com/en-us/sysinternals/bb896653), to determine 
the loaded dlls. Unfortunately it does not show a dynamic dependency 
tree. This shows that when a file is visited, the distribution version 
of emacs 24.4 loads zlib1.dll from the MinGW installation and 
libgcc_s_dw2-1.dll also from the MinGW installation. These are the only 
non-microsoft dlls I can see. The version of emacs 24.4 I built does not 
load any non-microsoft dlls. I have attached four text files showing the 
dlls loaded by the distribution version of emacs 24.4 when no files have 
been visited, the dlls loaded by the distribution version after a file 
has been visited, the dlls loaded by the locally built version of emacs 
24.4 when no files have been visited, and the dlls loaded by the locally 
built version of emacs 24.4 after a file have been visited.

Hope this helps.

Regards
Bill Farmer

On 26/11/2014 03:47, Eli Zaretskii wrote:
>> Date: Tue, 25 Nov 2014 23:42:39 +0000
>> From: Bill Farmer <williamjfarmer@yahoo.co.uk>
>> CC: 19181@debbugs.gnu.org
>>
>> I have done a plain vanilla build of emacs 24.4 with my version of MinGW:
>>
>> $ gcc -v
>> Using built-in specs.
>> COLLECT_GCC=c:\MinGW\bin\gcc.exe
>> COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
>> Target: mingw32
>> Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 -
>> -build=m
>> ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto
>> --enable-libssp --disable-multilib -
>> -enable-languages=c,c++,fortran,objc,obj-c++
>> ,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry -
>> -enable-l
>> ibstdcxx-debug --enable-version-specific-runtime-libs -
>> -with-gmp=/usr/src/pkg/gm
>> p-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld -
>> -
>> with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes -
>> -enable-
>> libgomp --enable-threads --with-libiconv-prefix=/mingw32 -
>> -with-libintl-prefix=/
>> mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
>> Thread model: win32
>> gcc version 4.8.1 (GCC)
>>
>> Configured using:
>> `configure --prefix=/d/c/emacs/build/usr'
>>
>> I cannot reproduce the crash on exit problem with this version. It does not
>> include the libXpm.dll file.
> Please try to find the DLLs loaded into the Emacs binary that does
> crash.  I don't see any other way of finding out what caused it.
> Somewhere on your system there is a DLL that depends on
> libgcc_s_dw2-1.dll, and finding it is the way to solve this riddle.
>
> Thanks.


[-- Attachment #1.2: Type: text/html, Size: 3300 bytes --]

[-- Attachment #2: emacs.exe.nofile-distr.txt --]
[-- Type: text/plain, Size: 3317 bytes --]

Process	PID	CPU	Description	Company Name
System Idle Process	0	97.69		
csrss.exe	476			
wininit.exe	548			
csrss.exe	3148			
winlogon.exe	2424			
explorer.exe	1636		Windows Explorer	Microsoft Corporation
AsusAudioCenter.exe	2328		AsusAudioCenter 	CMedia
emacs.exe	3912		GNU Emacs: The extensible self-documenting text editor	Free Software Foundation

Process: emacs.exe Pid: 3912

Name	Description	Company Name	Version
ADVAPI32.DLL	Advanced Windows 32 Base API	Microsoft Corporation	6.1.7601.18247
CFGMGR32.dll	Configuration Manager DLL	Microsoft Corporation	6.1.7601.17621
COMCTL32.DLL	User Experience Controls Library	Microsoft Corporation	6.10.7601.17514
COMDLG32.DLL	Common Dialogs DLL	Microsoft Corporation	6.1.7601.17514
CRYPTBASE.dll	Base cryptographic API DLL	Microsoft Corporation	6.1.7600.16385
DEVOBJ.dll	Device Information Set DLL	Microsoft Corporation	6.1.7601.17621
DSOUND.dll	DirectSound	Microsoft Corporation	6.1.7600.16385
dwmapi.dll	Microsoft Desktop Window Manager API	Microsoft Corporation	6.1.7600.16385
emacs.exe	GNU Emacs: The extensible self-documenting text editor	Free Software Foundation	24.4.0.0
GDI32.dll	GDI Client DLL	Microsoft Corporation	6.1.7601.18577
HsSrv.dll	HsSrv Dynamic Link Library	C-Media Electronics Inc.	1.0.10.917
IMM32.DLL	Multi-User Windows IMM32 API Client DLL	Microsoft Corporation	6.1.7601.17514
kernel32.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.1.7601.18409
KERNELBASE.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.1.7601.18409
locale.nls			
LPK.dll	Language Pack	Microsoft Corporation	6.1.7601.18177
MPR.DLL	Multiple Provider Router DLL	Microsoft Corporation	6.1.7600.16385
MSCTF.dll	MSCTF Server DLL	Microsoft Corporation	6.1.7600.16385
msvcrt.dll	Windows NT CRT DLL	Microsoft Corporation	7.0.7600.16385
ntdll.dll	NT Layer DLL	Microsoft Corporation	6.1.7601.18247
ntdll.dll	NT Layer DLL	Microsoft Corporation	6.1.7601.18247
OLE32.dll	Microsoft OLE for Windows	Microsoft Corporation	6.1.7601.17514
OLEAUT32.dll		Microsoft Corporation	6.1.7601.18640
POWRPROF.dll	Power Profile Helper DLL	Microsoft Corporation	6.1.7600.16385
RPCRT4.dll	Remote Procedure Call Runtime	Microsoft Corporation	6.1.7601.18532
sechost.dll	Host for SCM/SDDL/LSA Lookup APIs	Microsoft Corporation	6.1.7600.16385
SETUPAPI.dll	Windows Setup API	Microsoft Corporation	6.1.7601.17514
SHELL32.dll	Windows Shell Common Dll	Microsoft Corporation	6.1.7601.18517
SHLWAPI.dll	Shell Light-weight Utility Library	Microsoft Corporation	6.1.7601.17514
SortDefault.nls			
SspiCli.dll	Security Support Provider Interface	Microsoft Corporation	6.1.7601.18637
StaticCache.dat			
USER32.dll	Multi-User Windows USER API Client DLL	Microsoft Corporation	6.1.7601.17514
USP10.dll	Uniscribe Unicode script processor	Microsoft Corporation	1.626.7601.18454
uxtheme.dll	Microsoft UxTheme Library	Microsoft Corporation	6.1.7600.16385
VERSION.dll	Version Checking and File Installation Libraries	Microsoft Corporation	6.1.7600.16385
WINMM.DLL	MCI API DLL	Microsoft Corporation	6.1.7601.17514
WINSPOOL.DRV	Windows Spooler Driver	Microsoft Corporation	6.1.7601.17514
wow64.dll	Win32 Emulation on NT64	Microsoft Corporation	6.1.7601.18409
wow64cpu.dll	AMD64 Wow64 CPU 	Microsoft Corporation	6.1.7601.18409
wow64win.dll	Wow64 Console and Win32 API Logging	Microsoft Corporation	6.1.7601.18409

[-- Attachment #3: emacs.exe.loadfile-distr.txt --]
[-- Type: text/plain, Size: 3535 bytes --]

Process	PID	CPU	Description	Company Name
System Idle Process	0	72.48		
csrss.exe	476			
wininit.exe	548			
csrss.exe	3148	0.39		
winlogon.exe	2424			
explorer.exe	1636		Windows Explorer	Microsoft Corporation
AsusAudioCenter.exe	2328		AsusAudioCenter 	CMedia
emacs.exe	3912		GNU Emacs: The extensible self-documenting text editor	Free Software Foundation

Process: emacs.exe Pid: 3912

Name	Description	Company Name	Version
ADVAPI32.DLL	Advanced Windows 32 Base API	Microsoft Corporation	6.1.7601.18247
CFGMGR32.dll	Configuration Manager DLL	Microsoft Corporation	6.1.7601.17621
COMCTL32.DLL	User Experience Controls Library	Microsoft Corporation	6.10.7601.17514
COMDLG32.DLL	Common Dialogs DLL	Microsoft Corporation	6.1.7601.17514
CRYPTBASE.dll	Base cryptographic API DLL	Microsoft Corporation	6.1.7600.16385
DEVOBJ.dll	Device Information Set DLL	Microsoft Corporation	6.1.7601.17621
DSOUND.dll	DirectSound	Microsoft Corporation	6.1.7600.16385
dwmapi.dll	Microsoft Desktop Window Manager API	Microsoft Corporation	6.1.7600.16385
emacs.exe	GNU Emacs: The extensible self-documenting text editor	Free Software Foundation	24.4.0.0
GDI32.dll	GDI Client DLL	Microsoft Corporation	6.1.7601.18577
HsSrv.dll	HsSrv Dynamic Link Library	C-Media Electronics Inc.	1.0.10.917
IMM32.DLL	Multi-User Windows IMM32 API Client DLL	Microsoft Corporation	6.1.7601.17514
kernel32.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.1.7601.18409
KERNELBASE.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.1.7601.18409
libgcc_s_dw2-1.dll			
locale.nls			
LPK.dll	Language Pack	Microsoft Corporation	6.1.7601.18177
MPR.DLL	Multiple Provider Router DLL	Microsoft Corporation	6.1.7600.16385
MSCTF.dll	MSCTF Server DLL	Microsoft Corporation	6.1.7600.16385
msvcrt.dll	Windows NT CRT DLL	Microsoft Corporation	7.0.7600.16385
ntdll.dll	NT Layer DLL	Microsoft Corporation	6.1.7601.18247
ntdll.dll	NT Layer DLL	Microsoft Corporation	6.1.7601.18247
ntmarta.dll	Windows NT MARTA provider	Microsoft Corporation	6.1.7600.16385
OLE32.dll	Microsoft OLE for Windows	Microsoft Corporation	6.1.7601.17514
OLEAUT32.dll		Microsoft Corporation	6.1.7601.18640
POWRPROF.dll	Power Profile Helper DLL	Microsoft Corporation	6.1.7600.16385
RPCRT4.dll	Remote Procedure Call Runtime	Microsoft Corporation	6.1.7601.18532
sechost.dll	Host for SCM/SDDL/LSA Lookup APIs	Microsoft Corporation	6.1.7600.16385
SETUPAPI.dll	Windows Setup API	Microsoft Corporation	6.1.7601.17514
SHELL32.dll	Windows Shell Common Dll	Microsoft Corporation	6.1.7601.18517
SHLWAPI.dll	Shell Light-weight Utility Library	Microsoft Corporation	6.1.7601.17514
SortDefault.nls			
SspiCli.dll	Security Support Provider Interface	Microsoft Corporation	6.1.7601.18637
StaticCache.dat			
USER32.dll	Multi-User Windows USER API Client DLL	Microsoft Corporation	6.1.7601.17514
USP10.dll	Uniscribe Unicode script processor	Microsoft Corporation	1.626.7601.18454
uxtheme.dll	Microsoft UxTheme Library	Microsoft Corporation	6.1.7600.16385
VERSION.dll	Version Checking and File Installation Libraries	Microsoft Corporation	6.1.7600.16385
WINMM.DLL	MCI API DLL	Microsoft Corporation	6.1.7601.17514
WINSPOOL.DRV	Windows Spooler Driver	Microsoft Corporation	6.1.7601.17514
WLDAP32.dll	Win32 LDAP API DLL	Microsoft Corporation	6.1.7601.17514
wow64.dll	Win32 Emulation on NT64	Microsoft Corporation	6.1.7601.18409
wow64cpu.dll	AMD64 Wow64 CPU 	Microsoft Corporation	6.1.7601.18409
wow64win.dll	Wow64 Console and Win32 API Logging	Microsoft Corporation	6.1.7601.18409
zlib1.dll	zlib data compression library		1.2.8.0

[-- Attachment #4: emacs.exe.nofile-build.txt --]
[-- Type: text/plain, Size: 3317 bytes --]

Process	PID	CPU	Description	Company Name
System Idle Process	0	99.75		
csrss.exe	476			
wininit.exe	548			
csrss.exe	3148			
winlogon.exe	2424			
explorer.exe	1636		Windows Explorer	Microsoft Corporation
AsusAudioCenter.exe	2328		AsusAudioCenter 	CMedia
emacs.exe	3228		GNU Emacs: The extensible self-documenting text editor	Free Software Foundation

Process: emacs.exe Pid: 3228

Name	Description	Company Name	Version
advapi32.dll	Advanced Windows 32 Base API	Microsoft Corporation	6.1.7601.18247
CFGMGR32.dll	Configuration Manager DLL	Microsoft Corporation	6.1.7601.17621
comctl32.dll	User Experience Controls Library	Microsoft Corporation	6.10.7601.17514
comdlg32.dll	Common Dialogs DLL	Microsoft Corporation	6.1.7601.17514
CRYPTBASE.dll	Base cryptographic API DLL	Microsoft Corporation	6.1.7600.16385
DEVOBJ.dll	Device Information Set DLL	Microsoft Corporation	6.1.7601.17621
DSOUND.dll	DirectSound	Microsoft Corporation	6.1.7600.16385
dwmapi.dll	Microsoft Desktop Window Manager API	Microsoft Corporation	6.1.7600.16385
emacs.exe	GNU Emacs: The extensible self-documenting text editor	Free Software Foundation	24.4.0.0
GDI32.dll	GDI Client DLL	Microsoft Corporation	6.1.7601.18577
HsSrv.dll	HsSrv Dynamic Link Library	C-Media Electronics Inc.	1.0.10.917
IMM32.DLL	Multi-User Windows IMM32 API Client DLL	Microsoft Corporation	6.1.7601.17514
kernel32.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.1.7601.18409
KERNELBASE.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.1.7601.18409
locale.nls			
LPK.dll	Language Pack	Microsoft Corporation	6.1.7601.18177
mpr.dll	Multiple Provider Router DLL	Microsoft Corporation	6.1.7600.16385
MSCTF.dll	MSCTF Server DLL	Microsoft Corporation	6.1.7600.16385
msvcrt.dll	Windows NT CRT DLL	Microsoft Corporation	7.0.7600.16385
ntdll.dll	NT Layer DLL	Microsoft Corporation	6.1.7601.18247
ntdll.dll	NT Layer DLL	Microsoft Corporation	6.1.7601.18247
ole32.dll	Microsoft OLE for Windows	Microsoft Corporation	6.1.7601.17514
OLEAUT32.dll		Microsoft Corporation	6.1.7601.18640
POWRPROF.dll	Power Profile Helper DLL	Microsoft Corporation	6.1.7600.16385
RPCRT4.dll	Remote Procedure Call Runtime	Microsoft Corporation	6.1.7601.18532
sechost.dll	Host for SCM/SDDL/LSA Lookup APIs	Microsoft Corporation	6.1.7600.16385
SETUPAPI.dll	Windows Setup API	Microsoft Corporation	6.1.7601.17514
SHELL32.dll	Windows Shell Common Dll	Microsoft Corporation	6.1.7601.18517
SHLWAPI.dll	Shell Light-weight Utility Library	Microsoft Corporation	6.1.7601.17514
SortDefault.nls			
SspiCli.dll	Security Support Provider Interface	Microsoft Corporation	6.1.7601.18637
StaticCache.dat			
USER32.dll	Multi-User Windows USER API Client DLL	Microsoft Corporation	6.1.7601.17514
USP10.dll	Uniscribe Unicode script processor	Microsoft Corporation	1.626.7601.18454
uxtheme.dll	Microsoft UxTheme Library	Microsoft Corporation	6.1.7600.16385
VERSION.dll	Version Checking and File Installation Libraries	Microsoft Corporation	6.1.7600.16385
winmm.dll	MCI API DLL	Microsoft Corporation	6.1.7601.17514
winspool.drv	Windows Spooler Driver	Microsoft Corporation	6.1.7601.17514
wow64.dll	Win32 Emulation on NT64	Microsoft Corporation	6.1.7601.18409
wow64cpu.dll	AMD64 Wow64 CPU 	Microsoft Corporation	6.1.7601.18409
wow64win.dll	Wow64 Console and Win32 API Logging	Microsoft Corporation	6.1.7601.18409

[-- Attachment #5: emacs.exe.loadfile-build.txt --]
[-- Type: text/plain, Size: 3460 bytes --]

Process	PID	CPU	Description	Company Name
System Idle Process	0	99.24		
csrss.exe	476			
wininit.exe	548			
csrss.exe	3148			
winlogon.exe	2424			
explorer.exe	1636		Windows Explorer	Microsoft Corporation
AsusAudioCenter.exe	2328		AsusAudioCenter 	CMedia
emacs.exe	3228		GNU Emacs: The extensible self-documenting text editor	Free Software Foundation

Process: emacs.exe Pid: 3228

Name	Description	Company Name	Version
advapi32.dll	Advanced Windows 32 Base API	Microsoft Corporation	6.1.7601.18247
CFGMGR32.dll	Configuration Manager DLL	Microsoft Corporation	6.1.7601.17621
comctl32.dll	User Experience Controls Library	Microsoft Corporation	6.10.7601.17514
comdlg32.dll	Common Dialogs DLL	Microsoft Corporation	6.1.7601.17514
CRYPTBASE.dll	Base cryptographic API DLL	Microsoft Corporation	6.1.7600.16385
DEVOBJ.dll	Device Information Set DLL	Microsoft Corporation	6.1.7601.17621
DSOUND.dll	DirectSound	Microsoft Corporation	6.1.7600.16385
dwmapi.dll	Microsoft Desktop Window Manager API	Microsoft Corporation	6.1.7600.16385
emacs.exe	GNU Emacs: The extensible self-documenting text editor	Free Software Foundation	24.4.0.0
GDI32.dll	GDI Client DLL	Microsoft Corporation	6.1.7601.18577
HsSrv.dll	HsSrv Dynamic Link Library	C-Media Electronics Inc.	1.0.10.917
IMM32.DLL	Multi-User Windows IMM32 API Client DLL	Microsoft Corporation	6.1.7601.17514
kernel32.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.1.7601.18409
KERNELBASE.dll	Windows NT BASE API Client DLL	Microsoft Corporation	6.1.7601.18409
locale.nls			
LPK.dll	Language Pack	Microsoft Corporation	6.1.7601.18177
mpr.dll	Multiple Provider Router DLL	Microsoft Corporation	6.1.7600.16385
MSCTF.dll	MSCTF Server DLL	Microsoft Corporation	6.1.7600.16385
msvcrt.dll	Windows NT CRT DLL	Microsoft Corporation	7.0.7600.16385
ntdll.dll	NT Layer DLL	Microsoft Corporation	6.1.7601.18247
ntdll.dll	NT Layer DLL	Microsoft Corporation	6.1.7601.18247
ntmarta.dll	Windows NT MARTA provider	Microsoft Corporation	6.1.7600.16385
ole32.dll	Microsoft OLE for Windows	Microsoft Corporation	6.1.7601.17514
OLEAUT32.dll		Microsoft Corporation	6.1.7601.18640
POWRPROF.dll	Power Profile Helper DLL	Microsoft Corporation	6.1.7600.16385
RPCRT4.dll	Remote Procedure Call Runtime	Microsoft Corporation	6.1.7601.18532
sechost.dll	Host for SCM/SDDL/LSA Lookup APIs	Microsoft Corporation	6.1.7600.16385
SETUPAPI.dll	Windows Setup API	Microsoft Corporation	6.1.7601.17514
SHELL32.dll	Windows Shell Common Dll	Microsoft Corporation	6.1.7601.18517
SHLWAPI.dll	Shell Light-weight Utility Library	Microsoft Corporation	6.1.7601.17514
SortDefault.nls			
SspiCli.dll	Security Support Provider Interface	Microsoft Corporation	6.1.7601.18637
StaticCache.dat			
USER32.dll	Multi-User Windows USER API Client DLL	Microsoft Corporation	6.1.7601.17514
USP10.dll	Uniscribe Unicode script processor	Microsoft Corporation	1.626.7601.18454
uxtheme.dll	Microsoft UxTheme Library	Microsoft Corporation	6.1.7600.16385
VERSION.dll	Version Checking and File Installation Libraries	Microsoft Corporation	6.1.7600.16385
winmm.dll	MCI API DLL	Microsoft Corporation	6.1.7601.17514
winspool.drv	Windows Spooler Driver	Microsoft Corporation	6.1.7601.17514
WLDAP32.dll	Win32 LDAP API DLL	Microsoft Corporation	6.1.7601.17514
wow64.dll	Win32 Emulation on NT64	Microsoft Corporation	6.1.7601.18409
wow64cpu.dll	AMD64 Wow64 CPU 	Microsoft Corporation	6.1.7601.18409
wow64win.dll	Wow64 Console and Win32 API Logging	Microsoft Corporation	6.1.7601.18409

  reply	other threads:[~2014-11-26 10:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 11:08 bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Bill Farmer
2014-11-25 17:26 ` Eli Zaretskii
     [not found]   ` <5474C91A.3010007@yahoo.co.uk>
2014-11-25 18:58     ` Eli Zaretskii
2014-11-25 19:03   ` Dani Moncayo
2014-11-25 19:08     ` Eli Zaretskii
2014-11-25 19:11       ` Dani Moncayo
2014-11-25 23:42         ` Bill Farmer
2014-11-26  3:47           ` Eli Zaretskii
2014-11-26 10:06             ` Bill Farmer [this message]
2014-11-26 11:34             ` Bill Farmer
2014-11-26 15:55               ` Eli Zaretskii
2014-11-26 17:52                 ` Bill Farmer
2014-11-26 18:05                   ` Eli Zaretskii
2014-11-25 21:01       ` Óscar Fuentes
2014-11-26  3:42         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5475A623.3030204@yahoo.co.uk \
    --to=williamjfarmer@yahoo.co.uk \
    --cc=19181@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).