pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ham/dpbox debugging help?
Backstory: wanted to get ham radio (packet/AX.25) running on NetBSD.
I knew nothing about TNT/DPBOX/TFKISS combo. Got it running save for
DPBOX crashing when a new user tries to set their home BBS. Reading
up on DPBOX, it is supposed to be 100% solid production grade
software, so I am thinking code rot, or it always had this bug. To
test the factuality of the statement "100% stable and ready for
production", I got it running on Slackware 11 (the latest Slackware it
will compile/run on). It is in fact very stable/mature, and found TNT
to be an excellent packet radio terminal. Something worthy of a nice
NetBSD box. TNT and TFKISS seem to be ok -- no bugs that I can tell.
Here we are:
Now have the thing running with debugging symbols on board, but gdb
dpbox does not behave the way I am used to. It detaches instead of
staying attached.
Therefore tried:
gdb -p 6247
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i486--netbsdelf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 6247
Reading symbols from /usr/pkg/sbin/dpbox...
Reading symbols from /usr/lib/libm.so.0...
(No debugging symbols found in /usr/lib/libm.so.0)
Reading symbols from /usr/lib/libgcc_s.so.1...
(No debugging symbols found in /usr/lib/libgcc_s.so.1)
Reading symbols from /usr/lib/libc.so.12...
(No debugging symbols found in /usr/lib/libc.so.12)
Reading symbols from /usr/libexec/ld.elf_so...
--Type <RET> for more, q to quit, c to continue without paging--
(No debugging symbols found in /usr/libexec/ld.elf_so)
[Switching to LWP 1 of process 6247]
0xb2f9cc17 in _sys___select50 () from /usr/lib/libc.so.12
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
bt
##################################
Ok, seems to work, but when I trigger the crash, nothing happens, and
ps aux tells me:
The process is TXs (zombie?), but no core dump or anything useful on GDB.
If someone is willing to play with it, I can send them a VirtualBox
install of DOS 6.22 running a packet terminal that they could use to
connect with it with a TCP master/slave TTY link between another
virtual box running NetBSD.
Caveat emptor:
I know enough to be dangerous, but definitely a n00b to fixing these
things and NetBSD.
-73 if your a hammy, you know :D
-Chris KQ6UP
--
Thanks,
Chris Maness
Home |
Main Index |
Thread Index |
Old Index