Apache OpenOffice (AOO) Bugzilla – Issue 20272
ErrorReport of Windows build doesn't come up when soffice crashes
Last modified: 2006-03-14 21:02:56 UTC
Got a successful rc5 Windows build with configure switches --enable-crashdump --enable-symbols=SMALL but its ErrorReport doesn't come up when soffice is crashed by http://www.openoffice.org/issues/show_bug.cgi?id=19717 Build Environment: OS : Windows XP Professional SP1 Tool: Visual C++ 6.0 Enterprise Edition SP5 Microsoft Platform SDK : February 2003 shell : tcsh configure option: --with-lang=ENUS,JAPN --with-jdk-home=/cygdrive/c/progra~1/java/j2sdk1.4.1_04 --with-dict=ALL --with-use-shell=tcsh --with-mspdb-path=/cygdrive/c/progra~1/micros~4/common/msdev98/bin --with-ant-home=/usr/local/apache-ant-1.5.3-1 --enable-crashdump --enable-symbols=SMALL After installing this build, bootstrap.ini looks fine: -------------------------------------------------------- [Bootstrap] ProductKey=OpenOffice.org 1.1.0 Location=$SYSUSERCONFIG/sversion.ini Section=Versions BaseInstallation=$ORIGIN/.. UserInstallation=${$Location:$Section:$ProductKey} buildid=645(Build:8693) InstallMode=NETWORK ProductPatch= [ErrorReport] ErrorReportPort=80 ErrorReportServer=report.services.openoffice.org -------------------------------------------------------- winenv.set will be attached.
Created attachment 9755 [details] winenv.set
After the installation of this build, looking into /program, I found the following if compared with the recent official rc5 . 1) two files are missing: 487,424 2003/9/1 1:10 msvcp70.dll 344,064 2003/9/1 1:10 msvcr70.dll 2) different size of crashrep: this build: 16,452 2003/9/21 1:10 crashrep.com 53,324 2003/9/21 1:10 crashrep.exe official build: 5,632 2003/9/1 1:10 crashrep.com 241,664 2003/9/1 1:10 crashrep.exe
mh->hro: please have alook to it.
So far I've no idea what went wrong. Regarding the file sizes this looks like a broken build. Espacially the crashrep.exe is far to small. Perhaps the resources are missing or some changes where made to the build environment that only affect VC6 compiler. The official RC5 build was made with the VC .Net compiler.
Errm, I don't know if crashrep is supposed to work with MSVC6, but in configure (see snippet): dnl =================================================================== dnl Windows builds with .NET need msvcp70.dll/msvcr70.dll in external/msvcp70/ dnl =================================================================== if test "$_os" = "WINNT" -a "$COMEX" = "8"; then AC_MSG_CHECKING([msvcp70.dll]) if test -f ../external/msvcp70/msvcp70.dll -a -f ../external/msvcp70/msvcr70.dll; then AC_MSG_RESULT([found]) else AC_MSG_ERROR([msvcp70.dll and/or msvcr70.dll are/is missing in external/msvcp70/. These dlls are part of the .NET installation and can be found in a directory similar to: "c:\\Program Files\\Microsoft Visual Studio .NET\\Visual C++ .NET Professional - English\\" Please copy the files to external/msvcp70.]) fi fi I introduced the tests only for a .NET build. Did anyone ever try to use crashrep with a MSVC build? (I can provide a build (also with the dlls from .NET) in a MSVC build)
We don't and may not use the tool MSVC6 anymore. No problem with recent build tools and environments.
We use the .Net tool and we have no problem with building recent builds. Thanks.