weimingtom / nekonme

Automatically exported from code.google.com/p/nekonme
0 stars 0 forks source link

SDL_RWFromFP crash #291

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 3.5.3, 3.5.4 (doesn't repro on 3.4.4)

What is the expected output?
no crash when playing sound.

What do you see instead?
mzzl(58598,0xacd292c0) malloc: *** error for object 0x63d350: pointer
being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

see gdb
> gdb
Program received signal SIGABRT, Aborted.
0x995409c6 in __pthread_kill ()
(gdb) wher
#0  0x995409c6 in __pthread_kill ()
#1  0x987cbf78 in pthread_kill ()
#2  0x987bcbdd in abort ()
#3  0x9881ee61 in free ()
#4  0x012f4a37 in SDL_RWFromFP ()
#5  0x012c5dd7 in Mix_LoadWAV_RW ()
#6  0x01236da4 in nme_gl_get_tex_parameter__2 ()
#7  0x01236017 in nme_gl_get_tex_parameter__2 ()
#8  0x0114c2fe in nme_sound_from_file__2 ()
#9  0x0039706f in hx_cffi ()
#10 0x0003fee8 in start ()

What version of the product are you using? On what operating system?
2.10 haxe
10.7.5 mac os x
2.10.2 hxcpp
3.4.4 (works) / 3.5.3+3.5.4 (crashes) nme

Original issue reported on code.google.com by rao...@gmail.com on 30 Jan 2013 at 4:30