Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Segfault when editing a .c file (using clang_complete)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
thomasg  
View profile  
 More options Oct 4 2012, 6:18 pm
From: thomasg <tho...@gstaedtner.net>
Date: Thu, 4 Oct 2012 15:18:35 -0700 (PDT)
Local: Thurs, Oct 4 2012 6:18 pm
Subject: [Bug] Segfault when editing a .c file (using clang_complete)

Hi everyone,

I'm not really sure if this is a bug in Vim directly because I'm using
some extension scripts which directly trigger it;
however, as Vim is segfaulting I assume the bug is is only triggered
and not directly caused by the scripts.

Environment:
- vim-7.3.646
- clang_complete plugin
- c-support (c.vim) plugin
- Vundle "script manager"

Scenario:
Vundle is active, above mentioned plugins are installed via vundle
(which works fine so far).
Opening a file ending on .c (which causes clang_complete and c-support
to kick in) results in a segfault:
Vim: Caught deadly signal SEGV
zsh: segmentation fault (core dumped)  LANG=C vim test.c

Workaround:
Disabling the option: g:clang_use_library makes the segfault go away,
which indicates that clang_complete is responsible for triggering the
bug.

I do not seem to be able to attach the files (google groups as well as its mailinglist interface fails silently while appearing to be successful), so you can get the needed report files here:
[1] http://gstaedtner.net/bugs/vim_segfault00-bugreport.txt
[2] http://gstaedtner.net/bugs/vim_segfault00-gdb_backtrace.txt

Please let me know if I can provide any more information, or in case I
should report the bug at the clang_complete bugtracker instead.

Thanks in advance,

--
~thomasg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Patrick Steinhardt  
View profile  
 More options Oct 5 2012, 4:06 am
From: Patrick Steinhardt <steinhardt....@gmail.com>
Date: Fri, 5 Oct 2012 10:06:43 +0200
Local: Fri, Oct 5 2012 4:06 am
Subject: Re: [Bug] Segfault when editing a .c file (using clang_complete)

Hi,

I had similar problems with clang_complete and editing C source files.
My solution has been to use a more up to date version of
clang_complete, as the version from vimscripts is not really up to
date at all. I am now using the Git version from [1], which fixed the
segfault.

Regards,
Patrick

[1] https://github.com/Rip-Rip/clang_complete

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thomasg  
View profile  
 More options Oct 15 2012, 4:01 pm
From: thomasg <tho...@gstaedtner.net>
Date: Mon, 15 Oct 2012 13:01:03 -0700 (PDT)
Local: Mon, Oct 15 2012 4:01 pm
Subject: Re: [Bug] Segfault when editing a .c file (using clang_complete)

Am Freitag, 5. Oktober 2012 10:06:43 UTC+2 schrieb Patrick Steinhardt:

Thanks for the reply Patrick.
In my case it actually is a too new version that causes this behavior which I tracked down via git bisect.
This also indicates that vim might not be at fault (though I first thought it should not segfault due to a failing plugin), but indeed clang_completes fault.
I guess this closes the matter here.

For reference: I filed a bug at clang_completes tracker: https://github.com/Rip-Rip/clang_complete/issues/202

-- thomasg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »