开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

How to debug a d-rats coredump


 

开云体育

Hello Everyone,

I've been successfully playing around with D-RATS v0.3.9 beta 3 on Centos 6.10 and I left the program running over night and found it crashed. The last thing I see on the terminal screen is:

--
Chat????? : Got chat frame: DDT2+: 0:1:5 DL0NOT-H->CQCQCQ (2QRA DL0NOT WinMor/ALE Station - QTH Karben JO40jf QRV]...[55])??? ?
Sessionmgr: Received block 0:5 for session `chat'???????????????????????????????????????????????????????????????????????????? ?
Transport : Got a block: DDT2+: 0:1:5 ED2YAV->CQCQCQ (2Online (D-RATS)...[16])??????????????????????????????????????????????? ?
Chat????? : Got chat frame: DDT2+: 0:1:5 ED2YAV->CQCQCQ (2Online (D-RATS)...[16])???????????????????????????????????????????? ?
Sessionmgr: Received block 0:5 for session `chat'???????????????????????????????????????????????????????????????????????????? ?
Transport : Got a block: DDT2+: 0:1:5 KS2ARR-C->CQCQCQ (1Online (D-RATS)...[16])????????????????????????????????????????????? ?
Segmentation fault (core dumped)?
--

Here are the various versions of the program's dependencies installed on this machine:

?? python-2.6.6-68.el6_10.x86_64
?? pygtk2-2.24.0-1.el6.x86_64
?? python-six-1.9.0-2.el6.noarch
?? libxml2-python-2.7.6-21.el6_8.1.x86_64
?? pygtk2-libglade-2.24.0-1.el6.x86_64
?? libglade2-2.6.4-3.1.el6.x86_64
?? python-serial-2.4-6.1.noarch
?? libxslt-1.1.26-2.el6_3.1.x86_64


I tried to run "gdb -c core.24111 d-rats.py" but nothing useful came from the backtrace:
--
Core was generated by `/usr/bin/python ./d-rats.py'.??????????????????????????????????????????????????????????????????????????
Program terminated with signal 11, Segmentation fault.????????????????????????????????????????????????????????????????????????
#0? 0x0000003da8c44c50 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
(gdb) bt??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
#0? 0x0000003da8c44c50 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#1? 0x000000000247d330 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#2? 0x00000033b16270eb in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#3? 0x0000000001bbf990 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#4? 0x00000033b16275fe in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#5? 0x000000000247d390 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#6? 0x0000000002430a20 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#7? 0x00000000021dce20 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#8? 0x000000000247d390 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#9? 0x0000000000000000 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
(gdb) quit
--

Any recommendations how to provide some useful information here to figure out what happened?

--David
KI6ZHD


 

David,

It appears from gdb that you're running a "stripped" version of the d-rats executable. If you want to see symbols with the stack frames, you'll need to run a version of d-rats with symbols that haven't been stripped.

Wish I could give you better news about debugging that particular crash...

-Dave

On Thu, Jun 11, 2020 at 11:14 AM David Ranch <dstar@...> wrote:
Hello Everyone,

I've been successfully playing around with D-RATS v0.3.9 beta 3 on Centos 6.10 and I left the program running over night and found it crashed. The last thing I see on the terminal screen is:

--
Chat????? : Got chat frame: DDT2+: 0:1:5 DL0NOT-H->CQCQCQ (2QRA DL0NOT WinMor/ALE Station - QTH Karben JO40jf QRV]...[55])??? ?
Sessionmgr: Received block 0:5 for session `chat'???????????????????????????????????????????????????????????????????????????? ?
Transport : Got a block: DDT2+: 0:1:5 ED2YAV->CQCQCQ (2Online (D-RATS)...[16])??????????????????????????????????????????????? ?
Chat????? : Got chat frame: DDT2+: 0:1:5 ED2YAV->CQCQCQ (2Online (D-RATS)...[16])???????????????????????????????????????????? ?
Sessionmgr: Received block 0:5 for session `chat'???????????????????????????????????????????????????????????????????????????? ?
Transport : Got a block: DDT2+: 0:1:5 KS2ARR-C->CQCQCQ (1Online (D-RATS)...[16])????????????????????????????????????????????? ?
Segmentation fault (core dumped)?
--

Here are the various versions of the program's dependencies installed on this machine:

?? python-2.6.6-68.el6_10.x86_64
?? pygtk2-2.24.0-1.el6.x86_64
?? python-six-1.9.0-2.el6.noarch
?? libxml2-python-2.7.6-21.el6_8.1.x86_64
?? pygtk2-libglade-2.24.0-1.el6.x86_64
?? libglade2-2.6.4-3.1.el6.x86_64
?? python-serial-2.4-6.1.noarch
?? libxslt-1.1.26-2.el6_3.1.x86_64


I tried to run "gdb -c core.24111 d-rats.py" but nothing useful came from the backtrace:
--
Core was generated by `/usr/bin/python ./d-rats.py'.??????????????????????????????????????????????????????????????????????????
Program terminated with signal 11, Segmentation fault.????????????????????????????????????????????????????????????????????????
#0? 0x0000003da8c44c50 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
(gdb) bt??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
#0? 0x0000003da8c44c50 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#1? 0x000000000247d330 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#2? 0x00000033b16270eb in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#3? 0x0000000001bbf990 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#4? 0x00000033b16275fe in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#5? 0x000000000247d390 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#6? 0x0000000002430a20 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#7? 0x00000000021dce20 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#8? 0x000000000247d390 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#9? 0x0000000000000000 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
(gdb) quit
--

Any recommendations how to provide some useful information here to figure out what happened?

--David
KI6ZHD


 

开云体育

Hi all

?

If can be of help to debug this, D-Rats can be invoked with “cprofiling” option (as well as other options to force a reconfig or a safe mode start)

?

?

have a nice weekend

maurizio

?

From: [email protected] <[email protected]> On Behalf Of David Ranch
Sent: giovedì 11 giugno 2020 17:15
To: [email protected]
Subject: [d-rats] How to debug a d-rats coredump

?

Hello Everyone,

I've been successfully playing around with D-RATS v0.3.9 beta 3 on Centos 6.10 and I left the program running over night and found it crashed. The last thing I see on the terminal screen is:

--
Chat????? : Got chat frame: DDT2+: 0:1:5 DL0NOT-H->CQCQCQ (2QRA DL0NOT WinMor/ALE Station - QTH Karben JO40jf QRV]...[55])??? ?
Sessionmgr: Received block 0:5 for session `chat'???????????????????????????????????????????????????????????????????????????? ?
Transport : Got a block: DDT2+: 0:1:5 ED2YAV->CQCQCQ (2Online (D-RATS)...[16])??????????????????????????????????????????????? ?
Chat????? : Got chat frame: DDT2+: 0:1:5 ED2YAV->CQCQCQ (2Online (D-RATS)...[16])???????????????????????????????????????????? ?
Sessionmgr: Received block 0:5 for session `chat'???????????????????????????????????????????????????????????????????????????? ?
Transport : Got a block: DDT2+: 0:1:5 KS2ARR-C->CQCQCQ (1Online (D-RATS)...[16])????????????????????????????????????????????? ?
Segmentation fault (core dumped)?
--

Here are the various versions of the program's dependencies installed on this machine:

?? python-2.6.6-68.el6_10.x86_64
?? pygtk2-2.24.0-1.el6.x86_64
?? python-six-1.9.0-2.el6.noarch
?? libxml2-python-2.7.6-21.el6_8.1.x86_64
?? pygtk2-libglade-2.24.0-1.el6.x86_64
?? libglade2-2.6.4-3.1.el6.x86_64
?? python-serial-2.4-6.1.noarch
?? libxslt-1.1.26-2.el6_3.1.x86_64


I tried to run "gdb -c core.24111 d-rats.py" but nothing useful came from the backtrace:
--
Core was generated by `/usr/bin/python ./d-rats.py'.??????????????????????????????????????????????????????????????????????????
Program terminated with signal 11, Segmentation fault.????????????????????????????????????????????????????????????????????????
#0? 0x0000003da8c44c50 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
(gdb) bt??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
#0? 0x0000003da8c44c50 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#1? 0x000000000247d330 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#2? 0x00000033b16270eb in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#3? 0x0000000001bbf990 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#4? 0x00000033b16275fe in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#5? 0x000000000247d390 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#6? 0x0000000002430a20 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#7? 0x00000000021dce20 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#8? 0x000000000247d390 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
#9? 0x0000000000000000 in ?? ()???????????????????????????????????????????????????????????????????????????????????????????????
(gdb) quit
--

Any recommendations how to provide some useful information here to figure out what happened?

--David
KI6ZHD