Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora: aborting fldigi due to a fatal error. #13

Open
eusebiofg opened this issue May 9, 2020 · 3 comments
Open

Fedora: aborting fldigi due to a fatal error. #13

eusebiofg opened this issue May 9, 2020 · 3 comments

Comments

@eusebiofg
Copy link

****** Stack trace:
fldigi(+0x38d138)[0x55cad7494138]
/lib64/libstdc++.so.6(+0xaa6dc)[0x7f741b0226dc]
/lib64/libstdc++.so.6(+0xaa747)[0x7f741b022747]
/lib64/libstdc++.so.6(+0xaa9b9)[0x7f741b0229b9]
/lib64/libstdc++.so.6(+0x9e3c6)[0x7f741b0163c6]
fldigi(+0x46822b)[0x55cad756f22b]
fldigi(+0x24c98c)[0x55cad735398c]
fldigi(+0x250975)[0x55cad7357975]
fldigi(main+0xd82)[0x55cad7202922]
/lib64/libc.so.6(__libc_start_main+0xf3)[0x7f741adbc1a3]
fldigi(+0x1035ce)[0x55cad720a5ce]

****** Version information:
fldigi 4.1.12
Copyright (C) 2007-2010 Dave Freese, Stelios Bounanos, and others.
Licenza GPLv3+: GNU GPL versione 3 o successiva http://www.gnu.org/licenses/gpl-3.0.html
Questo e un programma libero: siete liberi di modificarlo e ridistribuirlo. Questo programma non e coperto da alcuna garanzia, salvo gli obblighi di legge.

****** Build information:
Build information:
built : Thu Apr 23 15:35:02 UTC 2020 by mockbuild@ on x86_64-redhat-linux-gnu for x86_64-redhat-linux-gnu

configure flags: '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-static' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

compiler : gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC)

compiler flags : -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/irrxml -I$(srcdir)/libtiniconv -I$(srcdir)/fileselector -I$(srcdir)/xmlrpcpp -I$(srcdir)/mbedtls -pthread -D_REENTRANT -pthread -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -Wall -fexceptions -O2 --param=max-vartrack-size=0 -I$(srcdir)/xmlrpcpp --param=max-vartrack-size=0 -DNDEBUG

linker flags : -lportaudio -lm -lpthread -lasound /usr/lib64/libfltk_images.a -lpng -lz -ljpeg /usr/lib64/libfltk.a -lXrender -lXcursor -lXfixes -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl -lm -lX11 -lX11 -lsndfile -lsamplerate -lpulse-simple -lpulse -lhamlib -lpng16 -lz -ldl -lpthread

libraries : FLTK 1.3.5
libsamplerate 0.1.9
libsndfile 1.0.28
PortAudio 19
PulseAudio 13.99.1-rebootstrapped
Hamlib 4.0~git

Runtime information:
system : Linux localhost.localdomain 5.6.8-200.fc31.x86_64 #1 SMP Wed Apr 29 19:10:01 UTC 2020 x86_64

libraries : libsamplerate-0.1.9 (c) 2002-2008 Erik de Castro Lopo
libsndfile-1.0.28
PortAudio V19-devel (built Jul 26 2019 00:00:00) 1899
Pulseaudio 13.99.0
Hamlib 4.0~git

@rikvanriel
Copy link
Contributor

To help narrow this down, would it be possible for you to install the fldigi-debuginfo package, as well as valgrind, and start up fldigi with valgrind:

$ valgrind fldigi

That way there should be output on exactly where in fldigi the crash is happening.

I am using fldigi on Fedora 31 myself, and am not seeing that error here, so I getting the output from your system would be very helpful.

@ghost
Copy link

ghost commented Sep 12, 2020

Same problem on openSUSE Tumbleweed

@ghost
Copy link

ghost commented Sep 12, 2020

****** Stack trace:
/usr/lib64/libstdc++.so.6(+0xae0ec)[0x7f941d2aa0ec]
/usr/lib64/libstdc++.so.6(+0xae157)[0x7f941d2aa157]
/usr/lib64/libstdc++.so.6(+0xae409)[0x7f941d2aa409]
/usr/lib64/libstdc++.so.6(+0xa2482)[0x7f941d29e482]
fldigi(+0x3efa38)[0x5601a2658a38]
fldigi(+0x1e1f9a)[0x5601a244af9a]
fldigi(+0x1ee117)[0x5601a2457117]
fldigi(main+0x959)[0x5601a2336cf9]
/lib64/libc.so.6(__libc_start_main+0xea)[0x7f941cefccca]
fldigi(+0xeafaa)[0x5601a2353faa]

****** Version information:
fldigi 4.1.14
Copyright (C) 2007-2010 Dave Freese, Stelios Bounanos, 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          : Thu Jan  1 00:00:00 UTC 1970 by openSUSE@openSUSE on x86_64-suse-linux-gnu for x86_64-suse-linux-gnu

  configure flags: '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' 'build_alias=x86_64-suse-linux-gnu' 'host_alias=x86_64-suse-linux-gnu' 'CXXFLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto' 'LDFLAGS=-flto=auto' 'CFLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

  compiler       : gcc version 10.2.1 20200825 [revision c0746a1beb1ba073c7981eb09f55b3d993b32e5c] (SUSE Linux) 

  compiler flags : -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/irrxml -I$(srcdir)/libtiniconv -I$(srcdir)/fileselector -I$(srcdir)/mbedtls -pthread -D_REENTRANT -pthread -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -Wall -fexceptions -O2 --param=max-vartrack-size=0 --param=max-vartrack-size=0 -DNDEBUG

  linker flags   : -lportaudio -lm -lpthread -lasound -lfltk_images -lfltk -lX11 -lsndfile -lsamplerate -lpulse-simple -lpulse -lhamlib -lpng16 -L/lib64 -lz -ldl -lpthread -lflxmlrpc

  libraries      : FLTK 1.3.5
                   libsamplerate 0.1.9
                   libsndfile 1.0.28
                   PortAudio 19
                   PulseAudio 13.0-rebootstrapped
                   Hamlib 3.3

Runtime information:
  system         : Linux ifrit-factory 5.8.4-1-default #1 SMP Wed Aug 26 10:53:09 UTC 2020 (64fe492) x86_64

  libraries      : libsamplerate-0.1.9 (c) 2002-2008 Erik de Castro Lopo
                   libsndfile-1.0.28-exp
                   PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4 1246720
                   Pulseaudio 13.0.0
                   Hamlib 3.3

@rikvanriel

==4849== Command: fldigi
==4849== 
==4849== Argument 'size' of function __builtin_vec_new has a fishy (possibly negative) value: -2716
==4849==    at 0x483950F: operator new[](unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4849==    by 0x4F7A37: Raster::Raster(int, int, int, int, int, bool) [clone .constprop.0] (in /usr/bin/fldigi)
==4849==    by 0x2E9F99: create_fl_digi_main_primary() (in /usr/bin/fldigi)
==4849==    by 0x2F6116: create_fl_digi_main(int, char**) (in /usr/bin/fldigi)
==4849==    by 0x1D5CF8: main (in /usr/bin/fldigi)
==4849== 
**4849** new/new[] failed and should throw an exception, but Valgrind
**4849**    cannot throw exceptions and so is aborting instead.  Sorry.
==4849==    at 0x48383AC: ??? (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4849==    by 0x4839585: operator new[](unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4849==    by 0x4F7A37: Raster::Raster(int, int, int, int, int, bool) [clone .constprop.0] (in /usr/bin/fldigi)
==4849==    by 0x2E9F99: create_fl_digi_main_primary() (in /usr/bin/fldigi)
==4849==    by 0x2F6116: create_fl_digi_main(int, char**) (in /usr/bin/fldigi)
==4849==    by 0x1D5CF8: main (in /usr/bin/fldigi)
==4849== 
==4849== HEAP SUMMARY:
==4849==     in use at exit: 281,914,861 bytes in 5,629,413 blocks
==4849==   total heap usage: 5,765,934 allocs, 136,521 frees, 291,473,844 bytes allocated
==4849== 
==4849== LEAK SUMMARY:
==4849==    definitely lost: 86,480 bytes in 1,633 blocks
==4849==    indirectly lost: 61,211 bytes in 2,262 blocks
==4849==      possibly lost: 368 bytes in 1 blocks
==4849==    still reachable: 281,766,802 bytes in 5,625,517 blocks
==4849==                       of which reachable via heuristic:
==4849==                         newarray           : 44,800,008 bytes in 1 blocks
==4849==         suppressed: 0 bytes in 0 blocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants