Bug#995376: wsjtx: Segfault when use refspec

2021-10-25 Thread Benjamin Bänziger




On 25.10.21 02:54, tony mancill wrote:


Thank you Benjamin.  For some reason this bug report ended up in my spam
folder and I didn't see it before my rebuild upload.  I am uploading a
build with the patch now and will also prepare an upload of 2.5.1.



Thanks.
It would be great if someone could make a backport of 2.5.1 for bullseye
(and/or fix the bug in 2.3.0+repack-2).


73



Bug#995376: wsjtx: Segfault when use refspec

2021-10-25 Thread Christoph Berg
Re: tony mancill
> Thank you Benjamin.  For some reason this bug report ended up in my spam
> folder and I didn't see it before my rebuild upload.  I am uploading a
> build with the patch now and will also prepare an upload of 2.5.1.

Fwiw, the tarball-in-tarball weirdness should be handled by
debian/uupdate.sh by simply invoking "uscan". Please let me know if
that doesn't work for you, then we need to fix that script not to rely
on my local build enviroment tweaks.

Christoph



Bug#995376: wsjtx: Segfault when use refspec

2021-10-24 Thread tony mancill
On Thu, Oct 21, 2021 at 08:47:57PM +0200, Benjamin Bänziger wrote:
> A patch to fix this bug is available:
> https://sourceforge.net/p/wsjt/mailman/message/37370468/
> 
> It has also been fixed in the new wsjt-x release 2.5.1

Thank you Benjamin.  For some reason this bug report ended up in my spam
folder and I didn't see it before my rebuild upload.  I am uploading a
build with the patch now and will also prepare an upload of 2.5.1.

Cheers,
tony


signature.asc
Description: PGP signature


Bug#995376: wsjtx: Segfault when use refspec

2021-10-21 Thread Benjamin Bänziger

A patch to fix this bug is available:
https://sourceforge.net/p/wsjt/mailman/message/37370468/

It has also been fixed in the new wsjt-x release 2.5.1



Bug#995376: wsjtx: Segfault when use refspec

2021-10-06 Thread Benjamin Bänziger

Just a comment:
The issue can be reproduced in 2.3.0.



Bug#995376: wsjtx: Segfault when use refspec

2021-09-30 Thread Yvan Brodier

$ gdb wsjtx
GNU gdb (Debian 10.1-2) 10.1.90.20210103-git
Copyright (C) 2021 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 "x86_64-linux-gnu".
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 wsjtx...
(No debugging symbols found in wsjtx)
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/wsjtx
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x711d0640 (LWP 2167370)]
[New Thread 0x7fffea9fb640 (LWP 2167371)]
[New Thread 0x7fffea1fa640 (LWP 2167372)]
[New Thread 0x7fffe1056640 (LWP 2167379)]
[New Thread 0x7fffd7fff640 (LWP 2167404)]
[New Thread 0x7fffd77fe640 (LWP 2167405)]
[Thread 0x7fffd77fe640 (LWP 2167405) exited]
[New Thread 0x7fffd77fe640 (LWP 2167412)]
[Thread 0x7fffd77fe640 (LWP 2167412) exited]
[New Thread 0x7fffd77fe640 (LWP 2167413)]
[New Thread 0x7fffd6ffd640 (LWP 2167414)]
[New Thread 0x7fffd67fc640 (LWP 2167415)]
[New Thread 0x7fffbe76d640 (LWP 2167416)]
[New Thread 0x7fffbde2b640 (LWP 2167417)]
[New Thread 0x7fffbd62a640 (LWP 2167418)]
[Detaching after fork from child process 2167419]
[New Thread 0x7fffbce29640 (LWP 2167420)]
[Thread 0x7fffbce29640 (LWP 2167420) exited]
[New Thread 0x7fffbce29640 (LWP 2167421)]
[Thread 0x7fffbce29640 (LWP 2167421) exited]
[New Thread 0x7fffbce29640 (LWP 2167444)]
[New Thread 0x7fffa669a640 (LWP 2167445)]
[Thread 0x7fffd77fe640 (LWP 2167413) exited]

Thread 1 "wsjtx" received signal SIGSEGV, Segmentation fault.
__memmove_sse2_unaligned_erms () at 
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:391
391 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Aucun 
fichier ou dossier de ce type.

(gdb) bt
#0  __memmove_sse2_unaligned_erms () at 
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:391

#1  0x55724da0 in ?? ()
#2  0x5572ec0d in ?? ()
#3  0x55695103 in ?? ()
#4  0x75cb478c in QObject::event(QEvent*) () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#5  0x556d6925 in ?? ()
#6  0x76a5d74f in QApplicationPrivate::notify_helper(QObject*, 
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5

#7  0x55713169 in ?? ()
#8  0x75c87e9a in QCoreApplication::notifyInternal2(QObject*, 
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x75c8ae11 in 
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) 
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x75ce0413 in ?? () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x74745d0b in g_main_context_dispatch () from 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x74745fb8 in ?? () from 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x7474606f in g_main_context_iteration () from 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x75cdfa90 in 
QEventDispatcherGlib::processEvents(QFlags) 
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x75c868db in 
QEventLoop::exec(QFlags) () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x75c8eb10 in QCoreApplication::exec() () from 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#17 0x555e89ba in ?? ()
#18 0x75325e4a in __libc_start_main (main=0x555e70a0, 
argc=1, argv=0x7fffe058, init=, fini=out>, rtld_fini=, stack_end=0x7fffe048) at 
../csu/libc-start.c:314

#19 0x555eb65a in ?? ()
(gdb) Quit
(gdb)


Le 30/09/2021 à 21:18, Christoph Berg a écrit :

Re: Yvan Brodier

Yes :


recvmsg(6, {msg_namelen=0}, 0)  = -1 EAGAIN (Ressource temporairement 
non disponible)

I meant a backtrace from gdb:

https://wiki.debian.org/HowToGetABacktrace

Christoph




Bug#995376: wsjtx: Segfault when use refspec

2021-09-30 Thread Christoph Berg
Re: Yvan Brodier
> Yes :
> 
> > recvmsg(6, {msg_namelen=0}, 0)  = -1 EAGAIN (Ressource 
> > temporairement non disponible)

I meant a backtrace from gdb:

https://wiki.debian.org/HowToGetABacktrace

Christoph



Bug#995376: wsjtx: Segfault when use refspec

2021-09-30 Thread Christoph Berg
Re: F1RAD
> +++ killed by SIGSEGV +++
> Erreur de segmentation

Hi,

can you get a backtrace for this?

Christoph



Bug#995376: wsjtx: Segfault when use refspec

2021-09-30 Thread F1RAD
Package: wsjtx
Version: 2.5.0+repack-1
Severity: normal
X-Debbugs-Cc: y...@brodier.fr

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wsjtx depends on:
ii  libboost-filesystem1.74.0  1.74.0-11
ii  libboost-log1.74.0 1.74.0-11
ii  libboost-thread1.74.0  1.74.0-11
ii  libc6  2.32-4
ii  libfftw3-single3   3.3.8-2
ii  libgcc-s1  11.2.0-8
ii  libgfortran5   11.2.0-8
ii  libgomp1   11.2.0-8
ii  libhamlib-utils4.1-4
ii  libhamlib4 4.1-4
ii  libqcustomplot2.0  2.0.1+dfsg1-5
ii  libqt5core5a   5.15.2+dfsg-12
ii  libqt5gui5-gles5.15.2+dfsg-4
ii  libqt5multimedia5  5.15.2-3
ii  libqt5multimedia5-plugins  5.15.2-3
ii  libqt5network5 5.15.2+dfsg-12
ii  libqt5serialport5  5.15.2-2
ii  libqt5sql5 5.15.2+dfsg-12
ii  libqt5sql5-sqlite  5.15.2+dfsg-12
ii  libqt5widgets5 5.15.2+dfsg-12
ii  libstdc++6 11.2.0-8
ii  wsjtx-data 2.5.0+repack-1

Versions of packages wsjtx recommends:
ii  wsjtx-doc  2.5.0+repack-1

wsjtx suggests no packages.


*** /home/yvan/bug_wsjtx_refspec_segfault.txt
stat("/home/yvan/.local/share/WSJT-X - FTdx10/refspec.dat",
{st_mode=S_IFREG|0644, st_size=204045, ...}) = 0
openat(AT_FDCWD, "/home/yvan/.local/share/WSJT-X - FTdx10/refspec.dat",
O_RDWR|O_CLOEXEC) = 35
fstat(35, {st_mode=S_IFREG|0644, st_size=204045, ...}) = 0
read(35, "  400 26005   0.998338692583"..., 8192) = 8192
read(35, ".575620   0.722E+00   -2.827332\n"..., 8192) = 8192
read(35, "E+030.267170   0.953E+00   -"..., 8192) = 8192
read(35, "6   0.238E+030.543921   0.98"..., 8192) = 8192
read(35, "   961.806   0.194E+03   -0.3362"..., 8192) = 8192
read(35, "0.027988\n  1203.125   0.191E+03 "..., 8192) = 8192
read(35, "6E+00   -0.034669\n  1444.444   0"..., 8192) = 8192
read(35, "10   0.995E+00   -0.044064\n  168"..., 8192) = 8192
read(35, "  -0.312609   0.101E+010.075"..., 8192) = 8192
read(35, ".212E+030.038716   0.106E+01"..., 8192) = 8192
read(35, "7.986   0.153E+03   -1.381164   "..., 8192) = 8192
read(35, "172\n  2649.306   0.102E+03   -3."..., 8192) = 8192
read(35, "4.781285\n  2890.625   0.729E"..., 8192) = 8192
read(35, "0.703E+01   16.938522\n  3131.945"..., 8192) = 8192
read(35, "157864   0.649E-04  -83.758591\n "..., 8192) = 8192
read(35, "+00  -31.432732   0.298E-10 -210"..., 8192) = 8192
read(35, "   0.143E+00  -31.669735   0.134"..., 8192) = 8192
read(35, " 4095.486   0.155E+00  -31.33166"..., 8192) = 8192
read(35, ".517944\n  4336.806   0.123E+00  "..., 8192) = 8192
read(35, "E-35 -717.285217\n  4578.125   0."..., 8192) = 8192
read(35, "9   0.604E-42 -844.379822\n  4819"..., 8192) = 8192
read(35, "-33.420692   0.263E-42 -851.5862"..., 8192) = 8192
read(35, "850E-01  -33.929520   0.275E-42 "..., 8192) = 8192
read(35, ".667   0.731E-01  -34.581970   0"..., 8192) = 8192
read(35, "02\n  5782.986   0.796E-01  -34.2"..., 8192) = 7437
read(35, "", 8192)  = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7ffc0c2417a0} ---
+++ killed by SIGSEGV +++
Erreur de segmentation