[Mono-bugs] [Bug 590904] New: Autorotate causes double free

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 24 13:49:15 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=590904

http://bugzilla.novell.com/show_bug.cgi?id=590904#c0


           Summary: Autorotate causes double free
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: schooleybrent at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=350358)
 --> (http://bugzilla.novell.com/attachment.cgi?id=350358)
Project file

Description of Problem:
I have a simple project and when I set autorotate to true I see the following:
Presence1(17766,0xa093e500) malloc: *** error for object 0x20d0000: pointer
being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

I have attached the project for reference.

gdb backtrace:
(gdb) backtrace
#0  0x971e2072 in malloc_error_break ()
#1  0x970f1303 in free ()
#2  0x0085ce49 in dataReleaseInfo ()
#3  0x008481d9 in data_provider_finalize ()
#4  0x30204421 in _CFRelease ()
#5  0x00847fa2 in image_finalize ()
#6  0x30204421 in _CFRelease ()
#7  0x00712ded in CALayerStateRelease ()
#8  0x00718290 in -[CALayer dealloc] ()
#9  0x0070a00e in CALayerRelease ()
#10 0x0070b265 in CA::release_root_if_unused ()
#11 0x0070b1ef in x_hash_table_remove_if ()
#12 0x0070afd4 in CA::Transaction::commit ()
#13 0x007132e0 in CA::Transaction::observer_callback ()
#14 0x30245c32 in __CFRunLoopDoObservers ()
#15 0x3024503f in CFRunLoopRunSpecific ()
#16 0x30244628 in CFRunLoopRunInMode ()
#17 0x32044c31 in GSEventRunModal ()
#18 0x32044cf6 in GSEventRun ()
#19 0x309021ee in UIApplicationMain ()
#20 0x01b3e7b9 in ?? ()
#21 0x01b3e6f2 in ?? ()
#22 0x01b3e2dd in ?? ()
#23 0x01b3e219 in ?? ()
#24 0x01b3e274 in ?? ()
#25 0x0001244a in mono_jit_runtime_invoke (method=0x207c124, obj=0x0,
params=0xbfffeab8, exc=0x0) at ../../../../mono/mini/mini.c:4733
#26 0x001cc025 in mono_runtime_invoke (method=0x207c124, obj=0x0,
params=0xbfffeab8, exc=0x0) at ../../../../mono/metadata/object.c:2615
#27 0x001cdd7c in mono_runtime_exec_main (method=0x207c124, args=0x1be78b0,
exc=0x0) at ../../../../mono/metadata/object.c:3581
#28 0x001cd63d in mono_runtime_run_main (method=0x207c124, argc=0,
argv=0xbfffebd8, exc=0x0) at ../../../../mono/metadata/object.c:3355
#29 0x0009ba7f in mono_jit_exec (domain=0x18ece58, assembly=0x193dcb0, argc=1,
argv=0xbfffebd4) at ../../../../mono/mini/driver.c:1094
#30 0x00002da3 in main (argc=1, argv=0xbfffec24) at
/Users/brentschooley/Projects/Presence1/Presence1/bin/iPhoneSimulator/Debug/XcodeProject/main.m:2074

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list