Bug 1505

Summary: abrt - VLC crashes on startup
Product: Fedora Reporter: Pierre-Yves LUyten <py>
Component: vlcAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED FIXED    
Severity: normal CC: brianmury, eric.tanguy, Fedora
Priority: P5    
Version: 14   
Hardware: All   
OS: GNU/Linux   
namespace:
Attachments: abrt backrtrace
'yum list extras' result

Description Pierre-Yves LUyten 2010-11-07 15:24:00 CET
I used preupgrade to migrate from F13 to F14. Other soft works fine, but vlc crashes on startup .
Process /usr/bin/vlc was killed by signal 4 (SIGILL)

vlc-core-1.1.4-4.fc14

I tryed to remove vlc package and install it again. 
I also tryed deleting $HOME/.config/vlc and $HOME/.local/share/vlc.

Attached backtrace.
Comment 1 Pierre-Yves LUyten 2010-11-07 15:25:18 CET
Created attachment 533 [details]
abrt backrtrace
Comment 2 Nicolas Chauvet 2010-11-07 17:26:27 CET
Since you have upgraded from f13: can you uses:
yum list extras ?
Comment 3 Pierre-Yves LUyten 2010-11-07 17:37:16 CET
Created attachment 534 [details]
'yum list extras' result
Comment 4 Brian Mury 2010-11-12 05:38:31 CET
I have the same issue; comparing your backtrace and mine, it looks like it is the same issue (I can attach my backtrace if anyone wants to see it).

Here's a potential clue. I have the following VLC related packages installed:
		
vlc-1.1.4-4.fc14.i686
vlc-core-1.1.4-4.fc14.i686
phonon-backend-vlc-0.2.0-2.fc14.i686
		
If I uninstall vlc, but leave vlc-core and phonon-backend-vlc, I can run vlc from the shell, and it will play videos in a plain window with no GUI. Reinstall the vlc package and the crash returns.
Comment 5 Pierre-Yves LUyten 2010-11-12 18:53:03 CET
Yes the videos can be played with no gui if only vlc-core is installed. 

When vlc installed, trying to use another control interface doesn't work. 
But when only vlc-core is installed, it's possible to use 'vlc -I ncurses' , or 'vlc -I rc'
Comment 6 Nicolas Chauvet 2010-11-12 19:01:41 CET
This seems to be an issue with the opencv vlc module.
Can you try with one or the other of theses backup elsewhere ?
/usr/lib64/vlc/plugins/video_filter/libopencv_example_plugin.so
/usr/lib64/vlc/plugins/video_filter/libopencv_wrapper_plugin.so
Comment 7 Brian Mury 2010-11-12 19:21:27 CET
It works if I move *both* of those files somewhere else (either one alone does not work).
Comment 8 Pierre-Yves LUyten 2010-11-12 20:29:22 CET
Indeed both two files need to be moved in order to make vlc works. Then the startup message may be of any interest?


VLC media player 1.1.4 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x87be914] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0x48bd058, 0x48bd0e4)
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Warning: call to srand(1289059607)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:3537): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Comment 9 Remi Collet 2010-11-22 09:34:27 CET
Same issue here (F14 i386, with ATI Radeon mobility card + radeon free driver)

Removing opencv package is a workaround (VLC works without crash), but
Upgrading to 1.1.5 from testing, also works (with opencv installed).



Comment 10 Nicolas Chauvet 2010-11-22 09:59:45 CET
Does the problem appears only when the CPU doesn't have sse2 or any other CPU instruction set ? 
I suspect one or another dependencies of opencv to be compiled with an option not compatible with the given CPU.

For now, the workaround will be to provide the vlc opencv module in another (non-default) sub-package.

That been said, can we have a list of CPU where the problem apply ?
Comment 11 Pierre-Yves LUyten 2010-11-22 19:37:01 CET
cat /proc/cpuinfo 


processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 8
model name	: AMD Sempron(tm)   2200+
stepping	: 1
cpu MHz		: 1497.292
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
bogomips	: 2994.58
clflush size	: 32
cache_alignment	: 32
address sizes	: 34 bits physical, 32 bits virtual
power management: ts
Comment 12 Eric Tanguy 2010-11-22 19:53:15 CET
$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 10
model name	: AMD Athlon(tm) XP  2500+
stepping	: 0
cpu MHz		: 1824.988
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
bogomips	: 3649.97
clflush size	: 32
cache_alignment	: 32
address sizes	: 34 bits physical, 32 bits virtual
power management: ts
Comment 13 Brian Mury 2010-11-23 03:23:03 CET
Mine is identical to Eric's in comment #12.
Comment 14 Nicolas Chauvet 2010-12-14 23:21:59 CET
Given that the opencv module has moved to extras, the bug should be closed now.

Thx for the report.