I’m using the system vim (7.2) that comes with mac osx (currently 10.6.7). I’m doing rails development mainly with rails.vim.
Randomly, when I try to autocomplet a word using ctrl-n vim will segfault and exit. Any ideas what is causing this? Or any ideas on how I can start looking into what is causing this? I’m not able to get it to crash reliably but it’s fairly often.
Here’s a short clip of what shows in mac’s console app
Process: vim [34386]
Path: /usr/bin/vim
Identifier: vim
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: zsh [34284]
Date/Time: 2011-08-28 15:22:56.168 +0800
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000100500000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
*** error for object 0x1004fa928: incorrect checksum for freed object - object was probably modified after being freed.
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff832af5d6 __kill + 10
1 vim 0x0000000100119eb3 0x100000000 + 1154739
2 libSystem.B.dylib 0x00007fff832c166a _sigtramp + 26
3 libSystem.B.dylib 0x00007fff832af5d6 __kill + 10
4 libSystem.B.dylib 0x00007fff8334fcd6 abort + 83
5 libSystem.B.dylib 0x00007fff8333e90d szone_error + 519
6 libSystem.B.dylib 0x00007fff83265d2b tiny_malloc_from_free_list + 144
7 libSystem.B.dylib 0x00007fff83264fdd szone_malloc_should_clear + 242
8 libSystem.B.dylib 0x00007fff83264eaa malloc_zone_malloc + 82
9 libSystem.B.dylib 0x00007fff832631a8 malloc + 44
10 vim 0x0000000100099826 0x100000000 + 628774
Time to
collect system information
ldd $(which vim)uname -aget a coredump (on linux, you might need to do
ulimit -c unlimited)aternatively, run vim in the debugger
.
(think of other things to monitor)
When receiving a breakpoint/signal:
Send relevant output to the vim bugs list (do
:he bugsin vim for detailed steps).