Re: Xlog and Hamlib-4

2020-12-01 Thread Barry Jackson
With 2003 (TS-450S correct code) in the config file all is working fine, 
except for "2002" shown in the Hamlib settings dialogue and the crash on 
hitting the 'Select a Radio' button.


Here is the tail of strace after hitting the Settings > Preferences > 
Hamlib > Select a Radio Button.


poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, 
events=POLLIN}], 3, 0) = 0 (Timeout)

getpid()= 1811321
getpid()= 1811321
getpid()= 1811321
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, 
[{iov_base="\24\0\6\0\236\5\240\2\321\1\0\0\6\0\0\0\0\0\0\0\377\377\377\377", 
iov_len=24}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 24

poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1 
:3\1\0\0\0\6\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 36

poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\16\0\2\0\236\5\240\2", iov_len=8}, 
{iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 8

poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\30;3\0\0\0\0006\1\0\0\0\0\0\0\330\1b\2\0\0\0\0\0\0\0\0\0\0\0\0", 
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32

poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="(\0\4\0\236\5\240\0026\1\0\0\0\0\0\0", 
iov_len=16}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16

poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\1<3\0\0\0\0\316\271*\1\230\1\351\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32

poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="(\0\4\0\236\5\240\0026\1\0\0\0\0\0\0", 
iov_len=16}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16

poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\1=3\0\0\0\0\316\271*\1\230\1\351\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32

getpid()= 1811321
getpid()= 1811321
getpid()= 1811321
write(12, "W", 1)   = 1
write(12, "W", 1)   = 1
futex(0x1876290, FUTEX_UNLOCK_PI_PRIVATE) = 0
futex(0x1876290, FUTEX_UNLOCK_PI_PRIVATE) = 0
fcntl(16, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=360, 
l_len=1}) = 0

pread64(16, "\0\0\0\0", 4, 44)  = 4
pread64(16, "\214-\0\0", 4, 364)= 4
pread64(16, "`\32\0\0D\0\0\0.\0\0\0\4\0\0\0\30\260\r\23\231\31\1&", 24, 
11660) = 24

pread64(16, "freedesktop\0button-pressed\0en_GB"..., 46, 11684) = 46
pread64(16, "\7\354\262_", 4, 11730)= 4
fcntl(16, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=360, 
l_len=1}) = 0
recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN (Resource 
temporarily unavailable)
recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN (Resource 
temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, 
events=POLLIN}], 3, 490) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\5\1=3|\2569\0026\1\0\0\236\5\240\2\0\0\0\0\323\2K\1;\1b\0\0\1\1\0", 
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN (Resource 
temporarily unavailable)
recvmsg(3, {msg_namelen=0}, 0)  = -1 EAGAIN 
(Resou/usr/share/themes/Adwaita/gtk-2.0/assets/button-active.png/usr/share/themes/Adwaita/gtk-2.0/assets/button-active.pngrce 
temporarily unavailable)

poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="$\0\1\0&\5\2\0006\1\0\0", iov_len=12}, 
{iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 12

poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\1?3\0\0\0\0006\1\0\0\316\271*\1\323\2K\1\323\2K\1\0\0\0\0\0\0\0\0", 
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32

poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="&\0\2\0\316\271*\1", iov_len=8}, {iov_base=NULL, 
iov_len=0}, {iov_base="", iov_len=0}], 3) = 8

poll([{fd=3, events=POLLIN}], 1, -1)= 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\1@3\0\0\0\0006\1\0\0\317\271*\1\323\2K\1?\1\202\0\0\0\0\0\0\0\0\0", 
iov_len=4096}], 

Re: Xlog and Hamlib-4

2020-12-01 Thread Barry Jackson

On 27/11/2020 02:40, Andy Stewart wrote:

On 11/26/20 6:36 PM, Barry Jackson wrote:

On 31/10/2020 02:55, Andy Stewart wrote:


HI Barry,


--

Let me know if you continue to have issues.


Hi Andy,
OK I finally found time to have another look at this.

I started by rebuilding against a recent hamlib snapshot.


Hi Barry,

I need very specific details in order to attempt to reproduce this problem.

* if the xlog version is not 2.0.19, please try again with that version, 
which is the latest


* Exact version of hamlib (ideally, the link from where you downloaded it)

* Exact type and version of Linux

* If you did any custom configuration when you compiled hamlib and/or 
xlog, I'll need those instructions as well


* I don't have a TS-405S, so I may not be able to reproduce the problem, 
but I will try.


Thanks, and 73,

Andy



Hi Andy,
I just realized that I still had not managed to send you the info you need.

I have tried three times but every time the message is rejected as spam.

I will try again now if I can remember what this is all about ;)

The best way to give you all the info you need is to point you to my 
local build server repository where you will find:


The full package build log:

http://mtf.duckdns.org/pub/linux/barjac/distrib/cauldron/x86_64/log/xlog-2.0.19-2.1.mga8_bcj.src.rpm/build.0.20201126222709.log

The versioned packages comprising the build chroot:

http://mtf.duckdns.org/pub/linux/barjac/distrib/cauldron/x86_64/log/xlog-2.0.19-2.1.mga8_bcj.src.rpm/rpm_qa.0.20201126222709.log

Hamlib snapshot git# and date are in the packagename which is listed in 
the packages list above, and was taken from the hamlib site as a source 
tarball. Other software like klog, wsjtx, jscall, fldigi are working 
fine built against it.


I am building for the imminent release of Mageia (8 aka Cauldron where 
the next release is cooked up :)


I will see if this mail sends OK. If not I will put it in a tarball and 
add it as an attachment and try again.


Let me know if I can help further with maybe a back trace or strace output.

Cheers,
Barry