You are not logged in.

#1 2013-04-29 05:35:14

darkreaper476
Member
Registered: 2010-05-17
Posts: 98

VLC Segmentation fault

[user@computer ~]$ vlc
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
Segmentation fault (core dumped)

VLC stopped working for me entirely so I opened a terminator and typed vlc to be presented with whats above... After some googling and forum searching I haven't found and solutions that work for me. (Nothing at all on arch forums)??? Some people through my googling with similar errors said it was a theme issue.... I've been using the same GTK theme for a long time now and have never had an issue with VLC. I tried re-installing it with no success.
Maybe I'll try th GIT version from the AUR....?

Any help would be great, thanks.


I am opposed to millionaires, but it would be dangerous to offer me the position. -Mark Twain

Offline

#2 2013-04-29 06:14:51

xgdgsc
Member
Registered: 2012-02-03
Posts: 125

Re: VLC Segmentation fault

Starts fine here. Are you sure you've done a full pacman -Syu? And have you tried deleting config files (.config/vlc)?
bug report here:   https://bugs.archlinux.org/task/34646

Last edited by xgdgsc (2013-04-29 06:16:01)

Offline

#3 2013-04-29 06:27:07

darkreaper476
Member
Registered: 2010-05-17
Posts: 98

Re: VLC Segmentation fault

Just tried deleting .config/vlc. Didn't work. I've been -Syu-ing daily hoping for a vlc update... nothing..

That bug seems to be version 2.0.5-5 which is what I kept running into on google. I am also using GTK with Enlightenment, not QT... hmmmm

Are you running the same version?

Thanks


I am opposed to millionaires, but it would be dangerous to offer me the position. -Mark Twain

Offline

#4 2013-04-29 17:29:49

nuc
Member
Registered: 2012-04-26
Posts: 115

Re: VLC Segmentation fault

If you suspect it might be a gtk theme issue, then why don'T you change the vlc theme to Qt and see if it fixes the issue?

Offline

#5 2013-04-29 17:48:48

S7EWIE
Member
Registered: 2012-04-04
Posts: 6

Re: VLC Segmentation fault

I'm affected by this as well. I tried even more than what was suggested here (thanks for trying to help, guys!). I even tried reverting to my last working setup (i.e. I downgraded vlc to the 2.0.5-5 version, including all its dependencies to their previously installed versions) to no effect. I have tried this also with a complete removal of vlc, including the config files.

Nevertheless, I have managed to isolate the issue to the QT interface. It seems to happen when /usr/lib/vlc/plugins/gui/libqt4_plugin.so is loaded. If I remove that file and start vlc with the ncurses interface, no more segfault.

$ vlc -I ncurses

Still, this has me beat at the moment. And frustrated too, since I can't imagine using the ncurses interface!

Offline

#6 2013-05-01 04:57:06

darkreaper476
Member
Registered: 2010-05-17
Posts: 98

Re: VLC Segmentation fault

I just tried the same thing and got the same results. SO its a QT issue... I use GTK.. I do have QT for a few applications but it didn't look like it used QT...


I am opposed to millionaires, but it would be dangerous to offer me the position. -Mark Twain

Offline

#7 2013-05-01 08:56:48

S7EWIE
Member
Registered: 2012-04-04
Posts: 6

Re: VLC Segmentation fault

OK. I think I finally identified the culprit:
glib2 2.36.1-3

So, I downgraded to 2.34.3-1, did a clean re-install of vlc and now it works. Hope it helps!

Offline

#8 2013-05-01 11:27:21

S7EWIE
Member
Registered: 2012-04-04
Posts: 6

Re: VLC Segmentation fault

UPDATE

Be careful with downgrading glib2. I had some problems with other programs after downgrading (including gnome-shell).
So... I ended up removing and reinstalling gnome (the whole metapackage!) and now gnome, vlc and all the other affected programs work even with the newer glib2 version. Don't ask me what was the actual problem, 'cause I have no clue.

Now everything seems to finally work fine.

Offline

#9 2013-05-02 02:36:21

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 62
Website

Re: VLC Segmentation fault

Having same problem. This "old" threads also do not help:
https://bbs.archlinux.org/viewtopic.php?pid=1211362
https://bbs.archlinux.org/viewtopic.php?id=151935

However, I will not downgrade glib2! The new glib2 is probably the reason that Gnome 3.8 packages are working!


"Nothing is impossible, impossible just takes longer"

Offline

#10 2013-05-03 18:53:34

errikosd
Member
From: Athens, Greece
Registered: 2013-04-19
Posts: 17

Re: VLC Segmentation fault

I am having the same problem, too. I can't recall when I last used VLC, but I remember that it used to work fine.

I have tried changing the GTK theme, switching to the KDE qt4 theme, svlc, nvlc, etc., they all result to this:

$ vlc
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
Segmentation fault (core dumped)
$ svlc
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
Segmentation fault (core dumped)
$ nvlc
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
Segmentation fault (core dumped)

And here are the last few lines from the strace output:

open("/usr/lib/libicudata.so.51", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\310\2\0\0\0\0\0\0"..., 832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=22315672, ...}) = 0
mmap(NULL, 24412160, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7fd8ff15e000
mprotect(0x7fd9006a6000, 2093056, PROT_NONE) = 0
mmap(0x7fd9008a5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1547000) = 0x7fd9008a5000
close(5)                                = 0
mprotect(0x7fd9008a5000, 4096, PROT_READ) = 0
mprotect(0x7fd900c06000, 69632, PROT_READ) = 0
mprotect(0x7fd900e63000, 12288, PROT_READ) = 0
mprotect(0x7fd901083000, 8192, PROT_READ) = 0
mprotect(0x7fd903996000, 4096, PROT_READ) = 0
mprotect(0x7fd903ba8000, 4096, PROT_READ) = 0
mprotect(0x7fd903dcb000, 12288, PROT_READ) = 0
mprotect(0x7fd903fd4000, 4096, PROT_READ) = 0
mprotect(0x7fd907411000, 4096, PROT_READ) = 0
mprotect(0x7fd9041e5000, 8192, PROT_READ) = 0
mprotect(0x7fd9043f1000, 8192, PROT_READ) = 0
mprotect(0x7fd9045f6000, 4096, PROT_READ) = 0
mprotect(0x7fd9047fd000, 4096, PROT_READ) = 0
mprotect(0x7fd904a02000, 4096, PROT_READ) = 0
mprotect(0x7fd904c04000, 4096, PROT_READ) = 0
mprotect(0x7fd90503d000, 8192, PROT_READ) = 0
mprotect(0x7fd905261000, 4096, PROT_READ) = 0
mprotect(0x7fd908599000, 4096, PROT_READ) = 0
mprotect(0x7fd907005000, 4096, PROT_READ) = 0
mprotect(0x7fd906916000, 24576, PROT_READ) = 0
mprotect(0x7fd9054f4000, 8192, PROT_READ) = 0
mprotect(0x7fd9056f7000, 4096, PROT_READ) = 0
mprotect(0x7fd907209000, 4096, PROT_READ) = 0
mprotect(0x7fd907e1f000, 8192, PROT_READ) = 0
mprotect(0x7fd906b56000, 8192, PROT_READ) = 0
mprotect(0x7fd90590c000, 4096, PROT_READ) = 0
mprotect(0x7fd905e42000, 4096, PROT_READ) = 0
mprotect(0x7fd90604d000, 4096, PROT_READ) = 0
mprotect(0x7fd906257000, 4096, PROT_READ) = 0
mprotect(0x7fd90645a000, 4096, PROT_READ) = 0
mprotect(0x7fd90667c000, 4096, PROT_READ) = 0
mprotect(0x7fd906de9000, 28672, PROT_READ) = 0
mprotect(0x7fd907764000, 32768, PROT_READ) = 0
mprotect(0x7fd9079a6000, 12288, PROT_READ) = 0
mprotect(0x7fd907bd5000, 4096, PROT_READ) = 0
mprotect(0x7fd908346000, 12288, PROT_READ) = 0
mprotect(0x7fd90802d000, 4096, PROT_READ) = 0
mprotect(0x7fd908b10000, 16384, PROT_READ) = 0
mprotect(0x7fd9087bc000, 4096, PROT_READ) = 0
mprotect(0x7fd908d4b000, 4096, PROT_READ) = 0
mprotect(0x7fd908f4f000, 4096, PROT_READ) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7fd908798e8b} ---
+++ killed by SIGSEGV (core dumped) +++

Last edited by errikosd (2013-05-03 18:57:25)

Offline

#11 2013-05-08 03:02:14

darkreaper476
Member
Registered: 2010-05-17
Posts: 98

Re: VLC Segmentation fault

So VLC has an update now via good ol -Syu

(95/98) upgrading vlc                              [######################] 100%
/tmp/alpm_iWUVtE/.INSTALL: line 1: 25724 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

I tried removing it and re-installing it, same thing.

/tmp/alpm_3D8OTx/.INSTALL: line 1: 27354 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins
Optional dependencies for vlc


I am opposed to millionaires, but it would be dangerous to offer me the position. -Mark Twain

Offline

#12 2013-05-08 03:24:26

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 62
Website

Re: VLC Segmentation fault

Same error for me after update.

valgrind shows something about the libglib and libgobject. All updated since Gnome 3.6 changed to 3.8

[gabriel@SagerG ~ =]$ valgrind vlc
==21579== Memcheck, a memory error detector
==21579== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==21579== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==21579== Command: vlc
==21579== 
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
==21579== 
==21579== Process terminating with default action of signal 11 (SIGSEGV)
==21579==  Bad permissions for mapped region at address 0x8E8EE8B
==21579==    at 0x4C2D681: strcmp (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21579==    by 0x6D637B8: g_str_equal (in /usr/lib/libglib-2.0.so.0.3600.1)
==21579==    by 0x6D62EDF: g_hash_table_lookup (in /usr/lib/libglib-2.0.so.0.3600.1)
==21579==    by 0x6D826AF: g_quark_from_static_string (in /usr/lib/libglib-2.0.so.0.3600.1)
==21579==    by 0xC5BE7BB: ??? (in /usr/lib/libgobject-2.0.so.0.3600.1)
==21579==    by 0x400EA99: call_init (in /usr/lib/ld-2.17.so)
==21579==    by 0x400EB6B: _dl_init (in /usr/lib/ld-2.17.so)
==21579==    by 0x4012BD4: dl_open_worker (in /usr/lib/ld-2.17.so)
==21579==    by 0x400E913: _dl_catch_error (in /usr/lib/ld-2.17.so)
==21579==    by 0x401244A: _dl_open (in /usr/lib/ld-2.17.so)
==21579==    by 0x558702A: ??? (in /usr/lib/libdl-2.17.so)
==21579==    by 0x400E913: _dl_catch_error (in /usr/lib/ld-2.17.so)
==21579== 
==21579== HEAP SUMMARY:
==21579==     in use at exit: 1,113,031 bytes in 8,706 blocks
==21579==   total heap usage: 15,402 allocs, 6,696 frees, 5,191,635 bytes allocated
==21579== 
==21579== LEAK SUMMARY:
==21579==    definitely lost: 34,984 bytes in 69 blocks
==21579==    indirectly lost: 21,188 bytes in 126 blocks
==21579==      possibly lost: 14,774 bytes in 166 blocks
==21579==    still reachable: 1,042,085 bytes in 8,345 blocks
==21579==         suppressed: 0 bytes in 0 blocks
==21579== Rerun with --leak-check=full to see details of leaked memory
==21579== 
==21579== For counts of detected and suppressed errors, rerun with: -v
==21579== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)
Segmentation fault (core dumped)

Not sure whether it stopped because of vlc error or lack of permissions (as vlc can not be run as sudo). Or even both!


"Nothing is impossible, impossible just takes longer"

Offline

#13 2013-05-08 18:51:12

ismo
Member
From: Italy
Registered: 2010-11-21
Posts: 5
Website

Re: VLC Segmentation fault

It seems the issue is generated by the file /usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so. If you delete this file vlc starts successfuly.

Offline

#14 2013-05-08 18:51:43

Regulus
Member
Registered: 2012-06-13
Posts: 2

Re: VLC Segmentation fault

I experienced the same problem, too. It must have to do with the bunch of updates that came in yesterday.
Lucky enough, after some trying here and there I decided to restore a backup and retry the update.

With
pacman -Sy
and then
pacman -S vlc
vlc was updated without a problem.

After that I could make an update with pacman -Syu without any further obstacles.

Maybe it would have been better to figure out the cause of the problems but this time I was not patient enough ...

Offline

#15 2013-05-08 18:55:19

errikosd
Member
From: Athens, Greece
Registered: 2013-04-19
Posts: 17

Re: VLC Segmentation fault

ismo wrote:

It seems the issue is generated by the file /usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so. If you delete this file vlc starts successfuly.

I can confirm this. Thank you!

PS: In such cases, it is not a good idea to delete files. What I did is rename it by appending the .backup suffix.

Last edited by errikosd (2013-05-08 19:13:40)

Offline

#16 2013-05-08 20:59:50

Revelation60
Member
From: The Netherlands
Registered: 2009-03-19
Posts: 149
Website

Re: VLC Segmentation fault

Indeed, it's libfluidsynth! Maybe we should file a new bug report for this.

Offline

#17 2013-05-09 13:59:50

theodore
Member
From: Aalborg / Denmark
Registered: 2008-09-09
Posts: 68

Re: VLC Segmentation fault

ismo wrote:

It seems the issue is generated by the file /usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so. If you delete this file vlc starts successfuly.


indeed it worked here as well, actually i uninstalled fluidsynth and now vlc works fine

Offline

#18 2013-05-09 19:32:05

stfn
Member
Registered: 2010-02-28
Posts: 32

Re: VLC Segmentation fault

theodore wrote:
ismo wrote:

It seems the issue is generated by the file /usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so. If you delete this file vlc starts successfuly.


indeed it worked here as well, actually i uninstalled fluidsynth and now vlc works fine

Confirmed, worked for me too.

Offline

#19 2013-05-10 04:03:12

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 62
Website

Re: VLC Segmentation fault

theodore wrote:
ismo wrote:

It seems the issue is generated by the file /usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so. If you delete this file vlc starts successfuly.


indeed it worked here as well, actually i uninstalled fluidsynth and now vlc works fine

Did the trick for me too!
But I had to reinstall vlc again to be able to access the Tools -> Options menu. Otherwise segfault again.

PS.: Using the fluidsynth-svn from AUR did not resolved the problem.
At first VLC worked fine (not tested with a MIDI file though), but I re-installed (on purpose) and same cache-gen error and segfault appeared once more.


"Nothing is impossible, impossible just takes longer"

Offline

#20 2013-05-19 06:50:09

king.flasher.dave
Member
From: Berlin
Registered: 2008-11-25
Posts: 137
Website

Re: VLC Segmentation fault

I still have the segmentation fault.
After install:

/tmp/alpm_Elg0MS/.INSTALL: line 1:  6726 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

After executing:

VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[1]    6825 segmentation fault (core dumped)  vlc

After deleting /usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so for some milliseconds the GUI will appear and then:

VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0x1b76e88] logger interface: using logger.
[0x19de1e8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[1]    7073 segmentation fault (core dumped)  vlc

Did anyone resolve this issue? VLC seems broken since 2.0.5-4 but I'm sure something else broke it...

Last edited by king.flasher.dave (2013-05-19 06:52:44)


Speak when you are angry and you will make the best speech you'll ever regret.

Offline

#21 2013-05-19 11:07:06

errikosd
Member
From: Athens, Greece
Registered: 2013-04-19
Posts: 17

Re: VLC Segmentation fault

king.flasher.dave wrote:

I still have the segmentation fault.
After install:

/tmp/alpm_Elg0MS/.INSTALL: line 1:  6726 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

After executing:

VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[1]    6825 segmentation fault (core dumped)  vlc

After deleting /usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so for some milliseconds the GUI will appear and then:

VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0x1b76e88] logger interface: using logger.
[0x19de1e8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[1]    7073 segmentation fault (core dumped)  vlc

Did anyone resolve this issue? VLC seems broken since 2.0.5-4 but I'm sure something else broke it...

Did you try to actually uninstall fluidsynth?

Offline

#22 2013-05-19 20:37:47

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 62
Website

Re: VLC Segmentation fault

errikosd wrote:
king.flasher.dave wrote:

I still have the segmentation fault.
After install:

/tmp/alpm_Elg0MS/.INSTALL: line 1:  6726 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

After executing:

VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[1]    6825 segmentation fault (core dumped)  vlc

After deleting /usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so for some milliseconds the GUI will appear and then:

VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0x1b76e88] logger interface: using logger.
[0x19de1e8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[1]    7073 segmentation fault (core dumped)  vlc

Did anyone resolve this issue? VLC seems broken since 2.0.5-4 but I'm sure something else broke it...

Did you try to actually uninstall fluidsynth?

And after, did you reinstall VLC? So, it can regenerate the cache.

Last edited by gbc921 (2013-05-19 20:38:10)


"Nothing is impossible, impossible just takes longer"

Offline

#23 2013-06-06 02:40:34

darkreaper476
Member
Registered: 2010-05-17
Posts: 98

Re: VLC Segmentation fault

Dont know how or why,but VLC just works again...


I am opposed to millionaires, but it would be dangerous to offer me the position. -Mark Twain

Offline

Board footer

Powered by FluxBB