EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Anybody know what this error is? (https://www.eqemulator.org/forums/showthread.php?t=5273)

DeletedUser 02-16-2003 04:33 PM

Anybody know what this error is?
 
If i'm reading this right, it's a new call asking for 2188 bytes of memory to be alloced. I just dont see how or why it would crash.

Code:

State Dump for Thread Id 0x5a4

eax=00034b30 ebx=00bd0000 ecx=0012fba8 edx=00000200 esi=00bd9000 edi=00ba44d0
eip=77fcb89a esp=0012fb70 ebp=0012fb7c iopl=0        nv up ei ng nz na pe cy
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000            efl=00000283


function: <nosymbols>
        77fcb883 56              push    esi
        77fcb884 8b750c          mov    esi,[ebp+0xc]          ss:0094d14e=????????
        77fcb887 8b5d08          mov    ebx,[ebp+0x8]          ss:0094d14e=????????
        77fcb88a 57              push    edi
        77fcb88b 8bfe            mov    edi,esi
        77fcb88d 0fb74602        movzx  eax,word ptr [esi+0x2]    ds:013f65d3=2a00
        77fcb891 c1e003          shl    eax,0x3
        77fcb894 2bf8            sub    edi,eax
        77fcb896 3bfe            cmp    edi,esi
        77fcb898 740a            jz      _except_list+0xaea4 (77fdaea4)
FAULT ->77fcb89a f6470501        test    byte ptr [edi+0x5],0x1      ds:013c1aa2=00
        77fcb89e 0f84db000000    je      RtlDeleteRange+0x103 (77fcb97f)
        77fcb8a4 f6460510        test    byte ptr [esi+0x5],0x10      ds:013f65d2=00
        77fcb8a8 750f            jnz    _except_list+0x43b9 (77fd43b9)
        77fcb8aa 8b4510          mov    eax,[ebp+0x10]        ss:0094d14e=????????
        77fcb8ad 8b00            mov    eax,[eax]              ds:00034b30=????????
        77fcb8af f644c60501      test    byte ptr [esi+eax*8+0x5],0x1 ds:00852103=00
        77fcb8b4 8d3cc6          lea    edi,[esi+eax*8]        ds:00034b30=????????
        77fcb8b7 7409            jz      _except_list+0x43c2 (77fd43c2)
        77fcb8b9 8bc6            mov    eax,esi
        77fcb8bb 5f              pop    edi
        77fcb8bc 5e              pop    esi

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0012FB7C 77FCBD67 00BD0000 00BD9000 0012FBA8 00000000 ntdll!RtlDeleteRange (FPO: Non-FPO [6,3,3])
0012FBB0 77FCBBB3 00BD0000 00000898 00000000 00000000 ntdll!RtlpIsRangeAvailable (FPO: Non-FPO [11,1,2])
0012FD58 004C586A 00BD0000 00000000 00000890 00000000 ntdll!RtlpCopyRangeListEntry (FPO: Non-FPO [1,3,3])
0012FD94 004C5761 0000088C 004C36F3 0000088C 00000001 !_heap_alloc
0012FD9C 004C36F3 0000088C 00000001 00473318 0000088C !_nh_malloc  (FPO: [2,0,0])
0012FDA8 00473318 0000088C 02A84440 02A49500 02A84440 !operator new  (FPO: [1,0,0])
0012FDE0 0048B2B5 00650043 025F0008 00610072 0020006C !Spawn2::Process
0012FE7C 0045B51F 00000001 00000001 02A81948 00000000 !Zone::Process
0012FF80 004C6434 00000005 00BD2730 00BD2788 00000000 !main
0012FFC0 77EA847C 00000000 00000000 7FFDF000 C0000005 !mainCRTStartup
0012FFF0 00000000 004C636F 00000000 000000C8 00000100 kernel32!LocalReAlloc (FPO: Non-FPO [3,13,3])

*----> Raw Stack Dump <----*
0012fb70  00 00 bd 00 01 00 00 00 - 00 01 00 00 b0 fb 12 00  ................
0012fb80  67 bd fc 77 00 00 bd 00 - 00 90 bd 00 a8 fb 12 00  g..w............
0012fb90  00 00 00 00 00 00 bd 00 - 78 01 bd 00 13 01 00 00  ........x.......
0012fba0  00 00 bd 00 40 01 bd 00 - 00 02 00 00 40 06 bd 00  ....@.......@...
0012fbb0  58 fd 12 00 b3 bb fc 77 - 00 00 bd 00 98 08 00 00  X......w........
0012fbc0  00 00 00 00 00 00 00 00 - 00 f0 fd 7f 01 00 00 00  ................
0012fbd0  38 02 bd 00 38 02 bd 00 - cc 44 a8 02 1e 00 00 00  8...8....D......
0012fbe0  c0 bd 4e 00 cc 44 a8 02 - 07 00 00 00 88 86 ad 02  ..N..D..........
0012fbf0  88 86 ad 02 38 de 5d 02 - 38 de 5d 02 08 02 bd 00  ....8.].8.].....
0012fc00  08 02 bd 00 02 00 00 00 - 04 00 00 00 08 02 bd 00  ................
0012fc10  02 00 00 00 20 00 00 00 - 20 02 bd 00 20 02 bd 00  .... ... ... ...
0012fc20  70 c5 50 00 00 00 00 00 - 03 00 00 00 00 00 00 00  p.P.............
0012fc30  00 00 00 00 00 00 00 01 - 58 4e a8 02 b0 e2 a3 02  ........XN......
0012fc40  00 00 bd 00 15 00 00 00 - 48 4e a8 02 40 4f a8 02  ........HN..@O..
0012fc50  5c 01 bd 00 00 44 a8 02 - 03 00 00 00 98 fc 12 00  \....D..........
0012fc60  00 2b f8 77 00 00 00 01 - 58 4f a8 02 a8 fc 12 00  .+.w....XO......
0012fc70  38 02 bd 00 40 4f a8 02 - 48 4f a8 02 18 00 00 00  8...@O..HO......
0012fc80  00 00 00 00 28 d9 56 00 - 00 00 bd 00 12 00 00 00  ....(.V.........
0012fc90  95 2b f8 77 58 4f a8 02 - 5c 01 bd 00 00 fc 12 00  .+.wXO..\.......
0012fca0  03 00 00 00 00 00 bd 00 - 00 00 00 00 00 00 20 00  .............. .


JP 02-16-2003 11:58 PM

OK, I know nearly nothing about Win32 dev but....


My feeling is a copy constructor bummed out . Are you using a placement new?

Or are you doing a shallow copy when you should be deep? that might explain the range errors in heap_alloc.

Definately a constructor crash though. I've seen this stuff when trying to be to clever with templated constructors doing copies on containers.

BTW, I have some code nearly ready for you Quagmire. Can you send me an email address, as I'm not sure what you'll think of it. And you'll have to check it for win32, which I havent coded on for over 5 years lol.

JP

JP 02-17-2003 12:06 AM

Oh, and has another thread put something at 0x00ba44d5 ?


All times are GMT -4. The time now is 12:14 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.