Re: need to get core from sendfax

Aidan Van Dyk <[email protected]>
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
OK, prompted by this problem, here's a smple gdb wrapper you can use to
"wrap" a program and get a core/backtrace, etc from a program:
	http://people.ifax.com/~aidan/hylafax/gdb/

So using that, you could SendFaxCMd to ".../faxsend-wrapper" and have it
generate stuff in /tmp/faxsend-*.*.

Be careful, no tmp file checking, etc...

a.

* Aidan Van Dyk <[email protected]> [091030 11:46]:
> * Giuseppe Sacco <[email protected]> [091030 05:02]:
> > It seems hylafax 6.0.3 is getting segmentation violation, as show in
> > Debian bug #553027.
> > I asked to reporter to higher the session and server logs, then give me
> > back the communication log and syslog.
> 
> Hm...  Can you put me as a watcher or something on the bug?  We were
> about to roll 6.0.4, but if there's something else we can catch, I'ld
> like to get it in 6.0.4.
> 
> > The user wonder how to get a core dump to analyse it. I don't know how
> > to do it, so will suggest to connect to the process using gdb. Is there
> > any other solution?
> 
> Unfortunately, recent linux (2.6) don't dump processes that are setuid,
> setgid, or use various seteuid() type calls to play with process ids...
> 
> And guess what faxq, faxsend and faxgetty do ;-(  Unfortunately, since
> they do, I don't know a way to get a backtrace/core dump except for
> using GDB...
> 
> a.
> 
> 
> -- 
> Aidan Van Dyk                                             [email protected]
> Senior Software Developer                          +1 215 825-8700 x8103
> iFAX Solutions, Inc.                                http://www.ifax.com/


-- 
Aidan Van Dyk                                             [email protected]
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFK6yZKuVxNPsxNPScRAiR9AJ9YKPx7rkiZjAKgfZiZr/1ZOm/1NACdEr5Z
JzA9faVQCYYfjYxgufM1XrU=
=qbjO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.