efix segmentation fault

Bug #1094367 reported by Jonathan Hulka
6
This bug affects 1 person
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://ca.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
        100 /var/lib/dpkg/status

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("/usr/bin/efix", ["efix", "fax-test.txt"], [/* 20 vars */]) = 0
brk(0) = 0x915e000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77d2000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=30093, ...}) = 0
mmap2(NULL, 30093, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb77ca000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\226\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1730024, ...}) = 0
mmap2(NULL, 1743580, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb1b000
mprotect(0xcbe000, 4096, PROT_NONE) = 0
mmap2(0xcbf000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3) = 0xcbf000
mmap2(0xcc2000, 10972, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xcc2000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77c9000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb77c9900, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
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("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2875, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2875, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77d1000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 2875
_llseek(3, -24, [2851], SEEK_CUR) = 0
read(3, "\nPST8PDT,M3.2.0,M11.1.0\n", 4096) = 24
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-test.txt", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0664, st_size=61, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77d1000
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-test.txt", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0664, st_size=61, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77d1000
_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
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
Uname: Linux 3.2.0-29-generic-pae i686
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..etc.efax.rc: 2012-12-12T13:26:28.484721

Revision history for this message
Jonathan Hulka (jon-hulka) wrote :
Revision history for this message
Jonathan Hulka (jon-hulka) wrote :

I got around the problem by replacing the defective efix binary:

 - Downloaded the efax source from http://www.cce.com/efax/download/
 - tar -xzf efax-0.9a-001114.tar.gz
 - cd efax-0.9a-001114
 - make
 - sudo cp efix /usr/bin/efix

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.