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
Description: Try to fix crash bug at startup
Author: eric.beuque
Debian-Bug: http://bugs.debian.org/772845
Applied-upstream: https://code.google.com/archive/p/freetuxtv/source/default/commits

Index: data/ui/addchannelsgroups.glade
===================================================================
--- a/data/ui/addchannelsgroups.glade	(revision 749)
+++ b/data/ui/addchannelsgroups.glade	(revision 750)
@@ -1,7 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.18.3 -->
 <interface>
-  <requires lib="gtk+" version="2.20"/>
-  <!-- interface-naming-policy project-wide -->
+  <requires lib="gtk+" version="3.0"/>
+  <object class="GtkTreeStore" id="treestore_channelsgroup">
+    <columns>
+      <!-- column-name Name -->
+      <column type="gchararray"/>
+      <!-- column-name URI -->
+      <column type="gchararray"/>
+      <!-- column-name Required -->
+      <column type="gchararray"/>
+      <!-- column-name BRegex -->
+      <column type="gchararray"/>
+      <!-- column-name ERegex -->
+      <column type="gchararray"/>
+    </columns>
+  </object>
   <object class="GtkDialog" id="dialogaddgroup">
     <property name="can_focus">False</property>
     <property name="border_width">5</property>
@@ -11,14 +25,13 @@
     <property name="default_height">450</property>
     <property name="icon_name">freetuxtv</property>
     <property name="type_hint">dialog</property>
-    <property name="has_separator">True</property>
     <child internal-child="vbox">
-      <object class="GtkVBox" id="dialog-vbox2">
+      <object class="GtkBox" id="dialog-vbox2">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="spacing">5</property>
         <child internal-child="action_area">
-          <object class="GtkHButtonBox" id="dialog-action_area2">
+          <object class="GtkButtonBox" id="dialog-action_area2">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="layout_style">end</property>
@@ -25,10 +38,10 @@
             <child>
               <object class="GtkButton" id="button_close">
                 <property name="label">gtk-close</property>
+                <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
-                <property name="use_action_appearance">False</property>
                 <property name="use_stock">True</property>
               </object>
               <packing>
@@ -40,10 +53,10 @@
             <child>
               <object class="GtkButton" id="button_add">
                 <property name="label">gtk-add</property>
+                <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
-                <property name="use_action_appearance">False</property>
                 <property name="use_stock">True</property>
               </object>
               <packing>
@@ -93,8 +106,6 @@
                         <property name="text" translatable="yes">http://freetuxtv.googlecode.com/svn/trunk/data/channels_groups.xml</property>
                         <property name="primary_icon_activatable">False</property>
                         <property name="secondary_icon_activatable">False</property>
-                        <property name="primary_icon_sensitive">True</property>
-                        <property name="secondary_icon_sensitive">True</property>
                       </object>
                       <packing>
                         <property name="expand">True</property>
@@ -105,10 +116,10 @@
                     <child>
                       <object class="GtkButton" id="button_refresh">
                         <property name="label">gtk-refresh</property>
+                        <property name="use_action_appearance">False</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
-                        <property name="use_action_appearance">False</property>
                         <property name="use_stock">True</property>
                       </object>
                       <packing>
@@ -142,8 +153,6 @@
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="border_width">3</property>
-                    <property name="hscrollbar_policy">automatic</property>
-                    <property name="vscrollbar_policy">automatic</property>
                     <property name="shadow_type">etched-in</property>
                     <child>
                       <object class="GtkTreeView" id="treeview_channelsgroups">
@@ -153,6 +162,9 @@
                         <property name="headers_clickable">False</property>
                         <property name="expander_column">treeviewcolumn2</property>
                         <property name="search_column">0</property>
+                        <child internal-child="selection">
+                          <object class="GtkTreeSelection" id="treeview-selection1"/>
+                        </child>
                         <child>
                           <object class="GtkTreeViewColumn" id="treeviewcolumn2">
                             <property name="title" translatable="yes">Languages/Channels group</property>
@@ -235,8 +247,6 @@
                         <property name="tooltip_text" translatable="yes">Name of the group which will be added</property>
                         <property name="primary_icon_activatable">False</property>
                         <property name="secondary_icon_activatable">False</property>
-                        <property name="primary_icon_sensitive">True</property>
-                        <property name="secondary_icon_sensitive">True</property>
                       </object>
                       <packing>
                         <property name="left_attach">1</property>
@@ -263,8 +273,6 @@
                         <property name="width_chars">50</property>
                         <property name="primary_icon_activatable">False</property>
                         <property name="secondary_icon_activatable">False</property>
-                        <property name="primary_icon_sensitive">True</property>
-                        <property name="secondary_icon_sensitive">True</property>
                       </object>
                       <packing>
                         <property name="left_attach">1</property>
@@ -319,8 +327,6 @@
                                     <property name="tooltip_text" translatable="yes">Text or regexp which must be deleted at the end of the channel's name</property>
                                     <property name="primary_icon_activatable">False</property>
                                     <property name="secondary_icon_activatable">False</property>
-                                    <property name="primary_icon_sensitive">True</property>
-                                    <property name="secondary_icon_sensitive">True</property>
                                   </object>
                                   <packing>
                                     <property name="left_attach">1</property>
@@ -346,8 +352,6 @@
                                     <property name="tooltip_text" translatable="yes">Text or regexp which must be deleted at the beginning of the channel's name</property>
                                     <property name="primary_icon_activatable">False</property>
                                     <property name="secondary_icon_activatable">False</property>
-                                    <property name="primary_icon_sensitive">True</property>
-                                    <property name="secondary_icon_sensitive">True</property>
                                   </object>
                                   <packing>
                                     <property name="left_attach">1</property>
@@ -437,8 +441,6 @@
                         <property name="can_focus">True</property>
                         <property name="primary_icon_activatable">False</property>
                         <property name="secondary_icon_activatable">False</property>
-                        <property name="primary_icon_sensitive">True</property>
-                        <property name="secondary_icon_sensitive">True</property>
                       </object>
                       <packing>
                         <property name="left_attach">1</property>
@@ -471,10 +473,11 @@
                             <child>
                               <object class="GtkRadioButton" id="radiobutton1">
                                 <property name="label" translatable="yes">Favourites</property>
+                                <property name="use_action_appearance">False</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">False</property>
-                                <property name="use_action_appearance">False</property>
+                                <property name="xalign">0.5</property>
                                 <property name="active">True</property>
                                 <property name="draw_indicator">True</property>
                               </object>
@@ -534,18 +537,4 @@
       <action-widget response="0">button_add</action-widget>
     </action-widgets>
   </object>
-  <object class="GtkTreeStore" id="treestore_channelsgroup">
-    <columns>
-      <!-- column-name Name -->
-      <column type="gchararray"/>
-      <!-- column-name URI -->
-      <column type="gchararray"/>
-      <!-- column-name Required -->
-      <column type="gchararray"/>
-      <!-- column-name BRegex -->
-      <column type="gchararray"/>
-      <!-- column-name ERegex -->
-      <column type="gchararray"/>
-    </columns>
-  </object>
 </interface>
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to