¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: New Version


 

I decided to start over using the .62 pilinbpq binary from the beta downloads area. I have had problems with compiled versions recently ever since upgrading from Ubuntu 22.04 to 24.04, so I wanted to take that out of the equation. It's running now under gdb - will try to watch it closely.

Thanks,
Lee K5DAT


On Sun, Feb 16, 2025 at 12:30?AM John G8BPQ via <john.wiseman=[email protected]> wrote:
Do you know what was going on at the time?? Could you check the BBS log and syslog just before the crash?

Thanks,
John


On 15/02/2025 21:31, Lee Bengston via wrote:
OK, here is the latest.

~/BPQ$ gdb linbpq
GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
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 "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<>.
Find the GDB manual and other documentation resources online at:
? ? <>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from linbpq...
(gdb) handle SIGPIPE nostop noprint pass
Signal ? ? ? ?Stop ? ? ?Print ? Pass to program Description
SIGPIPE ? ? ? No ? ? ? ?No ? ? ?Yes ? ? ? ? ? ? Broken pipe
(gdb) r
Starting program: /home/odroid/BPQ/linbpq

This GDB supports auto-downloading debuginfo from the following URLs:
? <>
Enable debuginfod for this session? (y or [n]) n
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
G8BPQ AX25 Packet Switch System Version 6.0.24.62 February 2025
Copyright ? 2001-2025 John Wiseman G8BPQ
Current Directory is /home/odroid/BPQ
Log Directory is /home/odroid/BPQ
Making Directory /home/odroid/BPQ/logs
Configuration file Preprocessor.
Using Configuration file /home/odroid/BPQ/bpq32.cfg
Conversion (probably) successful

PORTS 0x71c194 LINKS 0x723dd8 DESTS 0x727bd8 ROUTES 0x734ec8 L4 0x7368c8 BUFFERS 0x73e6a8

[New Thread 0xb6ab7360 (LWP 5933)]
[New Thread 0xb62b6360 (LWP 5934)]
Initialising Port 01 ? ? TCPKISS IP 127.0.0.1 Port 8004 Chan A
Initialising Port 02 ? ? ASYNC /dev/ttyUSB0 Chan A
[New Thread 0xb5ab5360 (LWP 5935)]
[New Thread 0xb52b4360 (LWP 5936)]
Initialising Port 03 ? ? AXIP
Initialising Port 04 ? ? AXIP Failed to create RAW socket - Error 1
[New Thread 0xb46ff360 (LWP 5937)]
warning: could not find '.gnu_debugaltlink' file for /lib/arm-linux-gnueabihf/libnss_mdns4_minimal.so.2
[New Thread 0xb3efe360 (LWP 5939)]
[New Thread 0xb36fd360 (LWP 5938)]
Telnet Server Bind Failed for SNMP UDP socket 161 - error code = 13
Initialising Port 05 ? ? UZ7HO Host 192.168.200.6 Port 9000 Chan A
[New Thread 0xb2efc360 (LWP 5940)]
[New Thread 0xb26fb360 (LWP 5941)]
Initialising Port 06 ? ? UZ7HO Host 192.168.200.6 Port 9000 Chan B
Initialising Port 07 ? ? VARA Host 192.168.200.6 8300
[New Thread 0xb1efa360 (LWP 5942)]
[New Thread 0xb16f9360 (LWP 5943)]
[New Thread 0xb0ef8360 (LWP 5944)]
[New Thread 0xb06f7360 (LWP 5945)]
[New Thread 0xafef6360 (LWP 5946)]
[New Thread 0xaf6f5360 (LWP 5947)]
Initialising Port 10 ? ? AXIP
AXIP Failed to create RAW socket - Error 1
[New Thread 0xaecff360 (LWP 5948)]
Using Shared Memory /BPQAPRSSharedMem
Map APRS Shared Memory Allocated at 0x43000000
[Thread 0xaf6f5360 (LWP 5947) exited]
[New Thread 0xaf6f5360 (LWP 5949)]
[New Thread 0xae4fe360 (LWP 5950)]
[Thread 0xb52b4360 (LWP 5936) exited]
[New Thread 0xb52b4360 (LWP 5951)]
APRS Digi/Gateway Enabled
[New Thread 0xadcfd360 (LWP 5952)]
HAMLIB Slave Thread 4532 Running

Rig Control Enabled
[New Thread 0xad4fc360 (LWP 5953)]
MQTT Enabled 0
[New Thread 0xaccfb360 (LWP 5954)]
Starting Chat
Config File is /home/odroid/BPQ/chatconfig.cfg
Chat Started
Starting Mail
Config File is /home/odroid/BPQ/linmail.cfg
Config Processed
[Thread 0xb36fd360 (LWP 5938) exited]
bind(25) failed Error 13: Permission denied
bind(119) failed Error 13: Permission denied
[New Thread 0xb36fd360 (LWP 5955)]
[New Thread 0xac2ff360 (LWP 5956)]
Mail Started
[New Thread 0xabafe360 (LWP 5957)]
[Thread 0xabafe360 (LWP 5957) exited]
[Thread 0xb26fb360 (LWP 5941) exited]
Connected to VARA TNC Port 7
[New Thread 0xb26fb360 (LWP 5958)]
[Thread 0xb26fb360 (LWP 5958) exited]
[New Thread 0xb26fb360 (LWP 5959)]
[Thread 0xb26fb360 (LWP 5959) exited]
[New Thread 0xb26fb360 (LWP 5962)]
[Thread 0xb26fb360 (LWP 5962) exited]
[New Thread 0xab2fd360 (LWP 5969)]
[Thread 0xab2fd360 (LWP 5969) exited]
Connect Failed for AX/TCP port 10093 ?- error code = 110
[New Thread 0xab2fd360 (LWP 5997)]
[Thread 0xab2fd360 (LWP 5997) exited] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
[New Thread 0xab2fd360 (LWP 5998)] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
[Thread 0xab2fd360 (LWP 5998) exited] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
[New Thread 0xab2fd360 (LWP 6003)] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
[Thread 0xab2fd360 (LWP 6003) exited] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
[New Thread 0xab2fd360 (LWP 6004)] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
[Thread 0xab2fd360 (LWP 6004) exited] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
*** stack smashing detected ***: terminated ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Thread 1 "linbpq" received signal SIGABRT, Aborted. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
__libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
warning: 47 ? ? ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
(gdb) ? ? ? ? ?


73,
Lee


On Sat, Feb 15, 2025 at 3:06?PM John G8BPQ via <john.wiseman=[email protected]> wrote:
I think what is happening is gdb is stopping on the SIGPIPE, which bpq would normally ignore, so the program never gets to the point where the segv occurs.? Try typing

handle SIGPIPE nostop noprint pass

before the r command in gdb

73, John

Join [email protected] to automatically receive all group messages.