From: "23yrold3yrold" Newsgroups: comp.os.msdos.djgpp Subject: DJGPP no like vectors? Date: Tue, 14 Nov 2000 22:27:46 -0600 Lines: 65 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 64.4.89.98 Message-ID: <3a120ffd_1@corp.newsfeeds.com> X-Trace: 14 Nov 2000 22:24:29 -0600, 64.4.89.98 X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Organization: Newsfeeds.com http://www.newsfeeds.com 80,000+ UNCENSORED Newsgroups. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. I'm having a problem with vectors in DJGPP (and Allegro). I'm making a vertical shooter, and just for fun, I've been pumping up how many enemies/bullets are on screen at once. All objects are stored in vectors of pointers to them. If the vectors get too large, the program crashes. I don't know if it helps, but I've included results of symify; the reason I'm asking this here is the presence of the dj_movedata error; this is a DJGPP thing, correct (same with new2.cc)? Also, if someone could tell me if there's anything further I can do with this mess of numbers (after symify) that might help too... Thank you for any help. Chris Shutting down Allegro Exiting due to signal SIGSEGV Page fault at eip=000759e5, error=0004 eax=fffffffe ebx=00170f14 ecx=fffd0f14 edx=fffffff8 esi=001a0000 edi=0019fffc ebp=ffdc2e40 esp=ffdc2e34 program=C:\CHRIS'~1\VERTIC~2\TRANSF~1.EXE cs: sel=00af base=83346000 limit=ffdf2fff ds: sel=00b7 base=83346000 limit=ffdf2fff es: sel=00b7 base=83346000 limit=ffdf2fff fs: sel=00c7 base=00000000 limit=0010ffff gs: sel=00c7 base=00000000 limit=0010ffff ss: sel=00b7 base=83346000 limit=ffdf2fff App stack: [ffdc3000..ffd43000] Exceptn stack: [000b3a54..000b1b14] Call frame traceback EIPs: 0x000759e5 ___dj_movedata+37 0x0000c5f3 ___copy_trivial__H1ZP7CBullet..+47, line 149 of TFAA.cpp 0x0000bf89 _copy__t15__copy_dispatch3ZPP..+29, line 169 of TFAA.cpp 0x0000af69 _copy__H2ZPP7CBulletZPP7CBull..+29, line 188 of TFAA.cpp 0x00009dfd _erase__t6vector2ZP7CBulletZt..+53, line 394 of TFAA.cpp 0x00006a24 _PlayGame__Fi+1660, line 747 of TFAA.cpp 0x00004471 _main+237, line 147 of TFAA.cpp 0x0006a882 ___crt1_startup+178 Here's another crash result....... Shutting down Allegro Exiting due to signal SIGSEGV Page fault at eip=0006b81f, error=0004 eax=ff6f6928 ebx=0019450c ecx=0019450c edx=ff7a2764 esi=001945dc edi=3fdbda4a ebp=ffdc2ea0 esp=ffdc2e94 program=C:\CHRIS'~1\VERTIC~2\TRANSF~1.EXE cs: sel=00af base=83346000 limit=ffdf2fff ds: sel=00b7 base=83346000 limit=ffdf2fff es: sel=00b7 base=83346000 limit=ffdf2fff fs: sel=00c7 base=00000000 limit=0010ffff gs: sel=00c7 base=00000000 limit=0010ffff ss: sel=00b7 base=83346000 limit=ffdf2fff App stack: [ffdc3000..ffd43000] Exceptn stack: [000b3a54..000b1b14] Call frame traceback EIPs: 0x0006b81f _free+119 0x00067de3 ___builtin_delete+23, line 0 of new2.cc 0x000028d5 __$_7CBullet+29, line 22 of TFAA.cpp 0x000069f1 _PlayGame__Fi+1609, line 746 of TFAA.cpp 0x00004471 _main+237, line 147 of TFAA.cpp 0x0006a882 ___crt1_startup+178 -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----