This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 21358 - KeePass 2.27 crashes wenn KeePassHttp plugin requests database on OSX mavericks
: KeePass 2.27 crashes wenn KeePassHttp plugin requests database on OSX mavericks
Status: RESOLVED NOT_ON_ROADMAP
Product: Class Libraries
Classification: Mono
Component: Windows.Forms
: 3.4.0
: Macintosh Mac OS
: --- normal
: ---
Assigned To: Bugzilla
:
:
:
:
  Show dependency treegraph
 
Reported: 2014-07-16 03:14 EDT by fattoni1337
Modified: 2014-07-16 06:36 EDT (History)
2 users (show)

See Also:
Tags:
Test Case URL:
External Submit: ---


Attachments

Description fattoni1337 2014-07-16 03:14:01 EDT
The following stacktrace was recorded after I used Google Chrome with
Chromelpass to visit a site with a login form saved in keepass password manager
(keepass crashed and the debugger was automatically started).

Originally posted on keepass tracker:
http://sourceforge.net/p/keepass/bugs/1268

Versions: 
mono: 3.4.0
chrome: 36
mac osx: 10.9.3
keepass: 2.27

Please tell me if a can provide additional information or if this is the wrong
form to ask.. :-)

Thanks!

mono(414,0xa18e01a8) malloc: error for object 0x7d25c5c0: pointer being freed
was not allocated
set a breakpoint in malloc_error_break to debug
Stacktrace:

at <unknown> <0xffffffff>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUICarbon.ReceiveNextEvent
(uint,intptr,double,bool,intptr&) <0xffffffff>
at System.Windows.Forms.XplatUICarbon.GetMessage
(object,System.Windows.Forms.MSG&,intptr,int,int) <0x00077>
at System.Windows.Forms.XplatUI.GetMessage
(object,System.Windows.Forms.MSG&,intptr,int,int) <0x00026>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x00b2f>
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) <0x0004f>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00037>
at KeePass.Program.Main (string[]) <0x00b0f>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

0   mono                                0x0010b3c0 mono_handle_native_sigsegv +
304
1   mono                                0x00162f0d sigabrt_signal_handler + 109
2   libsystem_platform.dylib            0x940fedeb _sigtramp + 43
3   ???                                 0xffffffff 0x0 + 4294967295
4   libsystem_c.dylib                   0x9383529c abort + 155
5   libsystem_malloc.dylib              0x92bb8dab malloc_get_zone_name + 0
6   HIToolbox                           0x987d93ad RestoreQDDrawingState + 240
7   HIToolbox                           0x985eeeaf
_ZN6HIView23RecursiveDrawCompositedEPK9__HIShapeS2_mPS_P9CGContexthf + 833
8   HIToolbox                           0x985ef11a
_ZN6HIView23RecursiveDrawCompositedEPK9__HIShapeS2_mPS_P9CGContexthf + 1452
9   HIToolbox                           0x985ee364
_ZN6HIView14DrawCompositedEsP13OpaqueGrafPtrPK9__HIShapemPS_P9CGContext + 890
10  HIToolbox                           0x985edf9e
_ZN6HIView4DrawEsP13OpaqueGrafPtrm + 84
11  HIToolbox                           0x985edf43
_ZN6HIView6RenderEmP9CGContext + 45
12  HIToolbox                           0x98534d45
_ZL17FlushWindowObjectP10WindowDataPPvh + 851
13  HIToolbox                           0x9853f10b
_ZL15FlushAllBuffersP19__CFRunLoopObservermPv + 256
14  CoreFoundation                      0x9ad7c2be
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
15  CoreFoundation                      0x9ad7c20f __CFRunLoopDoObservers + 399
16  CoreFoundation                      0x9ad6c9d3 CFRunLoopRunSpecific + 371
17  CoreFoundation                      0x9ad6c84b CFRunLoopRunInMode + 123
18  HIToolbox                           0x98536b5d RunCurrentEventLoopInMode +
259
19  HIToolbox                           0x98536777 ReceiveNextEventCommon + 163
20  HIToolbox                           0x986d1936 ReceiveNextEventInMode + 75
21  HIToolbox                           0x986d199a ReceiveNextEvent + 72
22  ???                                 0x0053ceac 0x0 + 5492396
23  ???                                 0x0650f4a8 0x0 + 105968808
24  ???                                 0x070d5377 0x0 + 118313847
25  ???                                 0x05f46768 0x0 + 99903336
26  ???                                 0x05f45be0 0x0 + 99900384
27  ???                                 0x05f45948 0x0 + 99899720
28  ???                                 0x00532260 0x0 + 5448288
29  ???                                 0x005326b3 0x0 + 5449395
30  mono                                0x0006e3cc mono_jit_runtime_invoke +
828
31  mono                                0x0022af8e mono_runtime_invoke + 126
32  mono                                0x0022f558 mono_runtime_exec_main + 376
33  mono                                0x0022f8a5 mono_runtime_run_main + 725
34  mono                                0x000dbe05 mono_jit_exec + 149
35  mono                                0x000ddfb3 mono_main + 8611
36  mono                                0x000612be main + 558
37  mono                                0x00061085 start + 53
Debug info from gdb:

warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libgdiplus.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libglib-2.0.0.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libintl.8.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libcairo.2.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libpixman-1.0.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libtiff.5.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/liblzma.5.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libjpeg.8.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libgif.4.dylib empty dSYM
file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libfontconfig.1.dylib
empty dSYM file detected, dSYM was created with an executable with no debug
info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libfreetype.6.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libpng14.14.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
warning: (i386)
/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/libexpat.1.dylib empty
dSYM file detected, dSYM was created with an executable with no debug info.
Process 414 stopped
* thread #1: tid = 0x1556, 0x96e88fed libsystem_kernel.dylib__wait4 + 5, queue
= 'com.apple.main-thread', stop reason = signal SIGSTOP thread #2: tid =
0x1557, 0x96e83fb6 libsystem_kernel.dylibsemaphore_wait_trap + 10
thread #3: tid = 0x1558, 0x96e89992 libsystem_kernel.dylibkevent64 + 10, queue
= 'com.apple.libdispatch-manager' thread #4: tid = 0x157d, 0x96e88b76
libsystem_kernel.dylibsemwait_signal + 10
thread #5: tid = 0x1581, 0x96e88ace libsystem_kernel.dylib__select + 10 thread
#6: tid = 0x1582, 0x96e83fce libsystem_kernel.dylibsemaphore_timedwait_trap +
10
thread #7: tid = 0x1583, 0x96e887ca libsystem_kernel.dylib__psynch_cvwait + 10
thread #8: tid = 0x1584, 0x96e88b76 libsystem_kernel.dylibsemwait_signal + 10
thread #9: tid = 0x1585, 0x96e83fce
libsystem_kernel.dylibsemaphore_timedwait_trap + 10 thread #10: tid = 0x1591,
0x96e887ca libsystem_kernel.dylibpsynch_cvwait + 10
thread #11: tid = 0x167b, 0x96e83f7a libsystem_kernel.dylibmach_msg_trap + 10
thread #12: tid = 0x169f, 0x96e89046 libsystem_kernel.dylibworkq_kernreturn +
10
thread #13: tid = 0x172d, 0x96e83fce
libsystem_kernel.dylibsemaphore_timedwait_trap + 10 thread #14: tid = 0x1803,
0x96e89046 libsystem_kernel.dylibworkq_kernreturn + 10
(lldb) * thread #1: tid = 0x1556, 0x96e88fed libsystem_kernel.dylib__wait4 + 5,
queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0:
0x96e88fed libsystem_kernel.dylibwait4 + 5
frame #1: 0x93853ec5 libsystem_c.dylibwaitpid$UNIX2003 + 48 frame #2:
0x0010b479 monomono_handle_native_sigsegv + 489
frame #3: 0x00162f0d monosigabrt_signal_handler + 109 frame #4: 0x940fedeb
libsystem_platform.dylib_sigtramp + 43
thread #2: tid = 0x1557, 0x96e83fb6 libsystem_kernel.dylibsemaphore_wait_trap +
10 frame #0: 0x96e83fb6 libsystem_kernel.dylibsemaphore_wait_trap + 10
frame #1: 0x002ac52e monomono_sem_wait + 30 frame #2: 0x0022482a
monofinalizer_thread + 74
frame #3: 0x001fc4d4 monostart_wrapper + 468 frame #4: 0x002b14cd
monoinner_start_thread + 253
frame #5: 0x9c03b5fb libsystem_pthread.dylib_pthread_body + 144 frame #6:
0x9c03b485 libsystem_pthread.dylib_pthread_start + 130

thread #3: tid = 0x1558, 0x96e89992 libsystem_kernel.dylibkevent64 + 10, queue
= 'com.apple.libdispatch-manager' frame #0: 0x96e89992
libsystem_kernel.dylibkevent64 + 10
frame #1: 0x99503899 libdispatch.dylib_dispatch_mgr_invoke + 238 frame #2:
0x99503532 libdispatch.dylib_dispatch_mgr_thread + 52

thread #4: tid = 0x157d, 0x96e88b76 libsystem_kernel.dylib__semwait_signal + 10
frame #0: 0x96e88b76 libsystem_kernel.dylib__semwait_signal + 10
frame #1: 0x93853fb7 libsystem_c.dylibnanosleep$UNIX2003 + 219 frame #2:
0x002a0a4c monoSleepEx + 316
frame #3: 0x001ff191 monoves_icall_System_Threading_Thread_Sleep_internal + 97
frame #4: 0x0629a2c4 frame #5: 0x0629a168 frame #6: 0x06297bb4 frame #7:
0x06297660 frame #8: 0x0053d5ad frame #9: 0x0006e3cc
monomono_jit_runtime_invoke + 828
frame #10: 0x0022af8e monomono_runtime_invoke + 126 frame #11: 0x0022b0fc
monomono_runtime_delegate_invoke + 140
frame #12: 0x001fc500 monostart_wrapper + 512 frame #13: 0x002b14cd
monoinner_start_thread + 253
frame #14: 0x9c03b5fb libsystem_pthread.dylib_pthread_body + 144 frame #15:
0x9c03b485 libsystem_pthread.dylib_pthread_start + 130

thread #5: tid = 0x1581, 0x96e88ace libsystem_kernel.dylib__select + 10 frame
#0: 0x96e88ace libsystem_kernel.dylib__select + 10
frame #1: 0x002abeef monomono_poll + 463 frame #2: 0x00201038 monotp_poll_wait
+ 1400
frame #3: 0x001fc4d4 monostart_wrapper + 468 frame #4: 0x002b14cd
monoinner_start_thread + 253
frame #5: 0x9c03b5fb libsystem_pthread.dylib_pthread_body + 144 frame #6:
0x9c03b485 libsystem_pthread.dylib_pthread_start + 130
thread #6: tid = 0x1582, 0x96e83fce
libsystem_kernel.dylibsemaphore_timedwait_trap + 10 frame #0: 0x96e83fce
libsystem_kernel.dylibsemaphore_timedwait_trap + 10
frame #1: 0x002ac4b5 monomono_sem_timedwait + 261 frame #2: 0x00202b7e
monoasync_invoke_thread + 2990
frame #3: 0x001fc4d4 monostart_wrapper + 468 frame #4: 0x002b14cd
monoinner_start_thread + 253
frame #5: 0x9c03b5fb libsystem_pthread.dylib_pthread_body + 144 frame #6:
0x9c03b485 libsystem_pthread.dylib_pthread_start + 130

thread #7: tid = 0x1583, 0x96e887ca libsystem_kernel.dylib__psynch_cvwait + 10
frame #0: 0x96e887ca libsystem_kernel.dylib__psynch_cvwait + 10
frame #1: 0x9c03dd1d libsystem_pthread.dylib_pthread_cond_wait + 728 frame #2:
0x9c03fbd9 libsystem_pthread.dylibpthread_cond_wait$UNIX2003 + 71
frame #3: 0x0028b75c mono_wapi_handle_timedwait_signal_handle + 620 frame #4:
0x0028b7a8 mono_wapi_handle_wait_signal_handle + 40
frame #5: 0x0029e8d7 monoWaitForSingleObjectEx + 551 frame #6: 0x001fec5a
monomono_wait_uninterrupted + 122
frame #7: 0x001fed2d monoves_icall_System_Threading_WaitHandle_WaitOne_internal
+ 109 frame #8: 0x0644f000 frame #9: 0x0644e838 frame #10: 0x0644d974 frame
#11: 0x06297660 frame #12: 0x0053d5ad frame #13: 0x0006e3cc
monomono_jit_runtime_invoke + 828
frame #14: 0x0022af8e monomono_runtime_invoke + 126 frame #15: 0x0022b0fc
monomono_runtime_delegate_invoke + 140
frame #16: 0x001fc500 monostart_wrapper + 512 frame #17: 0x002b14cd
monoinner_start_thread + 253
frame #18: 0x9c03b5fb libsystem_pthread.dylib_pthread_body + 144 frame #19:
0x9c03b485 libsystem_pthread.dylib_pthread_start + 130

thread #8: tid = 0x1584, 0x96e88b76 libsystem_kernel.dylib__semwait_signal + 10
frame #0: 0x96e88b76 libsystem_kernel.dylib__semwait_signal + 10
frame #1: 0x93853fb7 libsystem_c.dylibnanosleep$UNIX2003 + 219 frame #2:
0x002a0a4c monoSleepEx + 316
frame #3: 0x002000d8 monomonitor_thread + 136 frame #4: 0x001fc4d4
monostart_wrapper + 468
frame #5: 0x002b14cd monoinner_start_thread + 253 frame #6: 0x9c03b5fb
libsystem_pthread.dylib_pthread_body + 144
frame #7: 0x9c03b485 libsystem_pthread.dylib_pthread_start + 130 thread #9: tid
= 0x1585, 0x96e83fce libsystem_kernel.dylibsemaphore_timedwait_trap + 10
frame #0: 0x96e83fce libsystem_kernel.dylibsemaphore_timedwait_trap + 10 frame
#1: 0x002ac4b5 monomono_sem_timedwait + 261
frame #2: 0x00202b7e monoasync_invoke_thread + 2990 frame #3: 0x001fc4d4
monostart_wrapper + 468
frame #4: 0x002b14cd monoinner_start_thread + 253 frame #5: 0x9c03b5fb
libsystem_pthread.dylib_pthread_body + 144
frame #6: 0x9c03b485 libsystem_pthread.dylib`_pthread_start + 130

thread #10: tid = 0x1591, 0x96e887ca libsystem_kernel.dylib__psynch_cvwait + 10
frame #0: 0x96e887ca libsystem_kernel.dylib__psynch_cvwait + 10
frame #1: 0x9c03dd1d libsystem_pthread.dylib_pthread_cond_wait + 728 frame #2:
0x9c03fc25 libsystem_pthread.dylibpthread_cond_timedwait$UNIX2003 + 71
frame #3: 0x0028b6f4 mono_wapi_handle_timedwait_signal_handle + 516 frame #4:
0x0029e8fa monoWaitForSingleObjectEx + 586
frame #5: 0x001fec5a monomono_wait_uninterrupted + 122 frame #6: 0x001fed2d
monoves_icall_System_Threading_WaitHandle_WaitOne_internal + 109
frame #7: 0x0644f000
frame #8: 0x070da578
frame #9: 0x070d9f49
frame #10: 0x070d97cc
frame #11: 0x06297660
frame #12: 0x0053d5ad
frame #13: 0x0006e3cc monomono_jit_runtime_invoke + 828 frame #14: 0x0022af8e
monomono_runtime_invoke + 126
frame #15: 0x0022b0fc monomono_runtime_delegate_invoke + 140 frame #16:
0x001fc500 monostart_wrapper + 512
frame #17: 0x002b14cd monoinner_start_thread + 253 frame #18: 0x9c03b5fb
libsystem_pthread.dylib_pthread_body + 144
frame #19: 0x9c03b485 libsystem_pthread.dylib`_pthread_start + 130

thread #11: tid = 0x167b, 0x96e83f7a libsystem_kernel.dylibmach_msg_trap + 10
frame #0: 0x96e83f7a libsystem_kernel.dylibmach_msg_trap + 10
frame #1: 0x96e8316c libsystem_kernel.dylibmach_msg + 68 frame #2: 0x9ad6dbf9
CoreFoundation__CFRunLoopServiceMachPort + 169
frame #3: 0x9ad6d1d1 CoreFoundation__CFRunLoopRun + 1393 frame #4: 0x9ad6c9ea
CoreFoundationCFRunLoopRunSpecific + 394
frame #5: 0x9ad6c84b CoreFoundationCFRunLoopRunInMode + 123 frame #6:
0x98536b5d HIToolboxRunCurrentEventLoopInMode + 259
frame #7: 0x985368e2 HIToolboxReceiveNextEventCommon + 526 frame #8: 0x986d1936
HIToolboxReceiveNextEventInMode + 75
frame #9: 0x986d199a HIToolboxReceiveNextEvent + 72 frame #10: 0x0053ceac frame
#11: 0x0650f638 frame #12: 0x070d5377 thread #9: tid = 0x1585, 0x96e83fce
libsystem_kernel.dylibsemaphore_timedwait_trap + 10
frame #0: 0x96e83fce libsystem_kernel.dylibsemaphore_timedwait_trap + 10 frame
#1: 0x002ac4b5 monomono_sem_timedwait + 261
frame #2: 0x00202b7e monoasync_invoke_thread + 2990 frame #3: 0x001fc4d4
monostart_wrapper + 468
frame #4: 0x002b14cd monoinner_start_thread + 253 frame #5: 0x9c03b5fb
libsystem_pthread.dylib_pthread_body + 144
frame #6: 0x9c03b485 libsystem_pthread.dylib`_pthread_start + 130

thread #10: tid = 0x1591, 0x96e887ca libsystem_kernel.dylib__psynch_cvwait + 10
frame #0: 0x96e887ca libsystem_kernel.dylib__psynch_cvwait + 10
frame #1: 0x9c03dd1d libsystem_pthread.dylib_pthread_cond_wait + 728 frame #2:
0x9c03fc25 libsystem_pthread.dylibpthread_cond_timedwait$UNIX2003 + 71
frame #3: 0x0028b6f4 mono_wapi_handle_timedwait_signal_handle + 516 frame #4:
0x0029e8fa monoWaitForSingleObjectEx + 586
frame #5: 0x001fec5a monomono_wait_uninterrupted + 122 frame #6: 0x001fed2d
monoves_icall_System_Threading_WaitHandle_WaitOne_internal + 109
frame #7: 0x0644f000
frame #8: 0x070da578
frame #9: 0x070d9f49
frame #10: 0x070d97cc
frame #11: 0x06297660
frame #12: 0x0053d5ad
frame #13: 0x0006e3cc monomono_jit_runtime_invoke + 828 frame #14: 0x0022af8e
monomono_runtime_invoke + 126
frame #15: 0x0022b0fc monomono_runtime_delegate_invoke + 140 frame #16:
0x001fc500 monostart_wrapper + 512
frame #17: 0x002b14cd monoinner_start_thread + 253 frame #18: 0x9c03b5fb
libsystem_pthread.dylib_pthread_body + 144
frame #19: 0x9c03b485 libsystem_pthread.dylib`_pthread_start + 130

thread #11: tid = 0x167b, 0x96e83f7a libsystem_kernel.dylibmach_msg_trap + 10
frame #0: 0x96e83f7a libsystem_kernel.dylibmach_msg_trap + 10
frame #1: 0x96e8316c libsystem_kernel.dylibmach_msg + 68 frame #2: 0x9ad6dbf9
CoreFoundation__CFRunLoopServiceMachPort + 169
frame #3: 0x9ad6d1d1 CoreFoundation__CFRunLoopRun + 1393 frame #4: 0x9ad6c9ea
CoreFoundationCFRunLoopRunSpecific + 394
frame #5: 0x9ad6c84b CoreFoundationCFRunLoopRunInMode + 123 frame #6:
0x98536b5d HIToolboxRunCurrentEventLoopInMode + 259
frame #7: 0x985368e2 HIToolboxReceiveNextEventCommon + 526 frame #8: 0x986d1936
HIToolboxReceiveNextEventInMode + 75
frame #9: 0x986d199a HIToolbox`ReceiveNextEvent + 72
frame #10: 0x0053ceac
frame #11: 0x0650f638
frame #12: 0x070d5377
Comment 1 Zoltan Varga 2014-07-16 06:36:02 EDT
KeePass depends on System.Windows.Forms, which is no longer supported by mono.

Note You need to log in before you can comment on or make changes to this bug.