This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


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

get windows error message 0xc0000142 on starting cygwin app


Hi,

currently I'm compiling kde2 apps with cygwin and xfree and have a problem
loading dll's.
The problem is that on loading the app the windows runtime loader breaks with a
error message
"Die Anwendung konnte nicht richtig initialisiert werden (0xc0000142)"

gdb says something about an unknown target exception:
--------------------------------------------------------
$ gdb -nw kicker.exe
GNU gdb 5.0 (20010428-1)
(gdb) r
Starting program: /opt/kde2/bin/kicker.exe
gdb: unknown target exception 0xc0000142 at 0x77fb00ac

Program received signal ?, Unknown signal.
0x77fb00ac in ?? ()
(gdb) q
The program is running.  Exit anyway? (y or n) y
--------------------------------------------------------

I have searched in the microsoft knowledge base, but what I found isn't very
much. :-(

--------------------------------------------------------
Error Message:
(Application Error) The application failed to initialize properly (0xaddress ).
Click on OK to terminate the application.
User Action:
This is a Windows 2000 Executive STATUS error message. After you terminate the
application, try running it again. If this message reappears, contact the
supplier of the application.
--------------------------------------------------------

What I have found that this problem occures while the dynamic linker (ntdll) is
working shown below.
The exception is raised by a "leave" instruction, but I


0x77fb0082:     push   %eax
0x77fb0083:     call   0x77faffd0
0x77fb0088:     push   %ebp
0x77fb0089:     mov    %esp,%ebp
0x77fb008b:     sub    $0x50,%esp
0x77fb008e:     mov    0x8(%ebp),%eax
0x77fb0091:     andl   $0x0,0xffffffb8(%ebp)
0x77fb0095:     andl   $0x0,0xffffffc0(%ebp)
0x77fb0099:     mov    %eax,0xffffffb0(%ebp)
0x77fb009c:     lea    0xffffffb0(%ebp),%eax
0x77fb009f:     movl   $0x1,0xffffffb4(%ebp)
0x77fb00a6:     push   %eax
0x77fb00a7:     call   0x77faffd0
!!!!!!!!!!!!!!!!!!
0x77fb00ac:     leave
!!!!!!!!!!!!!!!!!!
0x77fb00ad:     ret    $0x4
0x77fb00b0:     mov    0x4(%esp,1),%ecx
0x77fb00b4:     push   %esi


ssp say something like this:

$ ssp -v -d -dll 0x04010000 0x04030000 kicker.exe
verbose messages enabled
stepping disabled; enable via OutputDebugString ("ssp on")
profiling dll usage
prun: [04010000,04030000] Running `kicker.exe'
load dll 77f80000: (unknown)
load dll 10000000: c:\programme\cygwin\opt\kde2\lib\kicker.dll
load dll 00330000: c:\programme\cygwin\opt\kde2\bin\cygkonq-3.dll
load dll 003d0000: c:\programme\cygwin\opt\kde2\bin\cygDCOP-1.dll
load dll 61000000: c:\programme\cygwin\bin\cygwin1.dll
load dll 77e70000: c:\WINNT\system32\KERNEL32.dll
load dll 00410000:
c:\programme\cygwin\home\habacker\tmp\kde\qt-2.3.0\bin\qt-2-3.dll
load dll 67660000: c:\programme\cygwin\usr\X11R6\bin\libGL.dll
load dll 674e0000: c:\programme\cygwin\usr\X11R6\bin\libX11.dll
load dll 670d0000: c:\programme\cygwin\usr\X11R6\bin\libXext.dll
load dll 61b40000: c:\programme\cygwin\usr\X11R6\bin\libICE.dll
load dll 675e0000: c:\programme\cygwin\usr\X11R6\bin\libSM.dll
load dll 677f0000: c:\programme\cygwin\usr\X11R6\bin\libXft.dll
load dll 677a0000: c:\programme\cygwin\usr\X11R6\bin\libXrender.dll
load dll 677b0000: c:\programme\cygwin\usr\X11R6\bin\libfreetype.dll
load dll 60dc0000: c:\programme\cygwin\usr\local\kde1\bin\cygjpeg6b.dll
load dll 6fc40000: c:\programme\cygwin\usr\local\kde1\bin\cygpng2.dll
load dll 67fc0000: c:\programme\cygwin\usr\local\kde1\bin\cygz.dll
load dll 00850000: c:\programme\cygwin\opt\kde2\bin\cygkICE-0.dll
load dll 00870000: c:\programme\cygwin\opt\kde2\bin\cygkdecore-3.dll
load dll 00a10000: c:\programme\cygwin\opt\kde2\bin\cygkdeui-3.dll
load dll 00c00000: c:\programme\cygwin\opt\kde2\bin\cygkfile-3.dll
load dll 00ca0000: c:\programme\cygwin\opt\kde2\bin\cygksycoca-3.dll
load dll 00d60000: c:\programme\cygwin\opt\kde2\bin\cygkio-3.dll
load dll 00e40000: c:\programme\cygwin\opt\kde2\bin\cygkdesu-1.dll
load dll 69e00000: c:\programme\cygwin\opt\kde2\bin\cygkssl-2.dll
load dll 65e40000: c:\programme\cygwin\opt\kde2\bin\cygkparts-1.dll
exception 1, code: c0000142 flags: 1
eax 0022fc50 ebx 00000000 ecx 00000101 edx ffffffff eip
esi 7ffde000 edi 7ffde000 ebp 0022fca0 esp 0022fc50 77fb00ac
total cycles: 1, counted cycles: 0
 Main-Thread Other-Thread BaseAddr DLL Name
      1 100%       0   0% 77f80000 (unknown)


Does anyone have heard about this error message, what this message mean and what
the reason could be ?


Regards

Ralf


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