Loading ...
Sorry, an error occurred while loading the content.
 

Issue 135 in vim: Segfault when using omnicppcomplete/clang_complete

Expand Messages
  • vim@...
    Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 135 by adam900...@gmail.com: Segfault when using omnicppcomplete/clang_complete
    Message 1 of 4 , May 22, 2013
      Status: New
      Owner: ----
      Labels: Type-Defect Priority-Medium

      New issue 135 by adam900...@...: 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 vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • vim@...
      Comment #1 on issue 135 by chrisbr...@googlemail.com: Segfault when using omnicppcomplete/clang_complete https://code.google.com/p/vim/issues/detail?id=135 Is
      Message 2 of 4 , Oct 9, 2014
        Comment #1 on issue 135 by chrisbr...@...: Segfault when using
        omnicppcomplete/clang_complete
        https://code.google.com/p/vim/issues/detail?id=135

        Is this still reproducable? Can you post an example file? Thanks.

        --
        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 vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/d/optout.
      • vim@...
        Comment #2 on issue 135 by adam900...@gmail.com: Segfault when using omnicppcomplete/clang_complete https://code.google.com/p/vim/issues/detail?id=135 Sorry
        Message 3 of 4 , Oct 18, 2014
          Comment #2 on issue 135 by adam900...@...: Segfault when using
          omnicppcomplete/clang_complete
          https://code.google.com/p/vim/issues/detail?id=135

          Sorry for the late reply.
          At the latest version, the segfault is already fixed.

          Thanks.

          2014-10-10 5:22 GMT+08:00 <vim@...>:

          --
          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 vim_dev+unsubscribe@....
          For more options, visit https://groups.google.com/d/optout.
        • vim@...
          Updates: Status: Fixed Comment #3 on issue 135 by chrisbr...@googlemail.com: Segfault when using omnicppcomplete/clang_complete
          Message 4 of 4 , Oct 21, 2014
            Updates:
            Status: Fixed

            Comment #3 on issue 135 by chrisbr...@...: Segfault when using
            omnicppcomplete/clang_complete
            https://code.google.com/p/vim/issues/detail?id=135

            Fixed somehow ;)

            --
            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 vim_dev+unsubscribe@....
            For more options, visit https://groups.google.com/d/optout.
          Your message has been successfully submitted and would be delivered to recipients shortly.