From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: RHIDE blew up on big project! Date: 5 Mar 1997 04:44:21 GMT Organization: The National Capital FreeNet Lines: 268 Message-ID: <5fitn5$bep@freenet-news.carleton.ca> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet3.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I decided to break a 6000-line source file into a bunch of smaller modules based on the sorts of functions being performed. This lead to about fifteen .c files and twenty .h files all open in the RHIDE editor. It showed no distress at the number of open edit windows. It even closed normally when I chose Save all and Exit. But, when I reran the project file...kaboom! RHIDE caused a gpf of some sort in dpmi. Then I ran: redir -e err.txt rhide -d myproject.gpr The output is as follows, complete with the stack trace for you to symify. using d:/temp/RHwaaaaa as temp directory clearing the FindCache checking file time for 'c:/djgpp/mushroom/mqlplay.c' found 'c:/djgpp/mushroom/mqlplay.c' on desktop, time: 3319f86e checking file time for 'c:/djgpp/mushroom/mqpstruc.h' found 'c:/djgpp/mushroom/mqpstruc.h' on desktop, time: 3319f614 checking file time for 'c:/djgpp/mushroom/mqmessag.h' found 'c:/djgpp/mushroom/mqmessag.h' on desktop, time: 3319db0c checking file time for 'c:/djgpp/mushroom/mqmessag.c' found 'c:/djgpp/mushroom/mqmessag.c' on desktop, time: 3319db04 checking file time for 'c:/djgpp/mushroom/mqfixed.h' found 'c:/djgpp/mushroom/mqfixed.h' on desktop, time: 3319d670 checking file time for 'c:/djgpp/mushroom/mqinit.h' found 'c:/djgpp/mushroom/mqinit.h' on desktop, time: 3319d3b6 checking file time for 'c:/djgpp/mushroom/mqinit.c' found 'c:/djgpp/mushroom/mqinit.c' on desktop, time: 3319e68c checking file time for 'c:/djgpp/mushroom/mqtiming.h' found 'c:/djgpp/mushroom/mqtiming.h' on desktop, time: 3319daa8 checking file time for 'c:/djgpp/mushroom/mqtiming.c' found 'c:/djgpp/mushroom/mqtiming.c' on desktop, time: 3319e378 checking file time for 'c:/djgpp/mushroom/mqutils.h' found 'c:/djgpp/mushroom/mqutils.h' on desktop, time: 3319e4a4 checking file time for 'c:/djgpp/mushroom/mqutils.c' found 'c:/djgpp/mushroom/mqutils.c' on desktop, time: 3319e4fc checking file time for 'c:/djgpp/mushroom/mqsound.h' found 'c:/djgpp/mushroom/mqsound.h' on desktop, time: 3319dd66 checking file time for 'c:/djgpp/mushroom/mqsound.c' found 'c:/djgpp/mushroom/mqsound.c' on desktop, time: 3319de72 checking file time for 'c:/djgpp/mushroom/mqlphase.h' found 'c:/djgpp/mushroom/mqlphase.h' on desktop, time: 3319e0e0 checking file time for 'c:/djgpp/mushroom/mqpower.h' found 'c:/djgpp/mushroom/mqpower.h' on desktop, time: 3319e460 checking file time for 'c:/djgpp/mushroom/mqsprmap.h' found 'c:/djgpp/mushroom/mqsprmap.h' on desktop, time: 3319e018 checking file time for 'c:/djgpp/mushroom/mqsprlev.h' found 'c:/djgpp/mushroom/mqsprlev.h' on desktop, time: 3319e0c4 checking file time for 'c:/djgpp/mushroom/mqsystem.h' found 'c:/djgpp/mushroom/mqsystem.h' on desktop, time: 3319d4e4 checking file time for 'c:/djgpp/mushroom/mqdebug.h' found 'c:/djgpp/mushroom/mqdebug.h' on desktop, time: 3319ea46 checking file time for 'c:/djgpp/mushroom/mquest.c' found 'c:/djgpp/mushroom/mquest.c' on desktop, time: 3319f7a2 checking file time for 'c:/djgpp/allegro/allegro.txt' found 'c:/djgpp/allegro/allegro.txt' on desktop, time: 331c67b4 checking file time for 'c:/djgpp/allegro/allegro.h' found 'c:/djgpp/allegro/allegro.h' on desktop, time: 3310802c checking file time for 'c:/djgpp/mushroom/lsqtypes.txt' found 'c:/djgpp/mushroom/lsqtypes.txt' on desktop, time: 33147fb0 checking file time for 'c:/djgpp/mushroom/medit.c' found 'c:/djgpp/mushroom/medit.c' on desktop, time: 331541b2 checking file time for 'c:/djgpp/mushroom/objnames.txt' found 'c:/djgpp/mushroom/objnames.txt' on desktop, time: 3308c702 checking file time for 'c:/djgpp/mushroom/mutils2.h' found 'c:/djgpp/mushroom/mutils2.h' on desktop, time: 330d711e checking file time for 'c:/djgpp/mushroom/mutils.c' found 'c:/djgpp/mushroom/mutils.c' on desktop, time: 33147bec checking file time for 'c:/djgpp/mushroom/mstructs.h' found 'c:/djgpp/mushroom/mstructs.h' on desktop, time: 331843c4 checking file time for 'c:/djgpp/mushroom/mutils2.c' found 'c:/djgpp/mushroom/mutils2.c' on desktop, time: 33156a1c checking file time for 'c:/djgpp/mushroom/mutils.h' found 'c:/djgpp/mushroom/mutils.h' on desktop, time: 3315667c checking file time for 'c:/djgpp/mushroom/mpalette.h' found 'c:/djgpp/mushroom/mpalette.h' on desktop, time: 3319e1a0 checking file time for 'c:/djgpp/mushroom/mdata.h' found 'c:/djgpp/mushroom/mdata.h' on desktop, time: 3319e182 checking file time for 'c:/djgpp/mushroom/mdata.c' found 'c:/djgpp/mushroom/mdata.c' on desktop, time: 331869d6 checking file time for 'c:/djgpp/mushroom/ref.txt' found 'c:/djgpp/mushroom/ref.txt' on desktop, time: 3319c2e2 checking file time for 'c:/djgpp/mushroom/mqgamesp.h' found 'c:/djgpp/mushroom/mqgamesp.h' on desktop, time: 3319e358 checking file time for 'c:/djgpp/mushroom/mqdeflev.h' found 'c:/djgpp/mushroom/mqdeflev.h' on desktop, time: 3319efd0 checking file time for 'c:/djgpp/mushroom/mqstruct.h' found 'c:/djgpp/mushroom/mqstruct.h' on desktop, time: 3319d720 checking file time for 'c:/djgpp/mushroom/mqutlstr.h' found 'c:/djgpp/mushroom/mqutlstr.h' on desktop, time: 3319d89c checking file time for 'c:/djgpp/mushroom/mqgutils.h' found 'c:/djgpp/mushroom/mqgutils.h' on desktop, time: 3319f5ca checking file time for 'c:/djgpp/mushroom/mqgutils.c' found 'c:/djgpp/mushroom/mqgutils.c' on desktop, time: 3319f64a checking file time for 'c:/djgpp/mushroom/mqgstruct.h' found 'c:/djgpp/mushroom/mqgstruct.h' on desktop, time: 3319e63a checking file time for 'c:/djgpp/mushroom/mqgplay.h' found 'c:/djgpp/mushroom/mqgplay.h' on desktop, time: 3319d9f8 checking file time for 'c:/djgpp/mushroom/mqgplay.c' found 'c:/djgpp/mushroom/mqgplay.c' on desktop, time: 3319f11c checking file time for 'c:/djgpp/mushroom/mqfps.h' found 'c:/djgpp/mushroom/mqfps.h' on desktop, time: 3319f848 checking file time for 'c:/djgpp/mushroom/mqfps.c' found 'c:/djgpp/mushroom/mqfps.c' on desktop, time: 3319f816 checking file time for 'c:/djgpp/mushroom/mqlgraph.h' found 'c:/djgpp/mushroom/mqlgraph.h' on desktop, time: 3319ee88 checking file time for 'c:/djgpp/mushroom/mqlgraph.c' found 'c:/djgpp/mushroom/mqlgraph.c' on desktop, time: 3319eeba checking file time for 'c:/djgpp/mushroom/mqthstr.h' found 'c:/djgpp/mushroom/mqthstr.h' on desktop, time: 3319ec84 checking file time for 'c:/djgpp/mushroom/mqthings.h' found 'c:/djgpp/mushroom/mqthings.h' on desktop, time: 3319eefe checking file time for 'c:/djgpp/mushroom/mqthings.c' found 'c:/djgpp/mushroom/mqthings.c' on desktop, time: 3319f184 checking file time for 'c:/djgpp/mushroom/mqlplay.h' found 'c:/djgpp/mushroom/mqlplay.h' on desktop, time: 3319cd78 This is a bug report for RHIDE Version 1.1b (Feb 14 1997 01:01:01) I am running MS-DOS 7.0 Important environment variables: PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;D:\PGD\TESTAREA\UUWORKS;C:\DJGPP\BIN;C:\DJGPP\PGD\UTILS;C:\MORAY;C:\MORAY\UTILS;D:\AURORA;D:\STEXPRES;C:\WINDEU DJGPP=C:\DJGPP\DJGPP.ENV LFN=n INFOPATH=c:/djgpp/info;c:/djgpp/gnu/emacs/info SHELL= COMSPEC=C:\COMMAND.COM DJSYSFLAGS= My problem is the following: ============================ RHIDE internal error. Please send a description of this situation as most as possible detailed to the author together with the version you are using. AND VERY IMPORTANT IS THE NEXT TRACEBACK!!!! Exiting due to signal SIGABRT Division by Zero at eip=0000c90c eax=000000c8 ebx=001980d0 ecx=00000000 edx=00000000 esi=00155d28 edi=001639cf ebp=00155cb0 esp=00155c8c program=C:\DJGPP\BIN/rhide.exe cs: sel=00e7 base=10060000 limit=003dffff ds: sel=00ef base=10060000 limit=003dffff es: sel=00ef base=10060000 limit=003dffff fs: sel=00ff base=00000000 limit=ffffffff gs: sel=00ff base=00000000 limit=ffffffff ss: sel=00ef base=10060000 limit=003dffff Call frame traceback EIPs: 0x0000c90c 0x000a3440 0x000a3935 0x00014b79 0x00015fdd 0x0000ca1a 0x000c2722 I then used the "bug report" command, using a clean launch without a project file: This is a bug report for RHIDE Version 1.1b (Feb 14 1997 01:01:01) I am running MS-DOS 7.0 Important environment variables: PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;D:\PGD\TESTAREA\UUWORKS;C:\DJGPP\BIN;C:\DJGPP\PGD\UTILS;C:\MORAY;C:\MORAY\UTILS;D:\AURORA;D:\STEXPRES;C:\WINDEU DJGPP=C:\DJGPP\DJGPP.ENV LFN=n INFOPATH=c:/djgpp/info;c:/djgpp/gnu/emacs/info SHELL= COMSPEC=C:\COMMAND.COM DJSYSFLAGS= Here is the output from a sample compilation and link for C Reading specs from c:/djgpp/lib\specs gcc version 2.7.2.1 c:/djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 - d:/temp/RHxaaaaa\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/include c:/djgpp/contrib/grx20/include c:/djgpp/allegro /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. c:/djgpp/bin\cc1.exe d:/temp/RHxaaaaa\ccbaaaaa -quiet -dumpbase -.c -version -o d:/temp/RHxaaaaa\cccaaaaa GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1. c:/djgpp/bin\as.exe -o d:/temp/RHxaaaaa\ccdaaaaa d:/temp/RHxaaaaa\cccaaaaa c:/djgpp/bin\ld.exe -o /dev/null c:/djgpp/lib\crt0.o -Lc:/djgpp/lib -Lc:/djgpp/contrib/grx20/lib d:/temp/RHxaaaaa\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc c:/djgpp/bin\stubify.exe -v /dev/null Warning: input file is not COFF or stubbed COFF .exe: No such file or directory (ENOENT) stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie End of the sample Here is the output from a sample compilation and link for C++ Reading specs from c:/djgpp/lib\specs gcc version 2.7.2.1 c:/djgpp/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 - d:/temp/RHxaaaaa\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/lang/cxx c:/djgpp/include c:/djgpp/contrib/grx20/include /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. c:/djgpp/bin\cc1plus.exe d:/temp/RHxaaaaa\ccbaaaaa -quiet -dumpbase -.cc -version -o d:/temp/RHxaaaaa\cccaaaaa GNU C++ version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1. c:/djgpp/bin\as.exe -o d:/temp/RHxaaaaa\ccdaaaaa d:/temp/RHxaaaaa\cccaaaaa c:/djgpp/bin\ld.exe -o /dev/null c:/djgpp/lib\crt0.o -Lc:/djgpp/lib -Lc:/djgpp/contrib/grx20/lib d:/temp/RHxaaaaa\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc c:/djgpp/bin\stubify.exe -v /dev/null Warning: input file is not COFF or stubbed COFF .exe: No such file or directory (ENOENT) stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie End of the sample My problem is the following: ============================ Crash on startup when run using "rhide mquest" for a project "mquest" with a rather large number of files open. BTW, the bugreport wound up screwy on my disk. I think maybe the carriage-returns were missing. Did you use binary instead of text mode for file output? Binary doesn't automatically convert line end characters for the platform, since binary files depend on not being tampered with that way. Also, is it normal for the sample compiles there to generate those warning and error messages from stubify? -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh