From: krispeters AT usa DOT net (Kris Peters) Newsgroups: comp.os.msdos.djgpp Subject: HELP: Looping error message - vjpeg.c (0/1) Date: Fri, 10 Oct 1997 20:00:19 GMT Organization: University of Saskatchewan Lines: 35 Message-ID: <343e879d.3314613@news.usask.ca> NNTP-Posting-Host: janus2-1.usask.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm trying to write my own jpeg file viewer using libjpeg, and allegro. It works good, but when it exits it gives the following message constantly: (IE It just keeps giving me the error message, and doesn't give me the dos prompt back.) NOTE: I've already symify'ed it. >Exiting due to signal SIGSEGV >General Protection Fault at eip=0002d082 >eax=37373737 ebx=00004000 ecx=0000000a edx=33334300 esi=37373737 edi=0002d02f >ebp=0006e020 esp=0006e014 program=C:\DJGPP\WORK\VJPEG.EXE >cs: sel=00a7 base=82639000 limit=0010ffff >ds: sel=00af base=82639000 limit=0010ffff >es: sel=00af base=82639000 limit=0010ffff >fs: sel=0087 base=00023260 limit=0000ffff >gs: sel=00bf base=00000000 limit=ffffffff >ss: sel=00af base=82639000 limit=0010ffff >Call frame traceback EIPs: > 0x0002d082 __put_path2+86 > 0x0002d02d __put_path2+1 > 0x0002cfcb __chmod+87 > 0x0002bcad _remove+61 > 0x00025ec3 _fclose+139 > 0x000298e8 ___stdio_cleanup_proc+76 > 0x0002cd99 _localeconv+9 > 0x000298c9 ___stdio_cleanup_proc+45 > 0x00024cce _exit+78 > 0x000271ef __exit+23 > 0x00027350 _free+8 My code is attached if you need it. Kris Peters aa416 AT sfn DOT saskatoon DOT sk DOT ca