Segfault when building tags for ocaml source tree

Bug #554898 reported by Michael Ekstrand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
exuberant-ctags (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: exuberant-ctags

I am running exuberant-ctags 1:5.8-1 from Karmic.

When I try to build tags for the OCaml source tree, etags and ctags both segfault.

To reproduce:

$ apt-get source ocaml
$ cd ocaml-3.11.1
$ ctags **/*.ml

Revision history for this message
Daniel Hahler (blueyed) wrote :

I believe this might be fixed in 5.9, which is not released yet though - from looking at the changelog there appear to be many ocaml fixes.

You may want to try ctags from my PPA, and if it fixes your problem provide feedback on bug 732860, which is about getting the upstream snapshot into Natty.

My PPA is at https://launchpad.net/~blueyed/+archive/ppa/+packages and you should be able to install the version I have uploaded for Lucid:

https://launchpad.net/~blueyed/+archive/ppa/+sourcepub/1546567/+listing-archive-extra

Changed in exuberant-ctags (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Daniel Hahler (blueyed) wrote :

Only now noticed your test case.

Works fine for me:

% asrc ocaml
apt-get source ocaml
[...]
Hole:1 http://ftp.debian.org/debian/ unstable/main ocaml 3.11.2-4 (dsc) [2.257 B]
[...]
% cd ocaml-3.11.2
% ctags -R
%

Changed in exuberant-ctags (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package exuberant-ctags - 1:5.9~svn20110310-1

---------------
exuberant-ctags (1:5.9~svn20110310-1) unstable; urgency=low

  * New upstream release snapshot (thanks, Daniel Hahler; LP: #732860).
    - Fix crash with comments inside strings in OCaml (LP: #554898).
  * Drop accepted patches:
    - debian/patches/make-match-loop.patch
    - debian/patches/php-ignore-keywords-in-comments.patch
  * For Python, disable -i so imports are not tagged by default (thanks,
    Barry Warsaw; LP: #618979).
  * Upstream uses AC_SYS_LARGEFILE now, so drop explicit
    -D_FILE_OFFSET_BITS=64 in debian/rules.
  * Fix infinite loop parsing vim commands, when a non-alphanumeric
    character other than whitespace or '-' is found before the first
    alphanumeric character after 'command' (LP: #736367).

exuberant-ctags (1:5.8-4) unstable; urgency=low

  * Apply patch from Ben Spencer to use memmove rather than strcpy on
    overlapping strings (closes: #594185).
 -- Colin Watson <email address hidden> Fri, 18 Mar 2011 10:27:01 +0000

Changed in exuberant-ctags (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.