Mail Archives: djgpp/1996/06/03/12:21:35
Xref: | news2.mv.net comp.os.msdos.djgpp:4519
|
From: | leif AT b63247 DOT STUDENT DOT CWRU DOT Edu (Rillifane Rallathil)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Strange behavior of DLList's a.clear(), a.append(x)?
|
Date: | 2 Jun 1996 21:56:34 GMT
|
Organization: | Case Western Reserve University, Cleveland OH (USA)
|
Lines: | 36
|
Message-ID: | <4ot2mj$260@madeline.INS.CWRU.Edu>
|
NNTP-Posting-Host: | b63247.student.cwru.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Recently I put DLLists (DLList.h) in a program. Everything was
fine, until I went to clear a series of lists and then append to them again.
At seemingly random times, in the process of appending to a previously
cleared lists, the program will crash with the error:
(Note... the program crashes while a list is being appended to, ONLY after
it clears the lists. It does not crash if I don't attempt to previously
clear any lists with either a.clear() or a loop of a.del_after(Pix i).)
Exiting due to signal SIGSEGV
General Protection Fault at eip=0001c738
eax=0000000c ebx=00000001 ecx=fffffffc edx=41442e31 esi=0000000c edi=00000001
ebp=0008093c esp=00080934 cs=00a7 ds=00af es=00af fs=008f gs=00bf ss=00af
Call frame traceback EIPs:
0x0001c738
0x0001b3be
0x0000bef9
0x0001ad8f
0x0000977e
0x0000e260
0x0000e182
0x00002d9d
0x0000bd31
0x0001bcdf
Anyone have any ideas what might be the problem here?
Thanks!
Leif
- Raw text -