highlight crashes by executing in a shell

Bug #105294 reported by David
4
Affects Status Importance Assigned to Milestone
highlight (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: highlight

just execute in the shell
highlight -L --ansi foo.h

Revision history for this message
David (dtschaefer) wrote :
Revision history for this message
David (dtschaefer) wrote :

If you instead would pipe the output into a file it works.
highlight -L -f foo.h > foo.tex

Revision history for this message
Micah Cowan (micahcowan) wrote :

Hi, and thanks for taking the time to submit this bug report.

Confirmed on edgy, highlight-2.4.5-1. Note that your second example isn't equivalent to the first example. I can't get "highlight -L --ansi /usr/include/stdio.h" to "work", output to a file or no. The key seems to be the --ansi option, which reliably segfaults. (Note that combining -L with --ansi is a meaningless combination; --ansi will override -L).

I have confirmed that it seems to work fine in feisty, with highlight-2.4.8-1, and also in dapper, with highlight-2.4.2-1. It seems that this might qualify for an SRU to edgy from feisty...

Changed in highlight:
assignee: nobody → micah-cowan
status: Unconfirmed → Confirmed
Micah Cowan (micahcowan)
Changed in highlight:
importance: Undecided → Medium
Revision history for this message
Micah Cowan (micahcowan) wrote :

Confirmed with crimsun and ajmitch that this is an SRU candidate.

Changed in highlight:
status: Confirmed → In Progress
Micah Cowan (micahcowan)
Changed in highlight:
assignee: micahcowan → nobody
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The 18 month support period for Edgy Eft 6.10 has reached it's end of life. As a result, we are closing this task. I've tried testing against Hardy and have been unable to reproduce this issue. If you do notice any regressions, feel free to open a new report. Thanks.

Changed in highlight:
status: In Progress → Won't Fix
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.