Hi Guiseppe and Mark,

Following the instructions from Guiseppe (who said you were not an
expert on gdb?!) , I changed the gdb-wrapper. Now all seems to work! gdb
starts up, blocking the console and in the process list I can now see
both gdb running and faxgetty. Like this:

simon@Helios:~$ ps auxfw | grep -C3 faxgetty
root     16138  0.2  0.1   3164  1780 pts/2    Ss   00:13   0:00      \_ login 
-h antarctica.local -p
simon    16210  1.3  0.3   6068  3308 pts/2    S    00:13   0:00          \_ 
-bash
simon    16259  0.0  0.1   2860  1108 pts/2    R+   00:14   0:00              
\_ ps auxfw
simon    16260  0.0  0.0   3340   828 pts/2    S+   00:14   0:00              
\_ grep --color=auto -C3 faxgetty
root      1293  0.0  0.1   5816  1792 ?        Ss   Mar07   0:00 
/usr/lib/postfix/master
postfix   1302  0.0  0.1   5968  1884 ?        S    Mar07   0:00  \_ qmgr -l -t 
fifo -u
postfix  15555  0.0  0.1   5832  1700 ?        S    Mar08   0:00  \_ pickup -l 
-t fifo -u -c
--
simon     1885  0.0  0.3   6052  3288 pts/0    Ss   Mar07   0:00  \_ bash
root      1960  0.0  0.1   4488  1644 pts/0    S    Mar07   0:00  |   \_ su
root      1969  0.0  0.2   4792  2128 pts/0    S    Mar07   0:00  |       \_ 
bash
root     16071  0.0  0.0   1832   548 pts/0    S+   00:05   0:00  |           
\_ /bin/sh ./gdb_wrap.sh ./faxgetty -D ttyS0
root     16072  0.0  1.0  16432 10524 pts/0    S+   00:05   0:00  |             
  \_ gdb -return-child-result -batch -x /tmp/gdb-16071.batch --args ./faxgetty 
-D ttyS0
simon     2063  0.0  0.3   6052  3320 pts/1    Ss   Mar07   0:00  \_ bash
root      2474  0.0  0.1   4488  1644 pts/1    S    Mar07   0:00      \_ su
root      2482  0.0  0.2   4820  2080 pts/1    S+   Mar07   0:00          \_ 
bash
simon     1937  0.1  1.8  32852 18668 ?        Sl   Mar07   2:41 
/usr/bin/python /usr/lib/ubuntuone-client/ubuntuone-syncdaemon
uucp     16077  0.0  0.1   5260  1500 ?        Ss   00:05   0:00 
/home/simon/Projecten/hylafax-6.0.3/faxd/faxgetty -D ttyS0
simon@Helios:~$ 

also a log file is created, but still empty.
I know that the file contains symbols, because:

simon@Helios:~/Projecten/hylafax-6.0.3/faxd$ file faxgetty
faxgetty: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

So I think it now is a matter of waiting?

Regards, good night (I am in the Netherlands)

Simon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/600219

Title:
  faxgetty segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/hylafax/+bug/600219/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to