Bug#772845: freetuxtv: package keeps crushing at startup screen

Petter Reinholdtsen pere at hungry.com
Sat Jan 30 09:32:26 UTC 2016


Control: forwarded -1 https://code.google.com/p/freetuxtv/issues/detail?id=189
Control: tags -1 + patch

[Andrey skvortsov]
> the same here. As I start freetuxtv it syncronize all tv/radio channels and
> crashes after that with segmentation fault. It's known bug and it seems to
> be fixed in upstream (https://code.google.com/p/freetuxtv/issues/detail?id=189).
> In Jessie freetuxtv is not usable at all now.

I see the same.  I was looking for a replacement for miro, my good old video
RSS viewer I use every day as it is being removed from Debian, and was unable
to get freetuxtv working.  Here is the valgrind output in case it can help
fix the problem:

==26463== Memcheck, a memory error detector
==26463== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==26463== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==26463== Command: freetuxtv
==26463== 
[FreetuxTV]    INFO       : Compiled with GTK3
[FreetuxTV]    INFO       : Compiled with LibVLC version 2.2.0
[FreetuxTV]    INFO       : Compiled with libnotify version 0.7.6
[FreetuxTV]    INFO       : Loading FreetuxTV 0.6.6
[FreetuxTV]    INFO       : Loading user interface from path /usr/share/freetuxtv/ui
[FreetuxTV]    INFO       : Initializing user interface
[GMMKeys]      INFO       : Initialize
[GMMKeys]      INFO       : Activating media player keys
[GMMKeys]      CRITICAL   : Unable to grab media player keys: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
==26463== Conditional jump or move depends on uninitialised value(s)
==26463==    at 0xB27390A: ??? (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.6)
==26463==    by 0xB258D6A: ??? (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.6)
==26463==    by 0xB20C710: pixman_image_composite32 (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.6)
==26463==    by 0x66D53CA: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x67040B0: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x670547E: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x670C44A: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x670D10B: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x670D93D: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x670DDD8: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x66C8E7F: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x66DA096: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463== 
==26463== Conditional jump or move depends on uninitialised value(s)
==26463==    at 0xB2736A2: ??? (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.6)
==26463==    by 0xB258D6A: ??? (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.6)
==26463==    by 0xB20C710: pixman_image_composite32 (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.6)
==26463==    by 0x66D53CA: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x671A3E5: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x670C52B: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x670CF94: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x670DEEE: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x66C8E7F: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x66DA096: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x6711056: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463==    by 0x66D101B: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.0)
==26463== 
==26463== Conditional jump or move depends on uninitialised value(s)
==26463==    at 0x19230247: ??? (in /usr/lib/x86_64-linux-gnu/librsvg-2.so.2.40.5)
==26463==    by 0x19230F2B: rsvg_handle_get_pixbuf_sub (in /usr/lib/x86_64-linux-gnu/librsvg-2.so.2.40.5)
==26463==    by 0x18FC7E85: ??? (in /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so)
==26463==    by 0x69C5017: gdk_pixbuf_loader_close (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==26463==    by 0x69C0DCA: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==26463==    by 0x69C2C1C: gdk_pixbuf_new_from_stream_at_scale (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==26463==    by 0x545CF7A: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x54607E7: gtk_icon_info_load_icon (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x5461492: gtk_icon_info_load_symbolic_for_context (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x5459A7F: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x53621B0: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x536229F: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463== 
[FreetuxTV]    INFO       : Using user configuration dir: /home/pere/.config/FreetuxTV
[FreetuxTV]    INFO       : DBSync open database
[DBEvolution]  INFO       : Starting database evolution
[DBEvolution]  INFO       : Current database version is 0.6.0.2
[FreetuxTV]    INFO       : DBSync close database
[FreetuxTV]    INFO       : Loading config file /home/pere/.config/FreetuxTV/config.ini
[FreetuxTV]    INFO       : Cannot load config file
[FreetuxTV]    INFO       : Creating media player widget
[FreetuxTV]    INFO       : Initializing LibVLC instance
[LibVLC-Gtk]   INFO       : Using instance vlc with 3 options [--no-xlib --ignore-config --no-video-title-show]
[FreetuxTV]    INFO       : DBSync open database
[FreetuxTV]    MESSAGE    : Synchronizing the tv channels list
[FreetuxTV]    INFO       : Loading the list of channels
[FreetuxTV]    INFO       : Loading the list of recordings
[FreetuxTV]    INFO       : DBSync close database
[FreetuxTV]    INFO       : Showing the main window, hide splashscreen
[FreetuxTV]    INFO       : Loading GtkBuilder object "dialogaddgroup" from /usr/share/freetuxtv/ui/addchannelsgroups.glade

** (freetuxtv:26463): CRITICAL **: gtk_builder_window_get_top_window: assertion 'GTK_IS_WINDOW(pObject)' failed

(freetuxtv:26463): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion 'GTK_IS_WINDOW (window)' failed

(freetuxtv:26463): Gtk-CRITICAL **: gtk_window_set_position: assertion 'GTK_IS_WINDOW (window)' failed

(freetuxtv:26463): Gtk-CRITICAL **: gtk_tree_view_get_selection: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed

(freetuxtv:26463): Gtk-CRITICAL **: gtk_tree_selection_set_mode: assertion 'GTK_IS_TREE_SELECTION (selection)' failed

(freetuxtv:26463): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(freetuxtv:26463): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(freetuxtv:26463): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(freetuxtv:26463): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(freetuxtv:26463): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(freetuxtv:26463): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(freetuxtv:26463): Gtk-CRITICAL **: gtk_tree_store_clear: assertion 'GTK_IS_TREE_STORE (tree_store)' failed
==26463== Invalid read of size 8
==26463==    at 0x5599C07: gtk_tree_store_append (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x41899B: ??? (in /usr/bin/freetuxtv)
==26463==    by 0x71F117A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x71F22DD: g_markup_parse_context_parse (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x418D16: ??? (in /usr/bin/freetuxtv)
==26463==    by 0x41CE62: ??? (in /usr/bin/freetuxtv)
==26463==    by 0x424B2F: ??? (in /usr/bin/freetuxtv)
==26463==    by 0x71EDB6C: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x71EDF47: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x71EE271: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x548FC24: gtk_main (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x40B758: ??? (in /usr/bin/freetuxtv)
==26463==  Address 0x18 is not stack'd, malloc'd or (recently) free'd
==26463== 
==26463== 
==26463== Process terminating with default action of signal 11 (SIGSEGV)
==26463==  Access not within mapped region at address 0x18
==26463==    at 0x5599C07: gtk_tree_store_append (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x41899B: ??? (in /usr/bin/freetuxtv)
==26463==    by 0x71F117A: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x71F22DD: g_markup_parse_context_parse (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x418D16: ??? (in /usr/bin/freetuxtv)
==26463==    by 0x41CE62: ??? (in /usr/bin/freetuxtv)
==26463==    by 0x424B2F: ??? (in /usr/bin/freetuxtv)
==26463==    by 0x71EDB6C: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x71EDF47: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x71EE271: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1)
==26463==    by 0x548FC24: gtk_main (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1400.5)
==26463==    by 0x40B758: ??? (in /usr/bin/freetuxtv)
==26463==  If you believe this happened as a result of a stack
==26463==  overflow in your program's main thread (unlikely but
==26463==  possible), you can try to increase the size of the
==26463==  main thread stack using the --main-stacksize= flag.
==26463==  The main thread stack size used in this run was 8388608.
==26463== 
==26463== HEAP SUMMARY:
==26463==     in use at exit: 7,241,170 bytes in 77,343 blocks
==26463==   total heap usage: 682,519 allocs, 605,176 frees, 69,426,057 bytes allocated
==26463== 
==26463== LEAK SUMMARY:
==26463==    definitely lost: 40,259 bytes in 616 blocks
==26463==    indirectly lost: 76,307 bytes in 1,221 blocks
==26463==      possibly lost: 390,176 bytes in 5,787 blocks
==26463==    still reachable: 6,157,172 bytes in 67,078 blocks
==26463==         suppressed: 0 bytes in 0 blocks
==26463== Rerun with --leak-check=full to see details of leaked memory
==26463== 
==26463== For counts of detected and suppressed errors, rerun with: -v
==26463== Use --track-origins=yes to see where uninitialised values come from
==26463== ERROR SUMMARY: 16 errors from 4 contexts (suppressed: 0 from 0)
Killed

Look like a NULL pointer to a struct.

The upstream issue was fixed with commit 750 in the now defunct subversion
repository.  The commit changed file data/ui/addchannelsgroups.glade and
is attached here.

I tried building with this patch, but ran into "undefined reference to
`gtk_box_new'" which I do not have time to debug.

-- 
Happy hacking
Petter Reinholdtsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-crash.diff
Type: text/x-diff
Size: 10534 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160130/08e46c38/attachment-0001.diff>


More information about the pkg-multimedia-maintainers mailing list