On 06/04/2011 02:27 PM, w1hkj wrote:
At your convenience please test 3.21.11 which is posted
http://www.w1hkj.com/alpha/fldigi/
I'm getting a number of compile warnings, which might
be related to the crash on startup I am also getting...
CXX fldigi-fl_digi.o
dialogs/fl_digi.cxx: In function ‘void create_fl_digi_main_primary()’:
dialogs/fl_digi.cxx:4265:57: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
dialogs/fl_digi.cxx:4444:47: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
CXX fldigi-font_browser.o
dialogs/font_browser.cxx: In member function ‘void
Font_Browser::FontNameSelect()’:
dialogs/font_browser.cxx:106:39: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
dialogs/font_browser.cxx:112:32: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
dialogs/font_browser.cxx: In constructor
‘Font_Browser::Font_Browser(int, int, int, int, const char*)’:
dialogs/font_browser.cxx:170:34: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
And sure enough, fldigi segfaults immediately after not
being able to find C&ountries.
That would be line 4647 in dialogs/fl_digi.cxx
if (!dxcc_is_open())
getMenuItem(COUNTRIES_MLABEL)->hide();
I'm guessing the "cast to pointer from integer of different
size" may have resulted in the menu item struct being
initialized wrong and hence not having the entries found.
However, I have not looked into fltk nearly enough to know
whether that is actually the case, or whether I'm just making
a fool of myself with a stupid guess :)
$ ./src/fldigi
E: getMenuItem: FIXME: could not find menu "C&ountries"
Caught signal 11
Aborting fldigi due to a fatal error.
Please report this to: [email protected]
or file a bug report at: https://fedorahosted.org/fldigi/newticket
****** Stack trace:
./src/fldigi[0x4e16a6]
./src/fldigi[0x4e1849]
/lib64/libpthread.so.0[0x3b3280f3c0]
./src/fldigi[0x4558ed]
./src/fldigi[0x458955]
./src/fldigi[0x4149fa]
/lib64/libc.so.6(__libc_start_main+0xed)[0x3b3202143d]
./src/fldigi[0x41776d]
****** Version information:
fldigi 3.21.11
Copyright (C) 2007-2010 Dave Freese, Stelios Bounanos, Leigh Klotz, Remi
Chateauneu, and others.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl-3.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
****** Build information:
Build information:
built : Sat Jun 4 15:12:54 EDT 2011 by
[email protected] on x86_64-unknown-linux-gnu for
x86_64-unknown-linux-gnu
configure flags:
compiler : gcc version 4.6.0 20110509 (Red Hat 4.6.0-7) (GCC)
compiler flags : -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/irrxml
-I$(srcdir)/fileselector -I$(srcdir)/xmlrpcpp -pthread
-I/usr/include/alsa -I/usr/include/freetype2 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
-I/usr/include/libpng12 -pipe -Wall -fexceptions -O2 -ffast-math
-finline-functions -DNDEBUG
linker flags : -lportaudio -lm -lpthread -lasound -lfltk_images
-lpng -lz -ljpeg -lfltk -lX11 -lsndfile -lsamplerate -lhamlib -lm
-lpng12 -ldl -lrt -lpthread
libraries : FLTK 1.1.10
libsamplerate 0.1.7
libsndfile 1.0.24
PortAudio 19
Hamlib 1.2.12
Runtime information:
system : Linux annuminas.surriel.com 2.6.38.6-27.fc15.x86_64
#1 SMP Sun May 15 17:23:28 UTC 2011 x86_64
libraries : libsamplerate-0.1.7 (c) 2002-2008 Erik de Castro Lopo
libsndfile-1.0.24
PortAudio V19-devel (built May 5 2011 12:46:03) 1899
Hamlib 1.2.12
--
All rights reversed.
_______________________________________________
fldigi-alpha mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/fldigi-alpha