← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 1448188] Re: Ubuntu 15.10: fldigi 3.22.04-1 crashes on start-up

 

*** vivid SRU justification : fldigi (3.22.04-1ubuntu2) ***

[Impact]

 * Access of some uninitialized structures at startup manifests either
   as a no-op or a crash, depending on the state of the user's fldigi
   application configuration file(s).

 * This affects a substantial number of fldigi users upon upgrade to vivid,
   as noted by this bug, its duplicate, and many posts on the linuxham mailing
   list, e.g.:
     https://groups.yahoo.com/neo/groups/linuxham/conversations/topics/26170
     https://groups.yahoo.com/neo/groups/linuxham/conversations/topics/28010

 * The vivid SRU upload (3.22.04-1ubuntu2) applies a straightforward backport
   of the upstream patch from upstream 3.22.10 which corrects the structure
   access order.  That version (3.22.10) has been deployed to Debian unstable so
   will appear in Ubuntu wily.

[Test Case]

 * Testing the fix required an fldigi configuration state which happens
   to trigger the crash. This fix has been successfully tested by two
   users who did experience the crash. This procedure may or may not
   result in a crashing configuration.

   1. Start up an older version of fldigi and configure it via its setup
      wizard.
   2. Upgrade fldigi to version 3.22.04-1 and try starting it.
   3. Observe crash with dump referring to "fl_height" (see bug report).
   4. Upgrade fldigi to version 3.22.04-1ubuntu2 and try starting it.
   5. Observe no crash.

[Regression Potential]

 * Regressions resulting from this fix would likely manifest in a similar
   way as the original failure: crashes at startup.

** Patch added: "vivid-sru-3.22.04-1ubuntu2.debdiff"
   https://bugs.launchpad.net/ubuntu/wily/+source/fldigi/+bug/1448188/+attachment/4408307/+files/vivid-sru-3.22.04-1ubuntu2.debdiff

** Description changed:

+ *** Ubuntu Vivid SRU justification : Please refer to comment #11 ***
+ 
+ -------------------------------------------------------------
+ 
  I just upgraded from Ubuntu 14.10 to 15.04.   fldigi now crashes with:
  
  dave@sparrow:~$ fldigi
  I: main: appname: fldigi
  I: main: HomeDir: /home/dave/.fldigi/
  I: main: RigsDir: /home/dave/.fldigi/rigs/
  I: main: ScriptsDir: /home/dave/.fldigi/scripts/
  I: main: PalettesDir: /home/dave/.fldigi/palettes/
  I: main: LogsDir: /home/dave/.fldigi/logs/
  I: main: PicsDir: /home/dave/.fldigi/images/
  I: main: HelpDir: /home/dave/.fldigi/help/
  I: main: MacrosDir: /home/dave/.fldigi/macros/
  I: main: WrapDir: /home/dave/.fldigi/wrap/
  I: main: TalkDir: /home/dave/.fldigi/talk/
  I: main: TempDir: /home/dave/.fldigi/temp/
  I: main: KmlDir: /home/dave/.fldigi/kml/
  I: main: PskMailDir: /home/dave/
  I: main: DATA_dir: /home/dave/.fldigi/data/
  I: main: NBEMS_dir: /home/dave/.nbems/
  I: main: ARQ_dir: /home/dave/.nbems/ARQ/
  I: main: ARQ_files_dir: /home/dave/.nbems/ARQ/files/
  I: main: ARQ_recv_dir: /home/dave/.nbems/ARQ/recv/
  I: main: ARQ_send: /home/dave/.nbems/ARQ/send/
  I: main: WRAP_dir: /home/dave/.nbems/WRAP/
  I: main: WRAP_recv_dir: /home/dave/.nbems/WRAP/recv/
  I: main: WRAP_send_dir: /home/dave/.nbems/WRAP/send/
  I: main: WRAP_auto_dir: /home/dave/.nbems/WRAP/auto/
  I: main: ICS_dir: /home/dave/.nbems/ICS/
  I: main: ICS_msg_dir: /home/dave/.nbems/ICS/messages/
  I: main: ICS_tmp_dir: /home/dave/.nbems/ICS/templates/
  I: main: FLMSG_dir: /home/dave/.nbems/
  I: main: FLMSG_dir_default: /home/dave/.nbems/
  I: main: FLMSG_WRAP_dir: /home/dave/.nbems/WRAP/
  I: main: FLMSG_WRAP_recv_dir: /home/dave/.nbems/WRAP/recv/
  I: main: FLMSG_WRAP_send_dir: /home/dave/.nbems/WRAP/send/
  I: main: FLMSG_WRAP_auto_dir: /home/dave/.nbems/WRAP/auto/
  I: main: FLMSG_ICS_dir: /home/dave/.nbems/ICS/
  I: main: FLMSG_ICS_msg_dir: /home/dave/.nbems/ICS/messages/
  I: main: FLMSG_ICS_tmp_dir: /home/dave/.nbems/ICS/templates/
  
  Caught signal 11
  Aborting fldigi due to a fatal error.
  Please report this to:   fldigi-devel@xxxxxxxxxxxxxxxx
  or file a bug report at: https://fedorahosted.org/fldigi/newticket
  
  ****** Stack trace:
  fldigi[0x58a132]
  fldigi[0x58a2f3]
  /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10)[0x7fe42b12dd10]
  /usr/lib/x86_64-linux-gnu/libfltk.so.1.3(_ZN23Fl_Xlib_Graphics_Driver6heightEv+0x10)[0x7fe42ac74a10]
  /usr/lib/x86_64-linux-gnu/libfltk.so.1.3(_Z9fl_heightii+0x38)[0x7fe42ac71598]
  fldigi[0x649515]
  fldigi[0x64d861]
  fldigi[0x646c86]
  fldigi[0x64e490]
  fldigi[0x64f41c]
  fldigi[0x651cce]
  fldigi[0x49783a]
  fldigi[0x4a02f5]
  fldigi[0x41988e]
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fe428c4ea40]
  fldigi[0x41f63c]
  
  ****** Version information:
  fldigi 3.22.04
  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          : Fri Jan  9 05:15:27 UTC 2015 by buildd@brownie on x86_64-pc-linux-gnu for x86_64-pc-linux-gnu
+   built          : Fri Jan  9 05:15:27 UTC 2015 by buildd@brownie on x86_64-pc-linux-gnu for x86_64-pc-linux-gnu
  
-   configure flags: '--build=x86_64-linux-gnu' '--prefix=/usr' '--
+   configure flags: '--build=x86_64-linux-gnu' '--prefix=/usr' '--
  includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--
  infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var'
  '--libexecdir=${prefix}/lib/fldigi' '--disable-maintainer-mode'
  '--disable-dependency-tracking' 'CFLAGS=-g -O2 -fstack-protector-strong
  -Wformat -Werror=format-security' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'
  'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-
  security' 'FCFLAGS=-g -O2 -fstack-protector-strong' 'FFLAGS=-g -O2
  -fstack-protector-strong' 'GCJFLAGS=-g -O2 -fstack-protector-strong'
  'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'OBJCFLAGS=-g -O2
  -fstack-protector-strong -Wformat -Werror=format-security'
  'OBJCXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-
  security' '--disable-silent-rules' 'build_alias=x86_64-linux-gnu'
  
-   compiler       : gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu1)
+   compiler       : gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu1)
  
-   compiler flags : -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/irrxml
+   compiler flags : -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/irrxml
  -I$(srcdir)/libtiniconv -I$(srcdir)/fileselector -I$(srcdir)/xmlrpcpp
  -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64
  -linux-gnu/glib-2.0/include -I/usr/include/pixman-1
  -I/usr/include/freetype2 -I/usr/include/libpng12
  -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0
  -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
  -I/usr/include/freetype2 -I/usr/include/libpng12 -D_LARGEFILE_SOURCE
  -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_REENTRANT
  -I/usr/include/libpng12 -pipe -Wall -fexceptions -O2 -ffast-math
  -finline-functions -DNDEBUG
  
-   linker flags   : -lportaudio -lasound -lm -lpthread -Wl,-Bsymbolic-
+   linker flags   : -lportaudio -lasound -lm -lpthread -Wl,-Bsymbolic-
  functions -lfltk_images -lfltk -lX11 -lX11 -lsndfile -lsamplerate
  -lpulse-simple -lpulse -lhamlib -lm -lpng12 -ldl -lpthread
  
-   libraries      : FLTK 1.3.1
-                    libsamplerate 0.1.8
-                    libsndfile 1.0.25
-                    PortAudio 19
-                    PulseAudio 4.0
-                    Hamlib 1.2.15.3
+   libraries      : FLTK 1.3.1
+                    libsamplerate 0.1.8
+                    libsndfile 1.0.25
+                    PortAudio 19
+                    PulseAudio 4.0
+                    Hamlib 1.2.15.3
  
  Runtime information:
-   system         : Linux sparrow 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64
+   system         : Linux sparrow 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64
  
-   libraries      : libsamplerate-0.1.8 (c) 2002-2008 Erik de Castro Lopo
-                    libsndfile-1.0.25
-                    PortAudio V19-devel (built Feb 25 2014 21:09:53) 1899
-                    Pulseaudio 6.0.0
-                    Hamlib 1.2.15.3
+   libraries      : libsamplerate-0.1.8 (c) 2002-2008 Erik de Castro Lopo
+                    libsndfile-1.0.25
+                    PortAudio V19-devel (built Feb 25 2014 21:09:53) 1899
+                    Pulseaudio 6.0.0
+                    Hamlib 1.2.15.3
  
  This is from:
  
  dave@sparrow:~$ apt-cache policy fldigi
  fldigi:
-   Installed: 3.22.04-1
-   Candidate: 3.22.04-1
-   Version table:
-  *** 3.22.04-1 0
-         500 http://gb.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 3.22.04-1
+   Candidate: 3.22.04-1
+   Version table:
+  *** 3.22.04-1 0
+         500 http://gb.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
+         100 /var/lib/dpkg/status
  
  For info: I have successfully compiled fldigi 3.22.07 from source on
  15:04 but the resulting executable also crashes on start-up as above.

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to fldigi in Ubuntu.
https://bugs.launchpad.net/bugs/1448188

Title:
  Ubuntu 15.10: fldigi 3.22.04-1 crashes on start-up

Status in fldigi package in Ubuntu:
  Fix Committed
Status in fldigi source package in Vivid:
  In Progress
Status in fldigi source package in Wily:
  Fix Committed

Bug description:
  *** Ubuntu Vivid SRU justification : Please refer to comment #11 ***

  -------------------------------------------------------------

  I just upgraded from Ubuntu 14.10 to 15.04.   fldigi now crashes with:

  dave@sparrow:~$ fldigi
  I: main: appname: fldigi
  I: main: HomeDir: /home/dave/.fldigi/
  I: main: RigsDir: /home/dave/.fldigi/rigs/
  I: main: ScriptsDir: /home/dave/.fldigi/scripts/
  I: main: PalettesDir: /home/dave/.fldigi/palettes/
  I: main: LogsDir: /home/dave/.fldigi/logs/
  I: main: PicsDir: /home/dave/.fldigi/images/
  I: main: HelpDir: /home/dave/.fldigi/help/
  I: main: MacrosDir: /home/dave/.fldigi/macros/
  I: main: WrapDir: /home/dave/.fldigi/wrap/
  I: main: TalkDir: /home/dave/.fldigi/talk/
  I: main: TempDir: /home/dave/.fldigi/temp/
  I: main: KmlDir: /home/dave/.fldigi/kml/
  I: main: PskMailDir: /home/dave/
  I: main: DATA_dir: /home/dave/.fldigi/data/
  I: main: NBEMS_dir: /home/dave/.nbems/
  I: main: ARQ_dir: /home/dave/.nbems/ARQ/
  I: main: ARQ_files_dir: /home/dave/.nbems/ARQ/files/
  I: main: ARQ_recv_dir: /home/dave/.nbems/ARQ/recv/
  I: main: ARQ_send: /home/dave/.nbems/ARQ/send/
  I: main: WRAP_dir: /home/dave/.nbems/WRAP/
  I: main: WRAP_recv_dir: /home/dave/.nbems/WRAP/recv/
  I: main: WRAP_send_dir: /home/dave/.nbems/WRAP/send/
  I: main: WRAP_auto_dir: /home/dave/.nbems/WRAP/auto/
  I: main: ICS_dir: /home/dave/.nbems/ICS/
  I: main: ICS_msg_dir: /home/dave/.nbems/ICS/messages/
  I: main: ICS_tmp_dir: /home/dave/.nbems/ICS/templates/
  I: main: FLMSG_dir: /home/dave/.nbems/
  I: main: FLMSG_dir_default: /home/dave/.nbems/
  I: main: FLMSG_WRAP_dir: /home/dave/.nbems/WRAP/
  I: main: FLMSG_WRAP_recv_dir: /home/dave/.nbems/WRAP/recv/
  I: main: FLMSG_WRAP_send_dir: /home/dave/.nbems/WRAP/send/
  I: main: FLMSG_WRAP_auto_dir: /home/dave/.nbems/WRAP/auto/
  I: main: FLMSG_ICS_dir: /home/dave/.nbems/ICS/
  I: main: FLMSG_ICS_msg_dir: /home/dave/.nbems/ICS/messages/
  I: main: FLMSG_ICS_tmp_dir: /home/dave/.nbems/ICS/templates/

  Caught signal 11
  Aborting fldigi due to a fatal error.
  Please report this to:   fldigi-devel@xxxxxxxxxxxxxxxx
  or file a bug report at: https://fedorahosted.org/fldigi/newticket

  ****** Stack trace:
  fldigi[0x58a132]
  fldigi[0x58a2f3]
  /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10)[0x7fe42b12dd10]
  /usr/lib/x86_64-linux-gnu/libfltk.so.1.3(_ZN23Fl_Xlib_Graphics_Driver6heightEv+0x10)[0x7fe42ac74a10]
  /usr/lib/x86_64-linux-gnu/libfltk.so.1.3(_Z9fl_heightii+0x38)[0x7fe42ac71598]
  fldigi[0x649515]
  fldigi[0x64d861]
  fldigi[0x646c86]
  fldigi[0x64e490]
  fldigi[0x64f41c]
  fldigi[0x651cce]
  fldigi[0x49783a]
  fldigi[0x4a02f5]
  fldigi[0x41988e]
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fe428c4ea40]
  fldigi[0x41f63c]

  ****** Version information:
  fldigi 3.22.04
  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          : Fri Jan  9 05:15:27 UTC 2015 by buildd@brownie on x86_64-pc-linux-gnu for x86_64-pc-linux-gnu

    configure flags: '--build=x86_64-linux-gnu' '--prefix=/usr' '--
  includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--
  infodir=${prefix}/share/info' '--sysconfdir=/etc' '--
  localstatedir=/var' '--libexecdir=${prefix}/lib/fldigi' '--disable-
  maintainer-mode' '--disable-dependency-tracking' 'CFLAGS=-g -O2
  -fstack-protector-strong -Wformat -Werror=format-security'
  'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector-
  strong -Wformat -Werror=format-security' 'FCFLAGS=-g -O2 -fstack-
  protector-strong' 'FFLAGS=-g -O2 -fstack-protector-strong'
  'GCJFLAGS=-g -O2 -fstack-protector-strong' 'LDFLAGS=-Wl,-Bsymbolic-
  functions -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -fstack-protector-strong
  -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -fstack-
  protector-strong -Wformat -Werror=format-security' '--disable-silent-
  rules' 'build_alias=x86_64-linux-gnu'

    compiler       : gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu1)

    compiler flags : -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/irrxml
  -I$(srcdir)/libtiniconv -I$(srcdir)/fileselector -I$(srcdir)/xmlrpcpp
  -pthread -I/usr/include/cairo -I/usr/include/glib-2.0
  -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
  -I/usr/include/freetype2 -I/usr/include/libpng12
  -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0
  -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
  -I/usr/include/freetype2 -I/usr/include/libpng12 -D_LARGEFILE_SOURCE
  -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_REENTRANT
  -I/usr/include/libpng12 -pipe -Wall -fexceptions -O2 -ffast-math
  -finline-functions -DNDEBUG

    linker flags   : -lportaudio -lasound -lm -lpthread -Wl,-Bsymbolic-
  functions -lfltk_images -lfltk -lX11 -lX11 -lsndfile -lsamplerate
  -lpulse-simple -lpulse -lhamlib -lm -lpng12 -ldl -lpthread

    libraries      : FLTK 1.3.1
                     libsamplerate 0.1.8
                     libsndfile 1.0.25
                     PortAudio 19
                     PulseAudio 4.0
                     Hamlib 1.2.15.3

  Runtime information:
    system         : Linux sparrow 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64

    libraries      : libsamplerate-0.1.8 (c) 2002-2008 Erik de Castro Lopo
                     libsndfile-1.0.25
                     PortAudio V19-devel (built Feb 25 2014 21:09:53) 1899
                     Pulseaudio 6.0.0
                     Hamlib 1.2.15.3

  This is from:

  dave@sparrow:~$ apt-cache policy fldigi
  fldigi:
    Installed: 3.22.04-1
    Candidate: 3.22.04-1
    Version table:
   *** 3.22.04-1 0
          500 http://gb.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
          100 /var/lib/dpkg/status

  For info: I have successfully compiled fldigi 3.22.07 from source on
  15:04 but the resulting executable also crashes on start-up as above.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fldigi/+bug/1448188/+subscriptions


References