efix segmentation fault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
efax (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 12.04.1 LTS
efax:
Installed: 1:0.9a-19
Candidate: 1:0.9a-19
Version table:
*** 1:0.9a-19 0
500 http://
100 /var/lib/
efix crashes while converting a text file. The output file is created, but nothing is written to it.
# strace -f efix fax-test.txt
execve(
brk(0) = 0x915e000
access(
mmap2(NULL, 8192, PROT_READ|
access(
open("/
fstat64(3, {st_mode=
mmap2(NULL, 30093, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb77ca000
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat64(3, {st_mode=
mmap2(NULL, 1743580, PROT_READ|
mprotect(0xcbe000, 4096, PROT_NONE) = 0
mmap2(0xcbf000, 12288, PROT_READ|
mmap2(0xcc2000, 10972, PROT_READ|
close(3) = 0
mmap2(NULL, 4096, PROT_READ|
set_thread_
mprotect(0xcbf000, 8192, PROT_READ) = 0
mprotect(0xae9000, 4096, PROT_READ) = 0
munmap(0xb77ca000, 30093) = 0
time(NULL) = 1356731733
brk(0) = 0x915e000
brk(0x917f000) = 0x917f000
open("/
fstat64(3, {st_mode=
fstat64(3, {st_mode=
mmap2(NULL, 4096, PROT_READ|
read(3, "TZif2\
_llseek(3, -24, [2851], SEEK_CUR) = 0
read(3, "\nPST8PDT,
close(3) = 0
munmap(0xb77d1000, 4096) = 0
write(2, "efix: Fri Dec 28 13:55:33 2012 e"..., 66efix: Fri Dec 28 13:55:33 2012 efix v 0.3 Copyright 1999 Ed Casas
) = 66
open("fax-
fstat64(3, {st_mode=
mmap2(NULL, 4096, PROT_READ|
read(3, "This is a test fax. Did it get t"..., 4096) = 61
read(3, "", 4096) = 0
_llseek(3, 0, [0], SEEK_SET) = 0
read(3, "This is a test fax. Did it get t"..., 4096) = 61
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb77d1000, 4096) = 0
open("fax-
fstat64(3, {st_mode=
mmap2(NULL, 4096, PROT_READ|
_llseek(3, 0, [0], SEEK_SET) = 0
_llseek(1, 0, 0xbfbe4af0, SEEK_SET) = -1 ESPIPE (Illegal seek)
read(3, "This is a test fax. Did it get t"..., 4096) = 61
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: efax 1:0.9a-19
ProcVersionSign
Uname: Linux 3.2.0-29-
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: i386
Date: Fri Dec 28 14:23:02 2012
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_CA:en
TERM=xterm
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: efax
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
I got around the problem by replacing the defective efix binary:
- Downloaded the efax source from http:// www.cce. com/efax/ download/ 9a-001114. tar.gz
- tar -xzf efax-0.
- cd efax-0.9a-001114
- make
- sudo cp efix /usr/bin/efix