Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 135 by [email protected]: Segfault when using
omnicppcomplete/clang_complete
http://code.google.com/p/vim/issues/detail?id=135
What steps will reproduce the problem?
1. Use omnicppcomplete/clang_complete on a struct and C-n to skip to the
next serveral alternatives
What is the expected output? What do you see instead?
When using gdb to debug vim, vim crashed here:
------
#5 0x0000000000442bc7 in ptr2cells (p=0x2b <Address 0x2b out of bounds>)
at charset.c:764
764 if (enc_utf8 && *p >= 0x80)
(gdb) list
759 ptr2cells(p)
760 char_u *p;
761 {
762 #ifdef FEAT_MBYTE
763 /* For UTF-8 we need to look at more bytes if the first byte is >=
0x80. */
764 if (enc_utf8 && *p >= 0x80)
765 return utf_ptr2cells(p);
766 /* For DBCS we can tell the cell count from the first byte. */
767 #endif
768 return (chartab[*p] & CT_CELL_MASK);
------
What version of the product are you using? On what operating system?
Plase see the bugreport.txt
Using Arch and everything should be up-to-date.
Please provide any additional information below.
The output of my gdb and bugreport.txt
Since the rebuild my vim to add the debuginfo, the core file is not needed.
Since the same segfault happens using tag based omnicppcomplete or
clang_complete, the bug may not be in the plugins.
Attachments:
gdb.txt 4.5 KB
bugreport.txt 205 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.