¿ªÔÆÌåÓý

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

Re: Strange SEG Fault - need help on this one.

 

Hi Charlie,

On Sun, Apr 27, 2025 at 11:36?AM Charlie Hein via <chein=[email protected]> wrote:
Thanks in advance for your attention.? I'm really stumped by this one.
?
My BBS will die with a SEG fault at connect over my VHF port, but NOT when called over the internet (AXIP port) or from the keyboard.
?
Are you referring to only incoming connections on VHF?

ODDLY, the RPi does NOT SEG fault when called over the air on any other aliases, but if the BBS is called from the node alias, the RPi will immediately die of a SEG Fault as it does if called directly.

I think based on the above you are talking about incoming connections. Are you saying that an incoming connection over VHF directly to the BBS alias or call will cause the segfault, AND if an incoming connection is made first to the node, then to the BBS, the segfault happens upon attempting to connect to the BBS?

What version of BPQ are you running, and did the problem start after upgrading to a newer version?

73,
Lee K5DAT
_._,_._,_


Strange SEG Fault - need help on this one.

 

Thanks in advance for your attention.? I'm really stumped by this one.
?
My BBS will die with a SEG fault at connect over my VHF port, but NOT when called over the internet (AXIP port) or from the keyboard.? ODDLY, the RPi does NOT SEG fault when called over the air on any other aliases, but if the BBS is called from the node alias, the RPi will immediately die of a SEG Fault as it does if called directly.
?
Any ideas?
?
--
Charlie (N4NVD)


Re: linbpq seg fault

 

Hi Glenn,
?
Thanks for the message and info. Very Interesting.
I am not fully up to speed on forwarding - but when I checked my node's config I did have a rule for n2mh
it was something very simple, like this:
c 2 n2mh-7
(port 2 was vhf radio direct link, our nodes are near each other) - but in order to rule out I have removed it for now...
Once all is stable I can try put something back in, perhaps more like (or same as) what you have shared there.
Thank you, this is invaluable reference.
?
Hopefully addressing all these areas, this will all fall in to place, can't see why it won't all work as expected unless we've found a bug to fix, but I suppose it can most likely be addressed as a config/setup issue, I hope.
?
All the best, Louis
?


Re: linbpq seg fault

 

Hi,
?
>I don't recognise the messages - do they mean anything to you?
I'm not quite sure - only significance is that is Mark's node, the new link we were adding in.
?
>It looks like the AXIP link is somehow getting connected to the BBS. Do you see in Incoming Connect message for N2MH-8?
Where would I see this? Could there be a problem with ssid suffix routing or forwarding, or some forwarding loop even?
?
>I would be interesting to see if excluding N2MH from the BBS allows the BBS to run.
Good idea, I presume that's just uncheck bbs from users page for n2mh for a bit and see what happens
?
>Could you also send me your bpq32.cfg so I can see if I can see anything that could be a problem?
Sure - what is best way to share it all, I do not want to compromise any station's ip/dns unwittingly. Should I email you it privately?
?
>The .mes files just contain the message contents, not the To, From, Subject etc.
Noted - lesson learnt, if I do this again ever I'll also back up the metadata file. If it had lived in the dir with message files that would have been fine, did not realise it was separated.
?
I currently have the node running, no crash in last 5-10mins, but also MH for n2mh* is still stale - I wonder if it will crash once that starts communicating again (assuming Mark still has map for my node in it).
?
YCKBPQ:KD2YCK-7} Heard List for Port 4
NC8Q-7 ? ? 00:00:00:02
WW6Q-7 ? ? 00:00:01:04
N2MH-8 ? ? 00:19:56:38
N2MH-2 ? ? 00:19:58:27
KA1VSC-8 ? 92:23:58:58
WW6Q ? ? ? 100:08:51:59
WW6Q-1 ? ? 214:09:32:43
WW2BSA-7 ? 361:07:17:18
?
It's a bit tricky to figure due to a hard crash and being triggered by events that are not clear, but hopefully it will all get ironed out
?
Current map entries are
?
? UDP 10093 ? ? ? ? ? ? ? ?# Optional. Enables UDP support, and defines the port
? ? ? ? ? ? ? ? ? ? ? ? ? ?# AX.IP listens on. You can specify more than one
? ? ? ? ? ? ? ? ? ? ? ? ? ?# UDP line if you need to listen on more than one port
? MHEARD ? ? ? ? ? ? ? ? ? ?# Optional - opens a window to display a "Heard List"
?BROADCAST NODES
; BROADCAST APRS
? AUTOADDMAP
? MAP WW6Q-7???? ww6q-ip? UDP 10093 B
? MAP WW2BSA-7 bsa-ip????? UDP 10093 B
? MAP NC8Q-7?????? nc8q-ip?? UDP 10093 B
? MAP N2MH-8????? n2mh-ip?? UDP 10093 B
?
All have been in place and working fine for some time (months/years) but the last n2mh is the new one added since yesterday and coinciding with crashes.
As you can see, all is AX-IP UDP, AX-UDP, all on same UDP port.
?
The only other thing I can think of at this time is there was a forwarding to N2MH in the forwarding rules, it was like this: c 2 n2mh-7 (port 2 is vhf direct link) - but to eliminate this I've removed this forwarding rule for now. Once stable this can be reinstated correctly as required. Not sure if these can have been causing issues?
?
I'm no expert on all of this, relatively new to it, so input from yourself as the author and other experienced packeteers is invaluable. Also, I am learning in the process :)
?
Louis kd2yck
?
?
?
?


Re: linbpq seg fault

 

¿ªÔÆÌåÓý

My node is located at the Arts Center where any and all changes are executed from the computer.

I'll double check the mail forwarding script tomorrow on Monday when I? get there.

In the interim, please suggest what the script should be if what I currently have isn't working? Tnx.

73 de Chris
ww2bsa.org?

-------- Original message --------
From: "Mark Herson, N2MH" <n2mh@...>
Date: 4/27/25 9:49 AM (GMT-05:00)
Subject: Re: [bpq32] linbpq seg fault

To the Group,
?
I think that this post has evolved into two separate issues.
?
1. Problems with bringing up a link between my jnos system and KD2YCK's bpq system.
2. A forwarding problem at WW2BSA.
?
This is my configuration in jnos for KD2YCK
?
# KD2YCK #
attach axudp ? ? ? ? ? ?udp-yck 256 www.host.com - 10093 10093
ax25 bcport ? ? ? ? ? ? udp-yck on
ax25 hport ? ? ? ? ? ? ?udp-yck on
convers interface ? ? ? udp-yck on
ifconfig ? ? ? ? ? ? ? ?udp-yck description "axudp link to kd2yck via Internet"
mbox mport ? ? ? ? ? ? ?udp-yck on
netrom interface ? ? ? ?udp-yck 203
?
This is identical to the one I use for N3MEL
?
# N3MEL # 2025-04-01
attach axip ? ? ? ? ? ? ip-mel 256 10.59.29.368
ax25 bcport ? ? ? ? ? ? ip-mel on
ax25 hport ? ? ? ? ? ? ?ip-mel on
convers interface ? ? ? ip-mel on
ifconfig ? ? ? ? ? ? ? ?ip-mel description "axip link to n3mel via Mesh"
mbox mport ? ? ? ? ? ? ?ip-mel on
netrom interface ? ? ? ?ip-mel 203
?
As N3MEL can agree, his link works Ok.
?
I would point out that I have set this up as an AXUDP link, not an AXIP link. Terminology is very important here. AXIP and AXUDP are separate technologies and will not talk to each other.
?
I also run a second bbs system 600 miles away using BPQ software that links to the same jnos machine, this time over 44-net. This is the map statement for that machine along with the matching jnos configuration
?
MAP N2MH 44.64.24.380 UDP 10044 UDP 10044 B
?
attach axudp ? ? ? ? ? ?udp-mh4 256 44.74.24.332 - 10044 10044
ax25 bcport ? ? ? ? ? ? udp-mh4 on
ax25 hport ? ? ? ? ? ? ?udp-mh4 on
convers interface ? ? ? udp-mh4 on
#ifconfig ? ? ? ? ? ? ? udp-mh4 description "axudp link to n2mh4 bpq via AMPRnet"
?
Note that the UDP port can be changed. The only requirement is that both ends must agree. In this case, they do agree and the link works satisfactory.
?
For the record, hostnames and ip addresses have been changed to prevent tampering.
?
While it's possible that YCK's problem may be due to something that I am doing, I think that possiblity is remote. I use the same basic configuration very successfully for other forwarding partners.
?
As for WW2BSA, he is trying to send me a personal message, the same personal message, for the past several days. His machine does not seem to recognize the BID rejection being sent back to him. I don't want to hijack this thread with someone else's issue. So, that's all I'm going to say in this thread. I will say that I can stop the repeated forwarding attempts by going into his BBS and killing the message.
?
73, Mark, N2MH
West Orange, NJ FN20ut
Oak Island, NC FM03ww
?
?


Re: linbpq seg fault

 

To the Group,
?
I think that this post has evolved into two separate issues.
?
1. Problems with bringing up a link between my jnos system and KD2YCK's bpq system.
2. A forwarding problem at WW2BSA.
?
This is my configuration in jnos for KD2YCK
?
# KD2YCK #
attach axudp ? ? ? ? ? ?udp-yck 256 www.host.com - 10093 10093
ax25 bcport ? ? ? ? ? ? udp-yck on
ax25 hport ? ? ? ? ? ? ?udp-yck on
convers interface ? ? ? udp-yck on
ifconfig ? ? ? ? ? ? ? ?udp-yck description "axudp link to kd2yck via Internet"
mbox mport ? ? ? ? ? ? ?udp-yck on
netrom interface ? ? ? ?udp-yck 203
?
This is identical to the one I use for N3MEL
?
# N3MEL # 2025-04-01
attach axip ? ? ? ? ? ? ip-mel 256 10.59.29.368
ax25 bcport ? ? ? ? ? ? ip-mel on
ax25 hport ? ? ? ? ? ? ?ip-mel on
convers interface ? ? ? ip-mel on
ifconfig ? ? ? ? ? ? ? ?ip-mel description "axip link to n3mel via Mesh"
mbox mport ? ? ? ? ? ? ?ip-mel on
netrom interface ? ? ? ?ip-mel 203
?
As N3MEL can agree, his link works Ok.
?
I would point out that I have set this up as an AXUDP link, not an AXIP link. Terminology is very important here. AXIP and AXUDP are separate technologies and will not talk to each other.
?
I also run a second bbs system 600 miles away using BPQ software that links to the same jnos machine, this time over 44-net. This is the map statement for that machine along with the matching jnos configuration
?
MAP N2MH 44.64.24.380 UDP 10044 UDP 10044 B
?
attach axudp ? ? ? ? ? ?udp-mh4 256 44.74.24.332 - 10044 10044
ax25 bcport ? ? ? ? ? ? udp-mh4 on
ax25 hport ? ? ? ? ? ? ?udp-mh4 on
convers interface ? ? ? udp-mh4 on
#ifconfig ? ? ? ? ? ? ? udp-mh4 description "axudp link to n2mh4 bpq via AMPRnet"
?
Note that the UDP port can be changed. The only requirement is that both ends must agree. In this case, they do agree and the link works satisfactory.
?
For the record, hostnames and ip addresses have been changed to prevent tampering.
?
While it's possible that YCK's problem may be due to something that I am doing, I think that possiblity is remote. I use the same basic configuration very successfully for other forwarding partners.
?
As for WW2BSA, he is trying to send me a personal message, the same personal message, for the past several days. His machine does not seem to recognize the BID rejection being sent back to him. I don't want to hijack this thread with someone else's issue. So, that's all I'm going to say in this thread. I will say that I can stop the repeated forwarding attempts by going into his BBS and killing the message.
?
73, Mark, N2MH
West Orange, NJ FN20ut
Oak Island, NC FM03ww
?
?


Re: linbpq seg fault

 

N2MH-8 is a J-Nos system, those errors I believe are coming from his side. I was watching that port yesterday and
WW2BSA looked like he was having the same problem.
?
I forwarded with Mark a number of times yesterday and again today BPQ to J-Nos with no issues.?
?
Louis I am not sure how your setup to forward to Mark's system but here is my forwarding script for him.?
?


Re: linbpq seg fault

 

¿ªÔÆÌåÓý

Hi Louis,

I don't recognise the messages - do they mean anything to you?

It looks like the AXIP link is somehow getting connected to the BBS. Do you see in Incoming Connect message for N2MH-8?

I would be interesting to see if excluding N2MH from the BBS allows the BBS to run.

Could you also send me your bpq32.cfg so I can see if I can see anything that could be a problem?

The .mes files just contain the message contents, not the To, From, Subject etc.

73, John



On 26/04/2025 22:22, Louis Botterill via groups.io wrote:

Hi John, thanks very much!
?
I do see a lot of these in the logs, I think from when the new axip UDP link is started up
?
250426 18:42:34 >N2MH-8 ? ?Too many errors - closing
250426 18:42:34 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?1 63217U 25052H ? 25115.51581110 ?.00020018 ?00000-0 ?95571-3 0 ?9990
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?2 63217 ?97.4366 ?10.1475 0005150 135.9557 224.2089 15.19073419 ?6407
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?TEVEL2-2
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?1 63218U 25052J ? 25115.58190535 ?.00019608 ?00000-0 ?93637-3 0 ?9999
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?2 63218 ?97.4362 ?10.2138 0005040 135.1611 225.0031 15.19070238 ?6415
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?TEVEL2-3
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
?
many times over
?
The ^M is a line endings, could that be an issue?
?
Interestingly n2mh is the new remote node I was hoping to link with...
?
When I traced some seg fault file line numbers to code it did see to be in a line endings area.- could it be forwarding many messages to me over new link we're trying to set up and causing a crash, due to some invalid / incompatible message content?
?
Shame about the DIRMES.SYS, I see a few backups but all super recent, alas. Shame - oh well. Is the format of dirmes.sys binary, I'd have no chance to make a small script to recreate from the mes files?
?
All the best, Louis
?


Re: linbpq seg fault

 

Hi John, thanks very much!
?
I do see a lot of these in the logs, I think from when the new axip UDP link is started up
?
250426 18:42:34 >N2MH-8 ? ?Too many errors - closing
250426 18:42:34 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?1 63217U 25052H ? 25115.51581110 ?.00020018 ?00000-0 ?95571-3 0 ?9990
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?2 63217 ?97.4366 ?10.1475 0005150 135.9557 224.2089 15.19073419 ?6407
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?TEVEL2-2
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?1 63218U 25052J ? 25115.58190535 ?.00019608 ?00000-0 ?93637-3 0 ?9999
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?2 63218 ?97.4362 ?10.2138 0005040 135.1611 225.0031 15.19070238 ?6415
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
250426 18:42:36 >N2MH-8 ? ?de KD2YCK>^M
250426 18:42:36 <N2MH-8 ? ?TEVEL2-3
250426 18:42:36 >N2MH-8 ? ?Too many errors - closing
?
many times over
?
The ^M is a line endings, could that be an issue?
?
Interestingly n2mh is the new remote node I was hoping to link with...
?
When I traced some seg fault file line numbers to code it did see to be in a line endings area.- could it be forwarding many messages to me over new link we're trying to set up and causing a crash, due to some invalid / incompatible message content?
?
Shame about the DIRMES.SYS, I see a few backups but all super recent, alas. Shame - oh well. Is the format of dirmes.sys binary, I'd have no chance to make a small script to recreate from the mes files?
?
All the best, Louis
?


Re: LinBPQ error & exit

 

John,

Up to now, it seems to me that it crashes only when KAM port is used to initiate (or receive) a g-tor or pactor connection to/from the other station (UT1HZM, who also runs a KAM). It sometimes crashes after a session fails and disconnected, or an outgoing call was initiated but did not get response from the other party.

It also looks to me that KAM does not fully returns to a TOR standby after the last link was over or failed, so it does not respond to a subsequent incoming connection request from the other party (even when the signal from the other end is loud & clear).

Misko YT7MPB

On 4/26/2025 5:19 PM, John G8BPQ via groups.io wrote:
Does it crash randomly or only when you do something with the KAM?

Thanks,
John

On 25/04/2025 22:01, John G8BPQ via groups.io wrote:
Yes, that's what I needed, thanks.

It is crashing processing a KAM frame. I can't immediately see the
problem but I'll look in more detail tomorrow.

73,
John


On 25/04/2025 18:01, Misko YT7MPB via groups.io wrote:
John,

Is that you asked for:

ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b 0x1895 0x525dde
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
??:0
??:0
ham@localhost:~/linbpq$

PS: Maybe I missed some. So let me know.

Misko YT7MPB


On 4/24/25 18:53, John G8BPQ via groups.io wrote:
You can run at any time. Can you try with the other address on each
line
of the
dump?

Thanks
John


On 24 Apr 2025 14:21, "Misko YT7MPB via groups.io"
<skoric@...>
wrote:

ham@localhost:~/linbpq$ addr2line -e linbpq 0x523e85 0x49fa71
0x49fb18
0x49fa36
??:0
??:0
??:0
??:0
ham@localhost:~/linbpq$

(PS: I ran that command when no problem occurred. Should I run
it only
when the problem appears?)

Misko YT7MPB


On 4/22/25 20:19, John G8BPQ via groups.io wrote:
> Could you run addr2line -e linbpq 0x523e85 0x49fa71 0x49fb18
0x49fa36
>
> That should give the source lines where the problem occurred.
>
> Thanks,
> John
>
> On 22/04/2025 16:50, Misko YT7MPB via groups.io wrote:
>> Hello,
>>
>> I have just noticed that LinBPQ sometimes prematurely
exits. (I am
unsure whether it is an issue related to KAM driver I added
recently.)
See the initialization of all ports, and later what fails ...
>>
>> Initialising Port 01 Telnet Server
>> Initialising Port 02 SCS Pactor /dev/ttyUSB1
>> Initialising Port 03 TCPKISS IP 127.0.0.1 Port 8001 Chan A
>> Initialising Port 04
>> UZ7HO Host 127.0.0.1 Port 8000 Chan A
>> Initialising Port 05
>> UZ7HO Host 127.0.0.1 Port 8000 Chan B
>> Initialising Port 06 KAM Pactor /dev/ttyUSB3
>> Using Shared Memory /BPQAPRSSharedMem
>> Map APRS Shared Memory Allocated at 0x43000000
>> APRS Digi/Gateway Enabled
>> Trying to start ./QtBPQAPRS
>>
>> Rig Control Enabled
>> MQTT Enabled 0
>> Starting Chat
>> Config File is /home/ham/linbpq/chatconfig.cfg
>> Chat Started
>> Starting Mail
>> Config File is /home/ham/linbpq/linmail.cfg
>> Config Processed
>> Mail Started
>> Using Shared Memory /BPQAPRSSharedMem
>> Map APRS Shared Memory Allocated at 0x43000000
>> Shared Memory Size 3401584 Max 33554432
>> LinBPQ Configured with MaxStations 1000 APRSCall YU7BPQ
>> SIGSEGV Received
>> ./linbpq(+0x112e85)[0x523e85]
>> linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7f5a564]
>> ./linbpq(+0x8ea71)[0x49fa71]
>> ./linbpq(+0x8eb18)[0x49fb18]
>> ./linbpq(+0x8eb18)[0x49fb18]
>> ./linbpq(+0x8ea36)[0x49fa36]
>> ./linbpq(+0x8d72e)[0x49e72e]
>> ./linbpq(+0xca4a2)[0x4db4a2]
>> ./linbpq(+0xcd77b)[0x4de77b]
>> ./linbpq(main+0x1895)[0x525dde]
>>
>> Any idea?
>>
>> Misko YT7MPB
>>
>>
>>


Re: linbpq seg fault

 

¿ªÔÆÌåÓý

It is crashing in the BBS code when processing a command. What does the BBS log show?

It is possible that due to a config error a message is bing incorrectly sent to the BBS.

Unfortunately the messages do not contain the info needed to recreate the message list. So unless you have a backup of DIRMES.SYS they are not recoverable,

It might be worth deleting BPQNODES.dat while the node is down in case a corrupt node or route entry is being reloaded.

73, John


On 26/04/2025 20:28, Louis Botterill via groups.io wrote:

not 100% confident this is all exactly correct to issue but on recent crash I tried to find line numbers to source code, here's that so far
?
SIGSEGV Received
./linbpq64(+0x139556) [0x55b0386de556]
/lib/x86_64-linux-gnu/libc.so.6(+0x3fdf0) [0x7fe4eb033df0]
./linbpq64(+0xd826f) [0x55b03867d26f]
./linbpq64(+0xd5b0c) [0x55b03867ab0c]
./linbpq64(+0x13bf48) [0x55b0386e0f48]
./linbpq64(+0x13b5b7) [0x55b0386e05b7]
/lib/x86_64-linux-gnu/libc.so.6(+0x29ca8) [0x7fe4eb01dca8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fe4eb01dd65]
./linbpq64(+0xe24a) [0x55b0385b324a]
SIGSEGV Received
./linbpq64(+0x139556) [0x55b0386de556]
/lib/x86_64-linux-gnu/libc.so.6(+0x3fdf0) [0x7fe4eb033df0]
./linbpq64(+0xd826f) [0x55b03867d26f]
./linbpq64(+0xd5b0c) [0x55b03867ab0c]
./linbpq64(+0x13bf48) [0x55b0386e0f48]
./linbpq64(+0x13b5b7) [0x55b0386e05b7]
/lib/x86_64-linux-gnu/libc.so.6(+0x29ca8) [0x7fe4eb01dca8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fe4eb01dd65]
./linbpq64(+0xe24a) [0x55b0385b324a]
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0x139556
/mnt/Source/bpq32/CommonSource/LinBPQ.c:393
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0x3fdf0
/mnt/Source/bpq32/CommonSource/KISSHF.c:682
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0xd826f
/mnt/Source/bpq32/CommonSource/BBSUtilities.c:12540
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0xd5b0c
/mnt/Source/bpq32/CommonSource/BBSUtilities.c:11241
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0x13bf48
/mnt/Source/bpq32/CommonSource/LinBPQ.c:2117
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0x13b5b7
/mnt/Source/bpq32/CommonSource/LinBPQ.c:1635
?
It does seem that after enabling axip it will crash and continue to crash, even if disabled in the MAP for a time, unless I remove all axip and change the port number
it's as-if once it has been enabled a remote sends me UDP that crashes the server and only once that ceases (or is ignored) it is stable again.
I've never had this before and I ran other axip links for a long time, no issues
Unless it can be some forwarding issue or something, some loop, connection issue?
?
I could really use a systematic way to diagnose this as it is all a bit black-box trial and error so far and because the crash comes after a random number of seconds it is hard to be totally sure.
?
Also If there is a way to get my old messages to show up again that would be great! I have made a backup of them for now.
?
Many thanks!
?


Re: linbpq seg fault

 

not 100% confident this is all exactly correct to issue but on recent crash I tried to find line numbers to source code, here's that so far
?
SIGSEGV Received
./linbpq64(+0x139556) [0x55b0386de556]
/lib/x86_64-linux-gnu/libc.so.6(+0x3fdf0) [0x7fe4eb033df0]
./linbpq64(+0xd826f) [0x55b03867d26f]
./linbpq64(+0xd5b0c) [0x55b03867ab0c]
./linbpq64(+0x13bf48) [0x55b0386e0f48]
./linbpq64(+0x13b5b7) [0x55b0386e05b7]
/lib/x86_64-linux-gnu/libc.so.6(+0x29ca8) [0x7fe4eb01dca8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fe4eb01dd65]
./linbpq64(+0xe24a) [0x55b0385b324a]
SIGSEGV Received
./linbpq64(+0x139556) [0x55b0386de556]
/lib/x86_64-linux-gnu/libc.so.6(+0x3fdf0) [0x7fe4eb033df0]
./linbpq64(+0xd826f) [0x55b03867d26f]
./linbpq64(+0xd5b0c) [0x55b03867ab0c]
./linbpq64(+0x13bf48) [0x55b0386e0f48]
./linbpq64(+0x13b5b7) [0x55b0386e05b7]
/lib/x86_64-linux-gnu/libc.so.6(+0x29ca8) [0x7fe4eb01dca8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fe4eb01dd65]
./linbpq64(+0xe24a) [0x55b0385b324a]
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0x139556
/mnt/Source/bpq32/CommonSource/LinBPQ.c:393
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0x3fdf0
/mnt/Source/bpq32/CommonSource/KISSHF.c:682
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0xd826f
/mnt/Source/bpq32/CommonSource/BBSUtilities.c:12540
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0xd5b0c
/mnt/Source/bpq32/CommonSource/BBSUtilities.c:11241
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0x13bf48
/mnt/Source/bpq32/CommonSource/LinBPQ.c:2117
louis@louis-server1:~/radio/tools/linbpq$ addr2line -e linbpq64 +0x13b5b7
/mnt/Source/bpq32/CommonSource/LinBPQ.c:1635
?
It does seem that after enabling axip it will crash and continue to crash, even if disabled in the MAP for a time, unless I remove all axip and change the port number
it's as-if once it has been enabled a remote sends me UDP that crashes the server and only once that ceases (or is ignored) it is stable again.
I've never had this before and I ran other axip links for a long time, no issues
Unless it can be some forwarding issue or something, some loop, connection issue?
?
I could really use a systematic way to diagnose this as it is all a bit black-box trial and error so far and because the crash comes after a random number of seconds it is hard to be totally sure.
?
Also If there is a way to get my old messages to show up again that would be great! I have made a backup of them for now.
?
Many thanks!
?


linbpq seg fault

 

Hi, first post, looking for some pointers.
?
Using linbpq very successfully for a couple of years.
Just recently it started to segv shortly after bpq startup.
In this case I can say I made no OS updates etc at the same time. i.e. was not changed or updated, (OS updates nor bpq) during time from working to crashing.
The only change I was trying was to add a new ax-ip UDP map entry to a remote node.
After adding, crash some time after startup, usually within 1 minute, but < 5 mins for sure - if it will crash.
I played around, if I disable linbpq the crash goes away. (take LINMAIL out from the bpq32.cfg).
If I take out all map entries for ax-ip and change default port (was 10093, so if I make it 10094 for example) the crash ssue goes away.
So I think it is related to new ax-ip map, but alas even when I removed it again I still get the crash - I've asked the other end of the map link to remove me for a time, to see if that's it.
My guess is that they are sending my node some ax-ip udp that crashes the node, perhaps. Unless this is all very strange coincidence, that seems to be it.
?
By the way, during this process of elimination I since a) updated linbpq to latest (no difference) and b) updated OS also (no issues, no change)
OS is Devuan (Debian based) x64 latest but it seems this is not particularly relevant to the issue.
?
I ran latest bpq with axip disabled and it ran for hours, so it does seem this is the area of issue. But how to better debug the cause/trigger? It seems if it will crash, it will do so in first few mins or starting up, otherwise it remains working for days, weeks, months, as normal, as it used to.
I did look at logs, did not find anything useful.
in the process I upgraded from linbpq 6.0.24.42 (regular linbpq 32) to the latest linbpq64 but really, none of these changes seem to have made any differences at all. Or at least not fixed or made issue different or worse.
?
The server start up currently (after latest updates look like this)
?
G8BPQ AX25 Packet Switch System Version 6.0.24.70 April 2025
Copyright ?2001-2025 John Wiseman G8BPQ
Current Directory is /home/louis/radio/tools/linbpq
Log Directory is /home/louis/radio/tools/linbpq
Making Directory /home/louis/radio/tools/linbpq/logs
Configuration file Preprocessor.
Using Configuration file /home/louis/radio/tools/linbpq/bpq32.cfg
Conversion (probably) successful
PORTS 0x5606afdc85e0 LINKS 0x5606afdcc660 DESTS 0x5606afdd2660 ROUTES 0x5606afddb300 L4 0x5606afddd100 BUFFERS 0x5606afde63d0
Initialising Port 01 ? ? UZ7HO Host 127.0.0.1 Port 8000 Chan A
Initialising Port 02 ? ? UZ7HO Host 127.0.0.1 Port 8020 Chan A
Initialising Port 04 ? ? AXIP
Initialising Port 05 ? ? Telnet Server
MQTT Enabled 0
Starting Chat
Config File is /home/louis/radio/tools/linbpq/chatconfig.cfg
Chat Started
Starting Mail
Config File is /home/louis/radio/tools/linbpq/linmail.cfg
Config Processed
Mail Started
?
OS is:
6.10.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1 (2024-08-19) x86_64 GNU/Linux
?
So that's the main thing.
?
One secondary thing, perhaps mistakenly I thought it might be due how many messages I had or their content, so I moved the Mail dir aside to check.
This seems to not have made any difference but... once done checking, when I put the mail dir back (I can see all the message files in it) I do not see them listed on the bbs.
Is there a way to get it to rescan the metadata to restore the messages onto the BBS?
?
current state is
?
bbs
YCKBPQ:KD2YCK-7} Connected to BBS
[BPQ-6.0.24.70-B2FWIHJM$]
KD2YCK (Louis) 0/0 msgs, 8350 is latest, 3 active msgs, 12 last read
de KD2YCK>
ll 10
8350 ? 26-Apr PN ? ? ? 4 TEST ? ? ? ? ? KD2YCK test
8349 ? 26-Apr PN ? ? 170 SYSOP ? ? ? ? ?SYSTEM Housekeeping Results
8348 ? 26-Apr PN ? ? 173 SYSOP ? ? ? ? ?SYSTEM Housekeeping Results
de KD2YCK>
?
however
?
ll Mail/*.mes | wc -l
965
?
so this is a secondary issue but it would be nice to figure it out also and get it all back how it was :)
?
really appreciate any tips here
?
all the best, Louis / kd2yck
?
?
?
?
?


Re: LinBPQ error & exit

 

Does it crash randomly or only when you do something with the KAM?

Thanks,
John

On 25/04/2025 22:01, John G8BPQ via groups.io wrote:
Yes, that's what I needed, thanks.

It is crashing processing a KAM frame. I can't immediately see the problem but I'll look in more detail tomorrow.

73,
John


On 25/04/2025 18:01, Misko YT7MPB via groups.io wrote:
John,

Is that you asked for:

ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b 0x1895 0x525dde
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
??:0
??:0
ham@localhost:~/linbpq$

PS: Maybe I missed some. So let me know.

Misko YT7MPB


On 4/24/25 18:53, John G8BPQ via groups.io wrote:
You can run at any time. Can you try with the other address on each line
of the
dump?

Thanks
John


On 24 Apr 2025 14:21, "Misko YT7MPB via groups.io"
<skoric@...>
wrote:

???? ham@localhost:~/linbpq$ addr2line -e linbpq 0x523e85 0x49fa71 0x49fb18
???? 0x49fa36
???? ??:0
???? ??:0
???? ??:0
???? ??:0
???? ham@localhost:~/linbpq$

???? (PS: I ran that command when no problem occurred. Should I run it only
???? when the problem appears?)

???? Misko YT7MPB


???? On 4/22/25 20:19, John G8BPQ via groups.io wrote:
????? > Could you run addr2line -e linbpq 0x523e85 0x49fa71 0x49fb18
0x49fa36
????? >
????? > That should give the source lines where the problem occurred.
????? >
????? > Thanks,
????? > John
????? >
????? > On 22/04/2025 16:50, Misko YT7MPB via groups.io wrote:
????? >> Hello,
????? >>
????? >> I have just noticed that LinBPQ sometimes prematurely exits. (I am
???? unsure whether it is an issue related to KAM driver I added recently.)
???? See the initialization of all ports, and later what fails ...
????? >>
????? >> Initialising Port 01???? Telnet Server
????? >> Initialising Port 02???? SCS Pactor /dev/ttyUSB1
????? >> Initialising Port 03???? TCPKISS IP 127.0.0.1 Port 8001 Chan A
????? >> Initialising Port 04
????? >> UZ7HO Host 127.0.0.1 Port 8000 Chan A
????? >> Initialising Port 05
????? >> UZ7HO Host 127.0.0.1 Port 8000 Chan B
????? >> Initialising Port 06???? KAM Pactor /dev/ttyUSB3
????? >> Using Shared Memory /BPQAPRSSharedMem
????? >> Map APRS Shared Memory Allocated at 0x43000000
????? >> APRS Digi/Gateway Enabled
????? >> Trying to start ./QtBPQAPRS
????? >>
????? >> Rig Control Enabled
????? >> MQTT Enabled 0
????? >> Starting Chat
????? >> Config File is /home/ham/linbpq/chatconfig.cfg
????? >> Chat Started
????? >> Starting Mail
????? >> Config File is /home/ham/linbpq/linmail.cfg
????? >> Config Processed
????? >> Mail Started
????? >> Using Shared Memory /BPQAPRSSharedMem
????? >> Map APRS Shared Memory Allocated at 0x43000000
????? >> Shared Memory Size 3401584 Max 33554432
????? >> LinBPQ Configured with MaxStations 1000 APRSCall YU7BPQ
????? >> SIGSEGV Received
????? >> ./linbpq(+0x112e85)[0x523e85]
????? >> linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7f5a564]
????? >> ./linbpq(+0x8ea71)[0x49fa71]
????? >> ./linbpq(+0x8eb18)[0x49fb18]
????? >> ./linbpq(+0x8eb18)[0x49fb18]
????? >> ./linbpq(+0x8ea36)[0x49fa36]
????? >> ./linbpq(+0x8d72e)[0x49e72e]
????? >> ./linbpq(+0xca4a2)[0x4db4a2]
????? >> ./linbpq(+0xcd77b)[0x4de77b]
????? >> ./linbpq(main+0x1895)[0x525dde]
????? >>
????? >> Any idea?
????? >>
????? >> Misko YT7MPB
????? >>
????? >>
????? >>
????? >>
????? >>
????? >








FILE-export not working #bbs #fwd

 

Dear BPQ-community,
?
on my linbpq I have set up file-export to callsigns via the entry FILE according to the which worked with no problem so far. By chance I realized it doesn't anymore, even when reverting some BETAs back to Nov. 2024 from the running version 6.0.24.70 (32 and 64 bit on four systems). Please, can someone check if this problem also exists outside my bubble? Thanks for supporting,
?
73 - Jochen
?
p.s.: setting up my callsign as a regular BBS and putting the FILE EXPORT/filename.txt there works as an unwanted workaround :)


Re: USA Forwarding Issue

 

¿ªÔÆÌåÓý

Thanks to Lee & Mark,

It appears that my forwarding is now working correctly. It's too bad it took me so long to realize I had a problem.

73 de Ron VE3CGR


On 2025-04-25 4:55 p.m., John G8BPQ via groups.io wrote:
That could be useful. If not too difficult I'll add it.

73
John

On 25/04/2025 16:11, N9SEO via groups.io wrote:

Is it possible to add in the BBS command UI a tool to report which systems DEST@DIST will go to? Often I have had to debug this by disabling forwarding to all my peers, send a test message and check logs. But admittedly, if there was a more interactive tool we can use to pre-test this, it may help save confusion later on, and perhaps make troubleshooting for seasoned or beginners alike easier.

For clarity even if it was similar to :

BBS> CheckAddr WX@USA

250425 09:21:20 ?WG0A-1    Msg 40336 Routing Trace To WX Via USA
250425 09:21:20 ?WG0A-1    Routing Trace. Check if reached correct area My HA is #SCON.ON.CAN.NOAM
250425 09:21:20 ?WG0A-1    Routing Trace Type B TO WX VIA USA Route On WW NA USA (null) (null)
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VA3AMJ Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VA3BAL Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VA3BBS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VA7RBP Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE1LG Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE1MPF Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE2JOS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE2PKT Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE2YAG Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3CLG Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3KPG Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3MUS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3QBZ Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3TOK Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE4KLM Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE6NAS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE7ASS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE7YSF Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VY2XU Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Best Match is VA3AMJ



Virus-free.


Re: LinBPQ error & exit

 

Yes, that's what I needed, thanks.

It is crashing processing a KAM frame. I can't immediately see the problem but I'll look in more detail tomorrow.

73,
John

On 25/04/2025 18:01, Misko YT7MPB via groups.io wrote:
John,

Is that you asked for:

ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b 0x1895 0x525dde
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
??:0
??:0
ham@localhost:~/linbpq$

PS: Maybe I missed some. So let me know.

Misko YT7MPB


On 4/24/25 18:53, John G8BPQ via groups.io wrote:
You can run at any time. Can you try with the other address on each line
of the
dump?

Thanks
John


On 24 Apr 2025 14:21, "Misko YT7MPB via groups.io"
<skoric@...>
wrote:

ham@localhost:~/linbpq$ addr2line -e linbpq 0x523e85 0x49fa71 0x49fb18
0x49fa36
??:0
??:0
??:0
??:0
ham@localhost:~/linbpq$

(PS: I ran that command when no problem occurred. Should I run it only
when the problem appears?)

Misko YT7MPB


On 4/22/25 20:19, John G8BPQ via groups.io wrote:
> Could you run addr2line -e linbpq 0x523e85 0x49fa71 0x49fb18
0x49fa36
>
> That should give the source lines where the problem occurred.
>
> Thanks,
> John
>
> On 22/04/2025 16:50, Misko YT7MPB via groups.io wrote:
>> Hello,
>>
>> I have just noticed that LinBPQ sometimes prematurely exits. (I am
unsure whether it is an issue related to KAM driver I added recently.)
See the initialization of all ports, and later what fails ...
>>
>> Initialising Port 01 Telnet Server
>> Initialising Port 02 SCS Pactor /dev/ttyUSB1
>> Initialising Port 03 TCPKISS IP 127.0.0.1 Port 8001 Chan A
>> Initialising Port 04
>> UZ7HO Host 127.0.0.1 Port 8000 Chan A
>> Initialising Port 05
>> UZ7HO Host 127.0.0.1 Port 8000 Chan B
>> Initialising Port 06 KAM Pactor /dev/ttyUSB3
>> Using Shared Memory /BPQAPRSSharedMem
>> Map APRS Shared Memory Allocated at 0x43000000
>> APRS Digi/Gateway Enabled
>> Trying to start ./QtBPQAPRS
>>
>> Rig Control Enabled
>> MQTT Enabled 0
>> Starting Chat
>> Config File is /home/ham/linbpq/chatconfig.cfg
>> Chat Started
>> Starting Mail
>> Config File is /home/ham/linbpq/linmail.cfg
>> Config Processed
>> Mail Started
>> Using Shared Memory /BPQAPRSSharedMem
>> Map APRS Shared Memory Allocated at 0x43000000
>> Shared Memory Size 3401584 Max 33554432
>> LinBPQ Configured with MaxStations 1000 APRSCall YU7BPQ
>> SIGSEGV Received
>> ./linbpq(+0x112e85)[0x523e85]
>> linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7f5a564]
>> ./linbpq(+0x8ea71)[0x49fa71]
>> ./linbpq(+0x8eb18)[0x49fb18]
>> ./linbpq(+0x8eb18)[0x49fb18]
>> ./linbpq(+0x8ea36)[0x49fa36]
>> ./linbpq(+0x8d72e)[0x49e72e]
>> ./linbpq(+0xca4a2)[0x4db4a2]
>> ./linbpq(+0xcd77b)[0x4de77b]
>> ./linbpq(main+0x1895)[0x525dde]
>>
>> Any idea?
>>
>> Misko YT7MPB
>>
>>
>>
>>
>>
>




Re: USA Forwarding Issue

 

¿ªÔÆÌåÓý

That could be useful. If not too difficult I'll add it.

73
John

On 25/04/2025 16:11, N9SEO via groups.io wrote:

Is it possible to add in the BBS command UI a tool to report which systems DEST@DIST will go to? Often I have had to debug this by disabling forwarding to all my peers, send a test message and check logs. But admittedly, if there was a more interactive tool we can use to pre-test this, it may help save confusion later on, and perhaps make troubleshooting for seasoned or beginners alike easier.

For clarity even if it was similar to :

BBS> CheckAddr WX@USA

250425 09:21:20 ?WG0A-1    Msg 40336 Routing Trace To WX Via USA
250425 09:21:20 ?WG0A-1    Routing Trace. Check if reached correct area My HA is #SCON.ON.CAN.NOAM
250425 09:21:20 ?WG0A-1    Routing Trace Type B TO WX VIA USA Route On WW NA USA (null) (null)
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VA3AMJ Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VA3BAL Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VA3BBS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VA7RBP Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE1LG Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE1MPF Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE2JOS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE2PKT Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE2YAG Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3CLG Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3KPG Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3MUS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3QBZ Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE3TOK Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE4KLM Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE6NAS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE7ASS Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VE7YSF Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Matches BBS VY2XU Depth 2
250425 09:21:20 ?WG0A-1    Routing Trace HR Best Match is VA3AMJ


Re: LinBPQ error & exit

 

John,

The output of the dump bellow. Let me know if some more is of help ...


ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b 0x1895 0x525dde
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
??:0
??:0
ham@localhost:~/linbpq$


Misko YT7MPB


On 4/22/25 20:19, John G8BPQ via groups.io wrote:
Could you run addr2line -e linbpq 0x523e85 0x49fa71 0x49fb18 0x49fa36

That should give the source lines where the problem occurred.

Thanks,
John

On 22/04/2025 16:50, Misko YT7MPB via groups.io wrote:
Hello,

I have just noticed that LinBPQ sometimes prematurely exits. (I am
unsure whether it is an issue related to KAM driver I added recently.)
See the initialization of all ports, and later what fails ...

Initialising Port 01 Telnet Server
Initialising Port 02 SCS Pactor /dev/ttyUSB1
Initialising Port 03 TCPKISS IP 127.0.0.1 Port 8001 Chan A
Initialising Port 04
UZ7HO Host 127.0.0.1 Port 8000 Chan A
Initialising Port 05
UZ7HO Host 127.0.0.1 Port 8000 Chan B
Initialising Port 06 KAM Pactor /dev/ttyUSB3
Using Shared Memory /BPQAPRSSharedMem
Map APRS Shared Memory Allocated at 0x43000000
APRS Digi/Gateway Enabled
Trying to start ./QtBPQAPRS

Rig Control Enabled
MQTT Enabled 0
Starting Chat
Config File is /home/ham/linbpq/chatconfig.cfg
Chat Started
Starting Mail
Config File is /home/ham/linbpq/linmail.cfg
Config Processed
Mail Started
Using Shared Memory /BPQAPRSSharedMem
Map APRS Shared Memory Allocated at 0x43000000
Shared Memory Size 3401584 Max 33554432
LinBPQ Configured with MaxStations 1000 APRSCall YU7BPQ
SIGSEGV Received
./linbpq(+0x112e85)[0x523e85]
linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7f5a564]
./linbpq(+0x8ea71)[0x49fa71]
./linbpq(+0x8eb18)[0x49fb18]
./linbpq(+0x8eb18)[0x49fb18]
./linbpq(+0x8ea36)[0x49fa36]
./linbpq(+0x8d72e)[0x49e72e]
./linbpq(+0xca4a2)[0x4db4a2]
./linbpq(+0xcd77b)[0x4de77b]
./linbpq(main+0x1895)[0x525dde]

Any idea?

Misko YT7MPB





Re: LinBPQ error & exit

 

John,

Is that you asked for:

ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
ham@localhost:~/linbpq$ addr2line -e linbpq 0x112e85 0x523e85 0x8ea71
0x49fa71 0x8eb18 0x49fb18 0x8eb18 0x49fb18 0x8ea36 0x49fa36 0x8d72e
0x49e72e 0xca4a2 0x4db4a2 0xcd77b 0x4de77b 0x1895 0x525dde
/mnt/Source/bpq32/CommonSource/LinBPQ.c:394
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:807
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:829
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:790
??:0
/mnt/Source/bpq32/CommonSource/KAMPactor.c:339
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:505
??:0
/mnt/Source/bpq32/CommonSource/cMain.c:2062
??:0
??:0
??:0
ham@localhost:~/linbpq$

PS: Maybe I missed some. So let me know.

Misko YT7MPB


On 4/24/25 18:53, John G8BPQ via groups.io wrote:
You can run at any time. Can you try with the other address on each line
of the
dump?

Thanks
John


On 24 Apr 2025 14:21, "Misko YT7MPB via groups.io"
<skoric@...>
wrote:

ham@localhost:~/linbpq$ addr2line -e linbpq 0x523e85 0x49fa71 0x49fb18
0x49fa36
??:0
??:0
??:0
??:0
ham@localhost:~/linbpq$

(PS: I ran that command when no problem occurred. Should I run it only
when the problem appears?)

Misko YT7MPB


On 4/22/25 20:19, John G8BPQ via groups.io wrote:
> Could you run addr2line -e linbpq 0x523e85 0x49fa71 0x49fb18
0x49fa36
>
> That should give the source lines where the problem occurred.
>
> Thanks,
> John
>
> On 22/04/2025 16:50, Misko YT7MPB via groups.io wrote:
>> Hello,
>>
>> I have just noticed that LinBPQ sometimes prematurely exits. (I am
unsure whether it is an issue related to KAM driver I added recently.)
See the initialization of all ports, and later what fails ...
>>
>> Initialising Port 01 Telnet Server
>> Initialising Port 02 SCS Pactor /dev/ttyUSB1
>> Initialising Port 03 TCPKISS IP 127.0.0.1 Port 8001 Chan A
>> Initialising Port 04
>> UZ7HO Host 127.0.0.1 Port 8000 Chan A
>> Initialising Port 05
>> UZ7HO Host 127.0.0.1 Port 8000 Chan B
>> Initialising Port 06 KAM Pactor /dev/ttyUSB3
>> Using Shared Memory /BPQAPRSSharedMem
>> Map APRS Shared Memory Allocated at 0x43000000
>> APRS Digi/Gateway Enabled
>> Trying to start ./QtBPQAPRS
>>
>> Rig Control Enabled
>> MQTT Enabled 0
>> Starting Chat
>> Config File is /home/ham/linbpq/chatconfig.cfg
>> Chat Started
>> Starting Mail
>> Config File is /home/ham/linbpq/linmail.cfg
>> Config Processed
>> Mail Started
>> Using Shared Memory /BPQAPRSSharedMem
>> Map APRS Shared Memory Allocated at 0x43000000
>> Shared Memory Size 3401584 Max 33554432
>> LinBPQ Configured with MaxStations 1000 APRSCall YU7BPQ
>> SIGSEGV Received
>> ./linbpq(+0x112e85)[0x523e85]
>> linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7f5a564]
>> ./linbpq(+0x8ea71)[0x49fa71]
>> ./linbpq(+0x8eb18)[0x49fb18]
>> ./linbpq(+0x8eb18)[0x49fb18]
>> ./linbpq(+0x8ea36)[0x49fa36]
>> ./linbpq(+0x8d72e)[0x49e72e]
>> ./linbpq(+0xca4a2)[0x4db4a2]
>> ./linbpq(+0xcd77b)[0x4de77b]
>> ./linbpq(main+0x1895)[0x525dde]
>>
>> Any idea?
>>
>> Misko YT7MPB
>>
>>
>>
>>
>>
>