Hylafax Developers Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-devel] Re: Latest CVS



> 
> Folks,
> 
> I just built a new RPM from the current CVS, and sendfax segfaults on me:

Further to that message, here's the config options:

./configure \
--with-DIR_BIN=/usr/bin \
--with-DIR_SBIN=/usr/sbin \
--with-DIR_LIBEXEC=/usr/sbin \
--with-DIR_LIBDATA=/usr/share/fax \
--with-DIR_LOCKS=/var/lock \
--with-TIFFINC=/usr/include \
--with-TIFFBIN=/usr/bin \
--with-DIR_MAN=/usr/man \
--with-PATH_GSRIP=/usr/bin/gs \
--with-DEFVRES=196 \
--with-DBLIBINC=/usr/include \
--with-DIR_AFM=/usr/share/fax/afm \
--with-LIBTIFF=-ltiff \
--with-DIR_SPOOL=/var/spool/fax \
--with-LIBDB=-ldb \
--with-ZLIB=no \
--with-ZLIBINC=. \
--with-AFM=no \
--with-DSO=LINUX \
--with-DSOSUF=so \
--with-PATH_VGETTY=/sbin/vgetty \
--with-HTML=yes

and the strace of the segv:

open("/usr/share/locale/en_US/LC_TIME", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0
mmap(0, 508, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
brk(0x804f000)                          = 0x804f000
close(3)                                = 0
rt_sigaction(SIGHUP, {0x804b304, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804b304, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x804b304, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
open("/usr/share/fax/hyla.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fax/sendfax.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/darren/.hylarc", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/home/darren/.faxdb", O_RDONLY)   = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
[darren@ducent sendfax]$ 

and now with a binary which is not stripped (sorry about that), I get:

[darren@ducent sendfax]$ gdb -core core ./sendfax 
GNU gdb 4.18
Copyright 1998 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"...
Core was generated by `./sendfax -d123'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libfaxutil.so...done.
Reading symbols from /usr/lib/libtiff.so.3...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libutil.so.1...done.
Reading symbols from /usr/lib/libstdc++-libc6.1-1.so.2...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  Sys::mkstemp (templ=0xbffffaa4 "/tmp//sndfaxXXXXXX") at ../util/Sys.h:127
127	    static int mkstemp(char* templ)	{
(gdb) bt
#0  Sys::mkstemp (templ=0xbffffaa4 "/tmp//sndfaxXXXXXX") at ../util/Sys.h:127
#1  0x804b4e7 in Sys::mkstemp (templ=0xbffffaa4 "/tmp//sndfaxXXXXXX")
    at ../util/Sys.h:128
#2  0x804b4e7 in Sys::mkstemp (templ=0xbffffaa4 "/tmp//sndfaxXXXXXX")
    at ../util/Sys.h:128
#3  0x804b4e7 in Sys::mkstemp (templ=0xbffffaa4 "/tmp//sndfaxXXXXXX")
    at ../util/Sys.h:128
#4  0x804b4e7 in Sys::mkstemp (templ=0xbffffaa4 "/tmp//sndfaxXXXXXX")
    at ../util/Sys.h:128
[snip]

Thoughts?

-Darren





Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services