nwdigitalradio / rmsgw

Linux RMS Gateway
GNU General Public License v2.0
21 stars 12 forks source link

rmsgwmon segfault on Bookworm #17

Open posixPilot opened 8 months ago

posixPilot commented 8 months ago

Hi,

I've recently relocated my RMS gateway over to a RPi4 running Bookworm. I rebuilt rmsgw 2.5.1 using sources from https://github.com/nwdigitalradio/rmsgw . When I try to run rmsgwmon, it immediately crashes with a "Segmentation fault" error.

Using print statements, I've managed to isolate this segfault to a call to wattroff in function aciStatus() on line 165 of rmsgwmon.c:

      `wattroff(win, COLOR_PAIR(SCR_COLOR_ACI_IDLE) | A_BOLD);`

I am using version 6.4-4 of the libncurses6 package, which was the default with Bookworm. On my older system, I was running Debian Stretch with the libncurses5 package and rmsgwmon appeared to work.

Thanks Mike

bhhoyer commented 7 months ago

HI Mike,

Please post the AMBE Subgroup on our Groups.io Site:

https://nw-digital-radio.groups.io/g/main

On Mon, Nov 27, 2023 at 7:06 PM posixPilot @.***> wrote:

Hi,

I've recently relocated my RMS gateway over to a RPi4 running Bookworm. I rebuilt rmsgw 2.5.1 using sources from https://github.com/nwdigitalradio/rmsgw . When I try to run rmsgwmon, it immediately crashes with a "Segmentation fault" error.

Using print statements, I've managed to isolate this segfault to a call to wattroff in function aciStatus() on line 165 of rmsgwmon.c:

  `wattroff(win, COLOR_PAIR(SCR_COLOR_ACI_IDLE) | A_BOLD);`

I am using version 6.4-4 of the libncurses6 package, which was the default with Bookworm. On my older system, I was running Debian Stretch with the libncurses5 package and rmsgwmon appeared to work.

Thanks Mike

— Reply to this email directly, view it on GitHub https://github.com/nwdigitalradio/rmsgw/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDYY3XUXRJP56F3L47O74TYGVIMRAVCNFSM6AAAAAA7474GZOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTGNJSGEZDSMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>