stayrosm / freetuxtv

Automatically exported from code.google.com/p/freetuxtv
GNU General Public License v3.0
1 stars 0 forks source link

Crash at startup with recent GTK #189

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please complete the following information about your configuration:
- FreetuxTV version: 0.6.6
- Linux distribution and version: Mageia 5 Beta
- VLC version: 2
- ISP: Free

Describe here your problem:
Freetuxtv crashes when starting, more info in upstream bug report at 
https://bugs.mageia.org/show_bug.cgi?id=13115

Here is the crash log. This crash only happens for a new user, which has no 
config files. Log below :

[FreetuxTV]    INFO       : Compiled with GTK3
[FreetuxTV]    INFO       : Compiled with LibVLC version 2.1.5
[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       : Showing the main window, hide splashscreen
[FreetuxTV]    INFO       : Loading GtkBuilder object "dialogaddgroup" from 
/usr/share/freetuxtv/ui/addchannelsgroups.glade

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

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

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

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

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

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

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

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

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

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

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

(freetuxtv:8381): Gtk-CRITICAL **: gtk_tree_store_clear: assertion 
'GTK_IS_TREE_STORE (tree_store)' failed

Original issue reported on code.google.com by lists.jj...@free.fr on 5 Nov 2014 at 8:12

GoogleCodeExporter commented 8 years ago
Hi,
same problem here.

debian version jessie/sid  amd64
official "debian-multimedia" package
libvlccore8 2.2.0~rc1-dmo1
freetuxtv 0.6.6-dmo1

official debian package.
libgtk-3-0 3.14.4-2
libglade2-0 2.24.0-4

[FreetuxTV]    INFO       : Compiled with GTK3
[FreetuxTV]    INFO       : Compiled with LibVLC version 2.1.2
[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
[FreetuxTV]    INFO       : Using user configuration dir: 
/home/moi/.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/moi/.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
[0000000002a06098] pulse audio output error: PulseAudio server connection 
failure: Connection refused
[FreetuxTV]    INFO       : Loading GtkBuilder object "dialogaddgroup" from 
/usr/share/freetuxtv/ui/addchannelsgroups.glade

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

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

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

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

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

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

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

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

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

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

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

(freetuxtv:2147): Gtk-CRITICAL **: gtk_tree_store_clear: assertion 
'GTK_IS_TREE_STORE (tree_store)' failed
Erreur de segmentation

i have build latest svn version (gtk3 enabled), and same problem.
(Freetuxtv not build with gtk2)
gcc -Wall -g -O2 -o freetuxtv gtk-builder-dialog.o gtk-builder-object.o 
gtk-builder-widget.o gtk-builder-window.o gtk-date-time-picker.o 
gtk-progress-dialog.o freetuxtv-cclosure-marshal.o 
freetuxtv-cellrenderer-channelslist.o freetuxtv-cellrenderer-recordingslist.o 
freetuxtv-channel-infos.o freetuxtv-channels-group-infos.o 
freetuxtv-channels-list.o freetuxtv-db-sync.o freetuxtv-fileutils.o 
freetuxtv-models.o freetuxtv-player-error-dialog.o freetuxtv-recording-infos.o 
freetuxtv-recordings-list.o freetuxtv-tv-channel-infos.o 
freetuxtv-tv-channels-list.o freetuxtv-utils.o 
freetuxtv-window-add-channels-group.o freetuxtv-window-add-recording.o 
freetuxtv-window-channel-properties.o freetuxtv-window-main.o 
freetuxtv-window-tv-channels-database.o lib-gmmkeys.o lib-m3uparser.o main.o  
-ldbus-glib-1 -ldbus-1 ../lib/libvlc-gtk/.libs/libvlc-gtk.a 
../lib/libdbevolution/.libs/libdbevolution.a 
/usr/lib/x86_64-linux-gnu/libfreetype.so -lgtk-x11-2.0 -lgdk-x11-2.0 
-lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 
-lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lnotify 
/usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/x86_64-linux-gnu/libsqlite3.so 
-lgthread-2.0 -lvlc -pthread
gtk-date-time-picker.o: In function `gtk_date_time_picker_init':
/home/moi/src/freetuxtv-read-only/src/gtk-date-time-picker.c:126: undefined 
reference to `gtk_box_new'
gtk-progress-dialog.o: In function `gtk_progress_dialog_new':
/home/moi/src/freetuxtv-read-only/src/gtk-progress-dialog.c:90: undefined 
reference to `gtk_box_new'
freetuxtv-player-error-dialog.o: In function 
`freetuxtv_player_error_dialog_init':
/home/moi/src/freetuxtv-read-only/src/freetuxtv-player-error-dialog.c:64: 
undefined reference to `gtk_box_new'
collect2: error: ld returned 1 exit status
Makefile:525: recipe for target 'freetuxtv' failed
make[2]: *** [freetuxtv] Error 1
make[2]: Leaving directory '/home/moi/src/freetuxtv-read-only/src'

i am using vlc now for reading my m3u playlist waiting for solution ... :)

Original comment by info...@gmail.com on 17 Nov 2014 at 8:51

GoogleCodeExporter commented 8 years ago
Hi, i'm sorry for the delay to answer. I will try to find time to fix this, but 
i'm very busy at this moment. For your compilation problem, you seems missing 
gtk 3.0. Could you post, the trace to the autogen.sh, and configure command?

Original comment by eric.beuque on 17 Nov 2014 at 9:02

GoogleCodeExporter commented 8 years ago
The backtrace :

(freetuxtv:3209): Gtk-CRITICAL **: gtk_tree_store_clear: assertion 
'GTK_IS_TREE_STORE (tree_store)' failed

Program received signal SIGSEGV, Segmentation fault.
0x4035b55e in gtk_tree_store_append () from 
/home/linuxconsole/x86/lib/libgtk-3.so.0
(gdb) bt
#0  0x4035b55e in gtk_tree_store_append () from 
/home/linuxconsole/x86/lib/libgtk-3.so.0
#1  0x0805f245 in xml_start_cb ()
#2  0x40caa68f in emit_start_element (context=context@entry=0x8535f90, 
error=error@entry=0xbfffeb28) at gmarkup.c:1049
#3  0x40cab629 in g_markup_parse_context_parse (context=0x8535f90, 
    text=0x8536000 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<channels_groups>\n\t<language lang=\"Alice\" id=\"alice\">\n\t\t<channels_group uri=\"http://vlc-media-player.org/m3u/alicetv.m3u\" required_isp=\"Alice\" name=\"Alice\"/>\n\t\t<"..., text_len=<optimized out>, error=0xbfffeb28) at gmarkup.c:1396
#4  0x0805f614 in load_model_channels_group_from_file ()
#5  0x08063ed7 in freetuxtv_window_add_channels_group_new ()
#6  0x0806c75d in splashscreen_app_init ()
#7  0x40ca3960 in g_idle_dispatch (source=source@entry=0x841d3c8, 
callback=0x806c100 <splashscreen_app_init>, user_data=0x80d5b20) at gmain.c:5367
#8  0x40ca6e07 in g_main_dispatch (context=0x80b8040, context@entry=0x841d3c8) 
at gmain.c:3111
#9  g_main_context_dispatch (context=context@entry=0x80b8040) at gmain.c:3710
#10 0x40ca71c8 in g_main_context_iterate (context=0x80b8040, 
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at 
gmain.c:3781
#11 0x40ca74c3 in g_main_loop_run (loop=0x841d4e0) at gmain.c:3975
#12 0x402406ed in gtk_main () from /home/linuxconsole/x86/lib/libgtk-3.so.0
#13 0x08050793 in main ()

it it can help

Original comment by y...@linuxconsole.org on 11 Dec 2014 at 5:24

GoogleCodeExporter commented 8 years ago
same problem here.
+1

debian version jessie/sid  amd64
libvlccore8 2.2.0~rc2-1
freetuxtv 0.6.6-dfsg1-1

official debian package.
libgtk-3-0 3.14.5-1
libglade2-0 1:2.6.4-2

root@pc-jean-debian:/var/log# freetuxtv
[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
Error creating proxy: La connexion est fermée (g-io-error-quark, 18)
Error creating proxy: La connexion est fermée (g-io-error-quark, 18)
Error creating proxy: La connexion est fermée (g-io-error-quark, 18)
Error creating proxy: La connexion est fermée (g-io-error-quark, 18)
Error creating proxy: La connexion est fermée (g-io-error-quark, 18)
[FreetuxTV]    INFO       : Initializing user interface
[GMMKeys]      INFO       : Initialize
[GMMKeys]      INFO       : Activating media player keys
[GMMKeys]      WARNING    : Couldn't get dbus session bus
[FreetuxTV]    INFO       : Using user configuration dir: 
/root/.config/FreetuxTV
[FreetuxTV]    INFO       : Directory created: /root/.cache/freetuxtv
[FreetuxTV]    INFO       : Directory created: 
/root/.local/share/freetuxtv/images/channels
[FreetuxTV]    INFO       : Directory created: /root/.config/FreetuxTV
[FreetuxTV]    INFO       : DBSync open database
[DBEvolution]  INFO       : Starting database creation
[DBEvolution]  INFO       : Installing database version 0.1.0.1
[DBEvolution]  INFO       : Installing database version 0.5.0.1
[DBEvolution]  INFO       : Installing database version 0.5.1.1
[DBEvolution]  INFO       : Installing database version 0.5.1.2
[DBEvolution]  INFO       : Installing database version 0.6.0.1
[DBEvolution]  INFO       : Installing database version 0.6.0.2
[FreetuxTV]    INFO       : DBSync close database
[FreetuxTV]    INFO       : Loading config file 
/root/.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:3038): CRITICAL **: gtk_builder_window_get_top_window: assertion 
'GTK_IS_WINDOW(pObject)' failed

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

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

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

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

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

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

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

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

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

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

(freetuxtv:3038): Gtk-CRITICAL **: gtk_tree_store_clear: assertion 
'GTK_IS_TREE_STORE (tree_store)' failed
Erreur de segmentation
root@pc-jean-debian:/var/log# 

Original comment by jrber...@gmail.com on 3 Jan 2015 at 10:49

GoogleCodeExporter commented 8 years ago
Issue 190 has been merged into this issue.

Original comment by eric.beuque on 15 Jan 2015 at 12:34

GoogleCodeExporter commented 8 years ago
Hi, i will try to fix this soon. Thanks

Original comment by eric.beuque on 15 Jan 2015 at 12:35

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r750.

Original comment by eric.beuque on 26 Jan 2015 at 5:51