Bugs item #1246038, was opened at 2005-07-27 15:11
Message generated for change (Settings changed) made by cyreve
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1246038&group_id=93438
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Other
Group: Win32
>Status: Closed
>Resolution: Fixed
Priority: 9
Submitted By: Philippe Lavoie (philosophil)
Assigned to: Nobody/Anonymous (nobody)
Summary: 0.42 Crash with Windows Server 2003 SP1
Initial Comment:
I do an 'About Inskcape' with version 0.42 and the
program exits right away (i.e. crash and burn). I have
Windows server 2003 SP1.
I reported that in version 0.41 too and I assumed it
was a problem with GTK, however GIMP doesn't have this
problem on my system (GTK 2.6.7-2).
I don't know which version of GTK is being used for
Inkscape.
Is there an option for Inkscape to exit with a trace?
----------------------------------------------------------------------
Comment By: Philippe Lavoie (philosophil)
Date: 2005-08-29 16:31
Message:
Logged In: YES
user_id=325869
FYI, version 0.42.2 doesn't fix the problem with Windows2003
SP1.
----------------------------------------------------------------------
Comment By: Philippe Lavoie (philosophil)
Date: 2005-08-08 18:14
Message:
Logged In: YES
user_id=325869
Well, MSJVM is not offered anymore. So I don't think I'll be
able to see if it fixes it :)
----------------------------------------------------------------------
Comment By: Philippe Lavoie (philosophil)
Date: 2005-08-08 18:11
Message:
Logged In: YES
user_id=325869
Dependency walker also tells me that MSJava isn't loaded
properly. I'll try to install MS java to see if it helps.
----------------------------------------------------------------------
Comment By: Philippe Lavoie (philosophil)
Date: 2005-08-08 18:08
Message:
Logged In: YES
user_id=325869
I tried adding all the DLL from the GIMP. It didn't help. I
think the problem is more with MSVCRT.dll.
Here is what dependencywalker is telling me about MSVCRT.dll
File Ver: 7.0.3790.1830
Product Ver: 6.1.8638.1830
Image Ver: 5.2
Linker Ver: 7.10
OS Ver: 5.2
Subsystem Ver: 4.0
It also appears that it loads it from c:\windows and not
from the inkscape folder.
----------------------------------------------------------------------
Comment By: Adib Taraben (theadib)
Date: 2005-07-31 13:12
Message:
Logged In: YES
user_id=550936
The msvcrt is linked by default. There is no other runtime.
As you also reportet that you have gimp running and so also
a bunch of gtk libs you may go step by step and pick out the
dll or inkscape and recognize which lib is wrong.
1. move out all dll's from the inkscape path
2. start the program and if that fails look what dll it
requests,
3. now put the dll from the gtk/gimp directory in
4. if there is no such dll put the dll from your saved
inkscape dll's
5. goto 2. until the program runs :-)
6. now you have a running program
7. now move one dll from your saved inkscape dll folder into
inkscape folder
8. goto 7. until your program crashes :-(
9: report the dll you copy last time
So far the manual way.
To find out something about dependencies in a more
sophisticated way you can use also the dependency walker:
http://www.dependencywalker.com/
The tool comes with VisualStudio6.
I have found with that tool that if I strip all dll´s some
get broken.
Thanks for your patience.
----------------------------------------------------------------------
Comment By: Philippe Lavoie (philosophil)
Date: 2005-07-31 01:58
Message:
Logged In: YES
user_id=325869
My gimp doesn't come with a msvcrt70.dll
However, c:\Windows has msvcrt70.dll and msvcrt71.dll
I copied them over, but it didn't help. I guess it would be
too much to ask to not have a dependency on that DLL :)
----------------------------------------------------------------------
Comment By: Adib Taraben (theadib)
Date: 2005-07-29 22:41
Message:
Logged In: YES
user_id=550936
I found that there are problems with msvcrt.dll on win2003
http://www.eggheadcafe.com/ng/microsoft.public.windows.app_compatibility/post582865.asp
Does your gimp comes with a msvcrt ?
Can you replace that msvcrt.dll with one from your system
please ?
----------------------------------------------------------------------
Comment By: Philippe Lavoie (philosophil)
Date: 2005-07-29 14:40
Message:
Logged In: YES
user_id=325869
I think you guys will love this stack trace...
Breakpoint 2, 0x77e53039 in KERNEL32!ExitProcess ()
from C:\WINDOWS\system32\kernel32.dll
(gdb) bt
#0 0x77e53039 in KERNEL32!ExitProcess () from
C:\WINDOWS\system32\kernel32.dll
#1 0x77bcade4 in strerror () from C:\WINDOWS\system32
\msvcrt.dll
#2 0x00000001 in ?? ()
#3 0x0022e1d4 in ?? ()
#4 0x77bcaefc in msvcrt!_initterm () from
C:\WINDOWS\system32\msvcrt.dll
#5 0x00000001 in ?? ()
#6 0x00000000 in ?? () from
#7 0x00000000 in ?? () from
#8 0x00000000 in ?? () from
#9 0x0022e1b0 in ?? ()
#10 0x03ff73c8 in ?? ()
#11 0x0022ffe0 in ?? ()
#12 0x77bc6c74 in msvcrt!_except_handler2 ()
from C:\WINDOWS\system32\msvcrt.dll
Previous frame inner to this frame (corrupt stack?)
My guess is probably worst than yours (I'm guessing a
threading model incompatibility, you?).
----------------------------------------------------------------------
Comment By: Richard Hughes (cyreve)
Date: 2005-07-29 00:26
Message:
Logged In: YES
user_id=201373
Try this (with Adib's 6.3 version since it doesn't seem to work
on 5.2):
gdb inkscape
break main
run
break ExitProcess
break TerminateProcess
c
...crash it...
bt
----------------------------------------------------------------------
Comment By: Adib Taraben (theadib)
Date: 2005-07-28 23:43
Message:
Logged In: YES
user_id=550936
Thanks for beeing penetrant ;-)
I zip´ed a gdb version 6.3 on
http://www.geocities.com/theAdib/gdb.zip
could you try with this an other run. For now only MinGW
compiler is supported on win32.
BTW could you mark one of your former bug as duplicate to
this one. So we track this one here furtheron .?
Gracie mille,
Adib.
----------------------------------------------------------------------
Comment By: Philippe Lavoie (philosophil)
Date: 2005-07-28 15:55
Message:
Logged In: YES
user_id=325869
I think there is a bigger issue somewhere. I run inkscape with
gdb and the only thing I do is 'Help/About Inkscape". This is
what gdb is reporting
D:\temp\inkscape>gdb.exe inkscape.exe
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
License, and you are
welcome to change it and/or distribute copies of it under
certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show
warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) run
Starting program: D:\temp\inkscape/inkscape.exe
Program exited with code 01.
(gdb) bt
No stack.
As you see, not a lot to go on... (I used the precompiled
binaries available on the download section of inkscape
Inkscape0507201800.zip)
Doing File/Open has the same behavior... (an immediate exit).
Is there anything else I can try to help resolve this? If you
have a version which compiles under VisualStudio.NET, I can
set break points or something to help narrow it down. Is it the
case?
----------------------------------------------------------------------
Comment By: Richard Hughes (cyreve)
Date: 2005-07-27 21:06
Message:
Logged In: YES
user_id=201373
If you run it inside gdb:
gdb inkscape
run
Then when it crashes gdb will catch it and you can type
bt
and paste the result here. That should be enough to keep us
amused for a while.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1246038&group_id=93438
|