Bug 45687 - 'magicfilter' dumps core
Summary: 'magicfilter' dumps core
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: printconf   
(Show other bugs)
Version: 7.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-24 20:31 UTC by Michal Jaegermann
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version: 0.6.119-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-12-10 15:55:03 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Michal Jaegermann 2001-06-24 20:31:12 UTC
With 'magicfilter' from printconf-0.2.12-1 the following happens on x86:

# /usr/bin/magicfilter-t 
Segmentation fault (core dumped)
# /usr/bin/magicfilter-t --help
usage: magicfilter printer-driver [options]
 -a   foo            Segmentation fault (core dumped)

# gdb /usr/bin/magicfilter-t core
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(no debugging symbols found)...
Core was generated by `/usr/bin/magicfilter-t --help'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x0804bae7 in getline ()
(gdb) where
#0  0x0804bae7 in getline ()
#1  0x0804b21d in getline ()
#2  0x0804958c in strcpy ()
#3  0x40043237 in __libc_start_main () from /lib/libc.so.6

On Alpha a picture is slightly different:

# rpm -q printconf
printconf-0.2.15-1
# /usr/bin/magicfilter-t
Segmentation fault (core dumped)
# /usr/bin/magicfilter-t --help
usage: magicfilter printer-driver [options]

Segmentation fault occures in the same getline() call.

Comment 1 Crutcher Dunnavant 2001-08-02 15:09:51 UTC
fixed.

Comment 2 Tim Waugh 2002-04-17 16:56:32 UTC
Still happens.


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