http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=754
Summary: Slice tree corruption/crashes
Product: OHRRPGCE
Version: Nigtly WIP Builds (Ypsiliform)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P3
Component: Slices
AssignedTo: [email protected]
ReportedBy: [email protected]
Blocks: 683
A while back after I added sliceatpixel, Newbie Power, working on his tactical
RPG, reported a crash when using sliceatpixel. After gruelling investigation
with gdb, I eventually discovered that a slice's data was being scribbled over
by a routine deep inside ogg vorbis when a sound effect was played. I was
dismayed and gave up.
However, I just tried Valgrind, and discovered the real culprit:
==6419== Invalid read of size 4
==6419== at 0x8180A07: GETSLICEDRAWATTACHPARENT (slices.bas:1221)
==6419== by 0x818166C: REFRESHSLICESCREENPOS (slices.bas:1326)
==6419== by 0x811F6F9: SCRIPTMISC (yetmore.bas:2256)
==6419== by 0x806C2FE: main (game.bas:2131)
==6419== Address 0x60447f0 is 104 bytes inside a block of size 140 free'd
==6419== at 0x4025339: free (vg_replace_malloc.c:323)
==6419== by 0x81A7030: operator delete(void*) (in
/mnt/d/OHRRPGCE/SOURCE/CURRENT/wip/ohrrpgce-game)
==6419== by 0x8179717: DELETESLICE (slices.bas:236)
==6419== by 0x8179645: DELETESLICE (slices.bas:223)
==6419== by 0x8119832: SCRIPTMISC (yetmore.bas:1873)
==6419== by 0x806C2FE: main (game.bas:2131)
NP's scripts are huge and make extensive use of slices. I could forward the
version exhibiting the bug to you, James.
--
Configure bugmail:
http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org