[spambayes-bugs] [ spambayes-Bugs-1059170 ] SpamBayes-1.0
msvcrt.dll install crash
SourceForge.net
noreply at sourceforge.net
Thu Nov 4 04:15:59 CET 2004
Bugs item #1059170, was opened at 2004-11-03 13:04
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1059170&group_id=61702
Category: Outlook
Group: Binary 1.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Ethan J. Brown (iristyle)
Assigned to: Nobody/Anonymous (nobody)
Summary: SpamBayes-1.0 msvcrt.dll install crash
Initial Comment:
When installing spambayes-1.0.exe on Windows XP SP2
(clean install) and Outlook 2k3, the installer spawns
outlook_addin_register.exe, but that process crashes.
All files are copied appropriately to the destination
location in c:\program files, and the installer itself
completes, but the outlook toolbar registration does not
complete.
The problem is a crash within msvcrt.dll:
"
Faulting application outlook_addin_register.exe, version
0.0.0.0, faulting module msvcrt.dll, version
7.0.2600.2180, fault address 0x0003809e.
"
As you can see, the version of msvcrt.dll that ships with
XP SP2 from above is 7.0.2600.2180. To workaround
this problem, an older version of msvcrt.dll can be
dumped into c:\program files\spambayes\bin, so that
the LoadLibrary calls load a compatible version (I don't
have my dev tools / dumpbin installed at the moment
to take a look at your exports). In my case, I took the
only other available version that I had, version 7.0.0.0,
from my Windows side-by-side directory:
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.CPlusPlu
sRuntime_6595b64144ccf1df_7.0.0.0_x-ww_2726e76a
When the compatible msvcrt.dll and msvcirt.dll are
copied to the SpamBayes\bin directory, the registration
application runs succesfully. You might want to
consider shipping the dlls you've compiled against with
your installer in the future to avoid this problem (it's
only about a 365k commitment to do so).
If you need any more details, don't hesitate to ask --
but I assume you guys should have enough here.
Thanks
-e
----------------------------------------------------------------------
>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-11-04 16:15
Message:
Logged In: YES
user_id=552329
Two of the developers tested this after this report, and it
works fine for both of us.
>From spambayes-dev:
"""
7.0.2600.2180 is the correct version number for the XP SP2
version of msvcrt.dll, so we know it wasn't overwritten by
some rogue installer that didn't follow the Microsoft rules.
I can't speak to specific changes made for SP2, but this is
now a system DLL and Microsoft has guaranteed that the
interface will never change. Given the extensiveness of
their compatibility
testing and the number of users outside of Microsoft that
beta tested SP2 before it was released, I suspect they would
have discovered it by now if there was a compatibility problem.
"""
I have to agree - the chances of something in msvcrt.dll
changing that we use is minute, especially since it seems to
work fine for other SP2 users.
Is this definitely reproducable? i.e. did you try several
times (including after restarting) with the original
msvcrt.dll? If it just happened once, then the 'fix' of
replacing the dll was probably not necessary.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1059170&group_id=61702
More information about the Spambayes-bugs
mailing list