! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfmedia segmentation fault at startup
Status:
RESOLVED: WONTFIX
Severity:
blocker
Product:
Xfmedia
Component:
general

Comments

Description incubusss 2009-03-04 00:41:20 CET
Xfmedia is crashing immediatly with a segmentation fault.

OS : mandriva cooker
xine-lib : 1.1.16.2
xfce : 4.6.0

I've tried with a git version, same problem.

gdb backtrace attached.
Comment 1 incubusss 2009-03-04 00:42:06 CET
Created attachment 2214 
gdb backtrace
Comment 2 Brian J. Tarricone (not reading bugmail) 2009-03-04 01:22:12 CET
Xfmedia is unmaintained.  Patches welcome.
Comment 3 Michael Unterkalmsteiner 2009-08-07 23:42:44 CEST
Created attachment 2496 
Fix

Fixes the segmentation fault at startup.
Tested with gtk-2.10.0 and libxine1-1.1.16.3
Comment 4 lutinmalicieu 2009-08-21 14:10:11 CEST
I've the same problem, with xfmedia:
OS: Xunbuntu 9.04
Kernel: 2.6.28-15-generic
Xfmedia version 0.9.2, 
Compilé avec xine-lib 1.1.15, utilise xine-lib 1.1.16.3.
Compilé avec Xfce 4.4.3, utilise Xfce 4.6.0.

In debug mode, I have:
xfmedia --debug
video_out: thread created
audio_out: thread created
xine_stream_new
params.c:OpenConfFile() - Unable to open configuration file "/home/mart/.smb/smb.conf":
	Aucun fichier ou dossier de ce type
params.c:OpenConfFile() - Unable to open configuration file "/home/mart/.smb/smb.conf.append":
	Aucun fichier ou dossier de ce type
Using netbios name MART-NETBOOK.
Using workgroup WORKGROUP.
Erreur de segmentation


I can start xfmedia as a root :
sudo xfmedia
E: core-util.c: Home directory /home/mart not ours.
Comment 5 lutinmalicieu 2009-08-21 14:15:07 CEST
I've the same problem, with xfmedia:
 OS: Xunbuntu 9.04
 Kernel: 2.6.28-15-generic
 Xfmedia version 0.9.2, 
 Compilé avec xine-lib 1.1.15, utilise xine-lib 1.1.16.3.
 Compilé avec Xfce 4.4.3, utilise Xfce 4.6.0.
 
 In debug mode, I have:
 xfmedia --debug
 video_out: thread created
 audio_out: thread created
 xine_stream_new
 params.c:OpenConfFile() - Unable to open configuration file
 "/home/mart/.smb/smb.conf":
     Aucun fichier ou dossier de ce type
 params.c:OpenConfFile() - Unable to open configuration file
 "/home/mart/.smb/smb.conf.append":
     Aucun fichier ou dossier de ce type
 Using netbios name MART-NETBOOK.
 Using workgroup WORKGROUP. 
Erreur de segmentation


I can start xfmedia as a root :
 sudo xfmedia
 E: core-util.c: Home directory /home/mart not ours.
(xfmedia:13540): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
Comment 6 Daryl Van Humbeck 2010-12-03 19:53:12 CET
I know this is an old bug, but I found something new about it recently.

This bug only exists when Xfmedia is launched after an initial launch.

If you clear out the configuration folder, it will launch just fine, though without settings.

$ rm -r ~/.config/xfmedia
$ rm ~/.cache/xfmedia/*
$ xfmedia --debug
video_out: thread created
audio_out: thread created
xine_stream_new
params.c:OpenConfFile() - Unable to open configuration file "/home/dvanhumb/.smb/smb.conf":
	No such file or directory
params.c:OpenConfFile() - Unable to open configuration file "/home/dvanhumb/.smb/smb.conf.append":
	No such file or directory
Using netbios name [REDACTED].
Using workgroup [REDACTED].

If you launch it a second time, then it crashes:

video_out: thread created
audio_out: thread created
xine_stream_new
params.c:OpenConfFile() - Unable to open configuration file "/home/dvanhumb/.smb/smb.conf":
	No such file or directory
params.c:OpenConfFile() - Unable to open configuration file "/home/dvanhumb/.smb/smb.conf.append":
	No such file or directory
Using netbios name SANDSTONE.
Using workgroup GEMSTONES.
Segmentation fault

I hope this is helpful for any devs that might want to fix this.
Comment 7 Robby Workman editbugs 2014-12-02 21:36:50 CET
Xfmedia is unmaintained.

Bug #5035

Reported by:
incubusss
Reported on: 2009-03-04
Last modified on: 2014-12-02

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
4 users

Version

Target Milestone:
xfmedia-0.10.0

Attachments

gdb backtrace (18.77 KB, text/plain)
2009-03-04 00:42 CET , incubusss
no flags
Fix (1.14 KB, patch)
2009-08-07 23:42 CEST , Michael Unterkalmsteiner
no flags

Additional information