Bug 111708 - Segfault on long lines
Summary: Segfault on long lines
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: less
Version: 1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-09 01:57 UTC by ratness
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-14 12:40:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
strace output of a sigfaulting test (7.63 KB, text/plain)
2003-12-15 14:23 UTC, Matteo Corti
no flags Details

Description ratness 2003-12-09 01:57:50 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
Long lines are causing 'less' to break in odd manners.

Version-Release number of selected component (if applicable):
less-378-11.1

How reproducible:
Always

Steps to Reproduce:
Works: perl -e 'print "a" x 1066;' | less

Segfaults: perl -e 'print "a" x 1067;' | less

Explodes: perl -e 'print "a" x 1089;' | less
less: multi.c:1232: buffering_multi: Assertion `mp->intindex == 0' 
failed.
Aborted

Additional info:

Comment 1 Matteo Corti 2003-12-15 14:23:09 UTC
I can reproduce the bug but only as a non-root user.
As root everything works fine.

Comment 2 Matteo Corti 2003-12-15 14:23:48 UTC
Created attachment 96537 [details]
strace output of a sigfaulting test

Comment 3 Karsten Hopp 2004-01-14 12:40:49 UTC
works for me as root and non-root. Which locale are you using ? 

Comment 4 ratness 2004-01-14 15:40:59 UTC
I'm using en_US; I see it as both root and mortal users.


Note You need to log in before you can comment on or make changes to this bug.