Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Xaser

Hacx 2.0 PNG Sprite Crash

Recommended Posts

I mistakenly included a .png image in my sprite directory and fired it up with EE only to be greeted by this:

eternity caused an Access Violation Exception (0xc0000005)
in module eternity.exe at 0023:004b7e61.

Error occurred at 1/22/2012 21:42:22.
D:\Games\Doom\Engines\Eternity\eternity.exe, run by Xaser.
Operating system: 6.1.7601
8 processors, type 586.
17% memory in use.
0 MB physical memory.
0 MB physical memory free.
0 MB page file.
0 MB paging file free.
2048 MB user address space.
1848 MB user address space free.
Access violation at 0a207000. The memory could not be read.

Context:
EDI:    0x00000526  ESI: 0x0a207000  EAX:   0x0a205b60
EBX:    0x00000090  ECX: 0x00000000  EDX:   0x00005089
EIP:    0x004b7e61  EBP: 0x0a205b60  SegCs: 0x00000023
EFlags: 0x00210293  ESP: 0x0018fe88  SegSs: 0x0000002b

Bytes at CS:EIP:
8b 0e 8b d1 c1 fa 18 0f b6 d2 8b d9 c1 fb 10 c1 

Stack:
0x0018fe88: 0055404c 03426a90 000009d2 004baeb5 L@U..jB.......K.
0x0018fe98: 0a205b60 00000b38 00000008 015a2720 `[ .8....... 'Z.
0x0018fea8: 000009d2 004bafb6 000009d2 00000000 ......K.........
0x0018feb8: 000012d8 6de0ec4b 00000000 0000007b ....K..m....{...
0x0018fec8: 00495b6e 015a2720 000009d2 0055404c n[I. 'Z.....L@U.
0x0018fed8: 0050be6c 00000000 00000000 004961f9 l.P..........aI.
0x0018fee8: 0041b76e 015ae414 00000001 0018ff44 n.A...Z.....D...
0x0018fef8: 00000000 00fffffe 00000000 004ea808 ..............N.
0x0018ff08: 0050c1b8 0050c1c4 00000000 0041be05 ..P...P.......A.
0x0018ff18: 004aced5 004b1fd8 015ae414 00000001 ..J...K...Z.....
0x0018ff28: 00000000 0018ff20 0018f8e0 0018ff78 .... .......x...
0x0018ff38: 004eb300 00527910 00000000 0018ff88 ..N..yR.........
0x0018ff48: 004eaa9e 00000003 002a2d20 002a1b20 ..N..... -*. .*.
0x0018ff58: 756f76df 00000000 00000000 7efde000 .vou...........~
0x0018ff68: 00000000 00000000 0018ff58 77f0aff6 ........X......w
0x0018ff78: 0018ffc4 004eac6d 7525e6c7 00000000 ....m.N...%u....
0x0018ff88: 0018ff94 76a2339a 7efde000 0018ffd4 .....3.v...~....
0x0018ff98: 77619ef2 7efde000 7692d4e0 00000000 ..aw...~...v....
0x0018ffa8: 00000000 7efde000 00000000 00000000 .......~........
0x0018ffb8: 00000000 0018ffa0 00000000 ffffffff ................
0x0018ffc8: 776571d5 01eaee04 00000000 0018ffec .qew............
0x0018ffd8: 77619ec5 015d6bb0 7efde000 00000000 ..aw.k]....~....
0x0018ffe8: 00000000 00000000 00000000 015d6bb0 .............k].
0x0018fff8: 7efde000 00000000                   ...~....


===== [end of CRASHLOG.TXT] =====
This is a clear "Don't do that!" but a flat-out crash isn't a good thing in either case. Had me running around in circles for a bit before I found the actual problem.

Share this post


Link to post

Flat-out crash will be the only response from this sort of problem until Eternity gets format discrimination code like ZDoom has.

Patches are the only format allowed currently. Linears can be converted to patches, but only when they start out as flats - you cannot provide a linear in place of a patch currently.

PNGs are not allowed anywhere inside the renderer, currently. EE does link with and use libpng now, but it's a hell of a lot more work to do before the renderer will ever be able to deal with them.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×