Bill Somerville <g4wjs@...> writes:

> 
> On 12/07/2015 20:18, John N1ISA wrote:
> > Greetings All...
> Hi John,
> >
> > I am seeing a WSPR-2 segmentation fault running WSJT-X v1.6.0-devel 
r5717
> > in Linux. I am using a custom Ubuntu 15.04 install. I have run 
countless
> > WSJT-X v1.6.0 devel versions without any issues for many, many months 
now.
> >
> > I am fairly confident that I ran WSPR-2 without any segmentation faults
> > with r5700, and earlier versions. I updated to r5716 this morning, and 
was
> > running JT65 without any issues, and then updated to r5717 this 
afternoon,
> > and attempt to run WSPR-2, but I get a Segmentation Fault at 59 second
> > mark, and also when just changing modes... from JT65 to WSPR-2.
> >
> > I start WSJT-X in a terminal via the command line. All I see is
> > "Segmentation fault" in the terminal. There is no additional details, 
or
> > information provided.
> >
> > I can also get a segmentation fault when just changing modes, from JT65 
to
> > WSPR-2. When I click WSPR-2 I get a immediate crash, with segmentation
> > fault displayed in the terminal. I have not see this issue in any other
> > WSJT-X devel release
> >
> > I do find it a bit odd, that when I do to re-start WSJT-X. The mode is
> > "JT65", and I see the "Red" frequency box with 14.095 600. I would 
expect
> > that when I restart, I would be in WSPR-2 mode.
> >
> > I can start WSJT-X in WSPR-2 mode, and I will observe a segmentation 
fault
> > at second 59 (immediate crash).
> >
> > So, to clarify my bug report:
> >
> > #1 I see a WSPR-2 segmentation fault at second 59 (immediate crash at 
the
> > 59 second mark).
> > #2 I see a WSPR-2 segmentation fault when just changing modes... from 
JT65
> > to WSPR-2 (immediate crash when I click WSPR-2 mode, when I was 
previously
> > running JT65 successfully decoding).
> >
> > I can run JT65 mode in r5717 without any issues.
> I can't reproduce this so you may need to help me a little with 
> diagnosing this issue. First a couple of questions:
> 
> How are you building WSJT-X?
> Do you know how to build a debug configuration?
> Do you have any experience of using the gdb debugger?
> >
> > 73, John, N1ISA
> 73
> Bill
> G4WJS.
> 
> -------------------------------------------------------------------------
-----
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> 

Hi Bill,

>>>>>>>> You said..."How are you building WSJT-X?"

I use the build procedure you posted a very long time ago...

I install these packages: cmake subversion pkg-config clang gfortran 
libfftw3-dev git libgfortran3 libusb-dev autoconf libtool texinfo qt5-
default qtmultimedia5-dev libqt5multimedia5-plugins libqt5serialport5-dev 
libc6 libgcc1 libquadmath0

and use this procedure:

mkdir ~/src

cd ~/src/

git clone git://git.code.sf.net/u/bsomervi/hamlib u-bsomervi-hamlib

cd u-bsomervi-hamlib/

git checkout integration

mkdir -p ~/build/hamlib

cd ~/build/hamlib/

~/src/u-bsomervi-hamlib/autogen.sh --prefix=$HOME/local/hamlib --disable-
shared --enable-static --disable-winradio

make && make install

cd ~/src/

svn checkout svn://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx wsjtx

mkdir -p ~/build/wsjtx/Release

cd ~/build/wsjtx/Release/

cmake -D WSJT_GENERATE_DOCS=OFF -D WSJT_INCLUDE_KVASD=ON -D 
WSJT_SKIP_MANPAGES=ON -D CMAKE_PREFIX_PATH:PATH=~/local/hamlib -D 
CMAKE_INSTALL_PREFIX=~/local/wsjtx/Release ~/src/wsjtx

cmake --build . --target install -- -kj

Test:

~/local/wsjtx/Release/bin/wsjtx

>>>>>>>> You said... "Do you know how to build a debug configuration?" No, 
Bill. I've never done that. Building WSJT-X was the first software I've 
ever built, and I've only done that using the method you described in a 
posting.


>>>>>>>> You said... "Do you have any experience of using the gdb 
debugger?" No. I have no experience with any debugging tools, but I am 
willing to try, if you think it's worth your time, and effort.

73, John, N1ISA


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to