From: George Foot Newsgroups: comp.os.msdos.djgpp Subject: Re: What dose this mean?? SIGSEGV.... Date: 16 Feb 1998 04:48:53 GMT Organization: Oxford University, England Lines: 37 Message-ID: <6c8gfl$2pk$1@news.ox.ac.uk> References: <34E4AB9E DOT 59EB4997 AT bigfoot DOT com> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Fri, 13 Feb 1998 15:22:55 -0500 in comp.os.msdos.djgpp s yoshida wrote: : I'm having trouble with with my program using Allegro and Grabber... : When I added 1 RLE Sprite into my DAT file, which was working fine b4 i : added this 1 file and saved.... : I didnt do anything to my code, but when i run the same program it now : says the following Did you recompile the program, or just rerun it? If you add an object to a datafile, it will change the order of objects in the file. If you reference them in your program by number (e.g. through the macros in the header file that the grabber creates) then your program will try to use the wrong datafile objects. If you're using the header file, you must recompile to let the changes the grabber made when you added the sprite take effect. : can ne1 tell me which part of my program is doing something wrong? or : those numbers above dont mean anything? The numbers do mean something -- they show where your program got to when it crashed. You should run symify while the crash information is still on the screen. Provided you didn't link with the `-s' switch, this will add the function names to the call frame traceback, which will help you to debug the problem. If you compiled your source files with the `-g' switch then you will get additional debugging information (filenames and line numbers). Under some circumstances though (yours looks like one of them) the call frame traceback will be incorrect or incomplete. This occurs if for example the stack gets corrupted. To debug this you need more sophisticated tools, such as gdb or RHGDB. -- george DOT foot AT merton DOT oxford DOT ac DOT uk ma tavla fo la lojban