www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/02/23:32:04

Xref: news2.mv.net comp.os.msdos.djgpp:4481
From: s0183100 AT unix1 DOT cc DOT ysu DOT edu (DAAAAAAAAAN)
Newsgroups: comp.os.msdos.djgpp
Subject: Strange behavior with DLList's a.clear(), a.append(x)?
Date: 2 Jun 1996 13:37:30 -0400
Organization: Youngstown State/Youngstown Free-Net
Lines: 36
Message-ID: <4osjgq$1fi0@unix1.cc.ysu.edu>
NNTP-Posting-Host: unix1.cc.ysu.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


	Recently I just 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!



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019