FS#20482 - [vlc] crashes when trying to set locale

Attached to Project: Arch Linux
Opened by Gajo Petrovic (gajop) - Sunday, 15 August 2010, 09:58 GMT
Last edited by Ionut Biru (wonder) - Thursday, 20 January 2011, 21:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Gaetan Bisson (vesath)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
VLC crashes every time it's started in GUI mode (cvlc works fine).
Crashes started happening recently and don't occur when vlc-wrapper as ran as root.
They started happening a week ago, but I somehow managed to prevent them from happening for a few days, they recently began happening again.
I'm not sure whether it's related to a package upgrade or misconfiguration.
I'm using gnome, the problem occurs both when starting from terminal and from applications menu.
Normally, I'd report the bug upstream, however I think this might be a configuration/archlinux issue.

Additional info:
$ vlc --version
VLC media player 1.1.2 The Luggage (revision exported)
VLC version 1.1.2 The Luggage (exported)
Compiled by nobody on ioni-laptop (Aug 6 2010 17:23:18)
Compiler: gcc version 4.5.0 20100610 (prerelease) (GCC)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.

$ pacman -Qi vlc
Name : vlc
Version : 1.1.2-2

$ uname -a
Linux gajop_desktop 2.6.34-ARCH #1 SMP PREEMPT Wed Aug 11 00:23:15 CEST 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz GenuineIntel GNU/Linux

running vlc:
$ vlc
VLC media player 1.1.2 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
[0x1e28120] 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, 0x7f9e4abe1ac0, 0x7f9e4abe1b60)
Warning: call to signal(13, 0x1)
Warning: call to srand(1282102219)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:8378): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Blocked: call to sigaction(11, 0x7f9e4abe13b0, (nil))
Blocked: call to sigaction(6, 0x7f9e4abe13b0, (nil))
Blocked: call to sigaction(5, 0x7f9e4abe13b0, (nil))
Blocked: call to sigaction(8, 0x7f9e4abe13b0, (nil))
Blocked: call to setlocale(0, "en_US.UTF-8")
Segmentation fault

gdb backtrace:
#0 0x00007fffb002c599 in mlocale__init () from /usr/lib/libm17n.so.0
#1 0x00007fffb002cbcd in m17n_init () from /usr/lib/libm17n.so.0
#2 0x00007fffb0235533 in init_m17nlib () from /usr/lib/uim/plugin/libuim-m17nlib.so
#3 0x00007fffb064aab2 in call () from /usr/lib/libuim-scm.so.0
#4 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#5 0x00007fffb0652add in scm_load_internal () from /usr/lib/libuim-scm.so.0
#6 0x00007fffb0438a43 in GCROOTS_call_with_gc_ready_stack () from /usr/lib/libgcroots.so.0
#7 0x00007fffb064900f in scm_p_require () from /usr/lib/libuim-scm.so.0
#8 0x00007fffb064aaa6 in call () from /usr/lib/libuim-scm.so.0
#9 0x00007fffb064aa64 in call () from /usr/lib/libuim-scm.so.0
#10 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#11 0x00007fffb064d364 in guard_body () from /usr/lib/libuim-scm.so.0
#12 0x00007fffb064aaa6 in call () from /usr/lib/libuim-scm.so.0
#13 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#14 0x00007fffb064b7bc in scm_call () from /usr/lib/libuim-scm.so.0
#15 0x00007fffb064b934 in scm_dynamic_wind () from /usr/lib/libuim-scm.so.0
#16 0x00007fffb064aa95 in call () from /usr/lib/libuim-scm.so.0
#17 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#18 0x00007fffb064b7bc in scm_call () from /usr/lib/libuim-scm.so.0
#19 0x00007fffb064c52a in scm_call_with_current_continuation () from /usr/lib/libuim-scm.so.0
#20 0x00007fffb064c68a in scm_s_srfi34_guard () from /usr/lib/libuim-scm.so.0
#21 0x00007fffb064aa7f in call () from /usr/lib/libuim-scm.so.0
#22 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#23 0x00007fffb0438a43 in GCROOTS_call_with_gc_ready_stack () from /usr/lib/libgcroots.so.0
#24 0x00007fffb0438a43 in GCROOTS_call_with_gc_ready_stack () from /usr/lib/libgcroots.so.0
#25 0x00007fffb06429c1 in uim_scm_call_with_guard () from /usr/lib/libuim-scm.so.0
#26 0x00007fffb064c37f in uim_scm_callf_internal () from /usr/lib/libuim-scm.so.0
#27 0x00007fffb0438a43 in GCROOTS_call_with_gc_ready_stack () from /usr/lib/libgcroots.so.0
#28 0x00007fffb0642861 in uim_scm_callf_with_guard () from /usr/lib/libuim-scm.so.0
#29 0x00007fffb0642894 in uim_scm_require_file () from /usr/lib/libuim-scm.so.0
#30 0x00007fffb086b9fd in plugin_load () from /usr/lib/libuim.so.6
#31 0x00007fffb064aaa6 in call () from /usr/lib/libuim-scm.so.0
#32 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#33 0x00007fffb064b050 in scm_s_or () from /usr/lib/libuim-scm.so.0
#34 0x00007fffb064aa95 in call () from /usr/lib/libuim-scm.so.0
#35 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#36 0x00007fffb0651c30 in scm_s_let () from /usr/lib/libuim-scm.so.0
#37 0x00007fffb064aa7f in call () from /usr/lib/libuim-scm.so.0
#38 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#39 0x00007fffb064b1c0 in scm_s_and () from /usr/lib/libuim-scm.so.0
#40 0x00007fffb064aa95 in call () from /usr/lib/libuim-scm.so.0
#41 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#42 0x00007fffb064d1d6 in scm_s_letstar () from /usr/lib/libuim-scm.so.0
#43 0x00007fffb064aa7f in call () from /usr/lib/libuim-scm.so.0
#44 0x00007fffb064ad51 in scm_eval () from /usr/lib/libuim-scm.so.0
#45 0x00007fffb064b7bc in scm_call () from /usr/lib/libuim-scm.so.0
#46 0x00007fffb064c35e in uim_scm_callf_internal () from /usr/lib/libuim-scm.so.0
#47 0x00007fffb0438a43 in GCROOTS_call_with_gc_ready_stack () from /usr/lib/libgcroots.so.0
#48 0x00007fffb0642994 in uim_scm_callf () from /usr/lib/libuim-scm.so.0
#49 0x00007fffb0869420 in uim_create_context () from /usr/lib/libuim.so.6
#50 0x00007fffb0a7ddb2 in im_module_create () from /usr/lib/gtk-2.0/2.10.0/immodules/im-uim.so
#51 0x00007fffe3103b26 in _gtk_im_module_create () from /usr/lib/libgtk-x11-2.0.so.0
#52 0x00007fffe31043f5 in gtk_im_multicontext_get_slave () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x00007fffe3104741 in gtk_im_multicontext_get_preedit_string () from /usr/lib/libgtk-x11-2.0.so.0
#54 0x00007fffe3101752 in gtk_im_context_get_preedit_string () from /usr/lib/libgtk-x11-2.0.so.0
#55 0x00007fffe30a8165 in gtk_entry_ensure_layout () from /usr/lib/libgtk-x11-2.0.so.0
#56 0x00007fffe30a9241 in gtk_entry_adjust_scroll () from /usr/lib/libgtk-x11-2.0.so.0
#57 0x00007fffe30a94eb in gtk_entry_realize () from /usr/lib/libgtk-x11-2.0.so.0
#58 0x00007fffe16df51e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#59 0x00007fffe16ed75c in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#60 0x00007fffe16f73f4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#61 0x00007fffe16f75c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#62 0x00007fffe323c97e in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#63 0x00007fffda84b37d in ?? () from /usr/lib/libQtGui.so.4
#64 0x00007fffda84b5c9 in ?? () from /usr/lib/libQtGui.so.4
#65 0x00007fffda84bc1b in ?? () from /usr/lib/libQtGui.so.4
#66 0x00007fffda84a438 in ?? () from /usr/lib/libQtGui.so.4
#67 0x00007fffda82fab9 in QGtkStyle::QGtkStyle() () from /usr/lib/libQtGui.so.4
#68 0x00007fffda7b1393 in QStyleFactory::create(QString const&) () from /usr/lib/libQtGui.so.4
#69 0x00007fffda4db877 in QApplication::style() () from /usr/lib/libQtGui.so.4
#70 0x00007fffda4de9f5 in QApplicationPrivate::initialize() () from /usr/lib/libQtGui.so.4
#71 0x00007fffda4dea8b in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) () from /usr/lib/libQtGui.so.4
#72 0x00007fffda4df178 in QApplication::QApplication(int&, char**, bool, int) () from /usr/lib/libQtGui.so.4
#73 0x00007fffdb0243f3 in ?? () from /usr/lib/vlc/plugins/gui/libqt4_plugin.so
#74 0x00007ffff76c2cb0 in start_thread () from /lib/libpthread.so.0
#75 0x00007ffff722a7ad in clone () from /lib/libc.so.6
#76 0x0000000000000000 in ?? ()

locale:
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

PS: I also tried setting locale to C, however errors kept occuring in the same fashion.
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 20 January 2011, 21:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  m17n-lib-1.6.2-2
Comment by Ionut Biru (wonder) - Sunday, 15 August 2010, 13:49 GMT
works for me. is not related to locale at all and i believe is a qt issue. did you tried to reinstall qt?
Comment by Gajo Petrovic (gajop) - Sunday, 15 August 2010, 14:51 GMT
i did, problem keeps occuring;
it would seem the problem is gnome/compiz(i'm using compiz as the WM inside of gnome) related, since vlc works fine for me in openbox/awesome
Comment by Ionut Biru (wonder) - Sunday, 15 August 2010, 14:57 GMT
gnome here with composite on, metacity. the thing is that for me it doesn't try to set the locale at all to en. If you said that for root is working, i think is a configuration issue somewhere. try remove vlc configs from ~/.config
[code]
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
[New Thread 0x7fffb917c710 (LWP 6282)]
[New Thread 0x7fffb907b710 (LWP 6283)]
[New Thread 0x7fffb8f7a710 (LWP 6284)]
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0x7fffb8f79ac0, 0x7fffb8f79b60)
Warning: call to signal(13, 0x1)
Warning: call to srand(1281602062)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:6277): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
[/code]
Comment by Ionut Biru (wonder) - Sunday, 15 August 2010, 15:01 GMT
i lied. is setting to en_US.UTF-8 after i open a video.

can you post the log when running vlc -vv and play a video?
Comment by Gajo Petrovic (gajop) - Sunday, 15 August 2010, 15:19 GMT
i tried moving the configuration already, but problem keeps occuring;
the log when playing videos or with -vv isn't particulary interesting, and playing videos isn't the issue (cvlc can play videos fine and vlc crashes just by starting it)
anyway the log from -vv:
$ vlc -vv
VLC media player 1.1.2 The Luggage (revision exported)
[0x8e8120] main libvlc debug: VLC media player - 1.1.2 The Luggage
[0x8e8120] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x8e8120] main libvlc debug: revision exported
[0x8e8120] main libvlc debug: configured with ./configure '--prefix=/usr' '--disable-rpath' '--enable-faad' '--enable-v4l' '--enable-snapshot' '--enable-dbus-control' '--enable-nls' '--enable-lirc' '--enable-pvr' '--enable-ncurses' '--enable-mozilla' '--with-live555-tree=/usr/lib/live' '--enable-realrtsp' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe' 'LDFLAGS=-Wl,--hash-style=gnu -Wl,--as-needed' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig'
[0x8e8120] main libvlc debug: translation test: code is "C"
[0x8e8120] main libvlc debug: checking plugin modules
[0x8e8120] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins-04081e-7e8.dat
[0x8e8120] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x8e8120] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins-04081e-7e8.dat
[0x8e8120] main libvlc debug: module bank initialized (394 modules)
[0x8e8120] main libvlc debug: opening config file (/home/gajop/.config//vlc/vlcrc)
[0x8e8120] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU
[0x8e8120] main libvlc debug: looking for memcpy module: 3 candidates
[0x8e8120] main libvlc debug: using memcpy module "memcpymmxext"
[0x9dabb0] main input debug: Creating an input for 'Media Library'
[0x9dabb0] main input debug: Input is a meta file: disabling unneeded options
[0x9dabb0] main input debug: using timeshift granularity of 50 MiB
[0x9dabb0] main input debug: using timeshift path '/tmp'
[0x9dabb0] main input debug: `file/xspf-open:///home/gajop/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/gajop/.local/share/vlc/ml.xspf'
[0x9dabb0] main input debug: creating demux: access='file' demux='xspf-open' path='/home/gajop/.local/share/vlc/ml.xspf'
[0x9d53b0] main demux debug: looking for access_demux module: 2 candidates
[0x9d53b0] main demux debug: no access_demux module matching "file" could be loaded
[0x9d53b0] main demux debug: TIMER module_need() : 0.089 ms - Total 0.089 ms / 1 intvls (Avg 0.089 ms)
[0x9dabb0] main input debug: creating access 'file' path='/home/gajop/.local/share/vlc/ml.xspf'
[0x9d52e0] main access debug: looking for access module: 2 candidates
[0x9d52e0] filesystem access debug: opening file `/home/gajop/.local/share/vlc/ml.xspf'
[0x9d52e0] main access debug: using access module "filesystem"
[0x9d52e0] main access debug: TIMER module_need() : 0.072 ms - Total 0.072 ms / 1 intvls (Avg 0.072 ms)
[0x9d7ec0] main stream debug: Using AStream*Stream
[0x9d7ec0] main stream debug: pre buffering
[0x9d7ec0] main stream debug: received first data after 0 ms
[0x9d7ec0] main stream debug: pre-buffering done 296 bytes in 0s - 36132 KiB/s
[0x9d81d0] main stream debug: looking for stream_filter module: 5 candidates
[0x9d81d0] main stream debug: no stream_filter module matching "any" could be loaded
[0x9d81d0] main stream debug: TIMER module_need() : 0.056 ms - Total 0.056 ms / 1 intvls (Avg 0.056 ms)
[0x9d81d0] main stream debug: looking for stream_filter module: 1 candidate
[0x9d81d0] main stream debug: using stream_filter module "stream_filter_record"
[0x9d81d0] main stream debug: TIMER module_need() : 0.050 ms - Total 0.050 ms / 1 intvls (Avg 0.050 ms)
[0x9dabb0] main input debug: creating demux: access='file' demux='xspf-open' path='/home/gajop/.local/share/vlc/ml.xspf'
[0x9d83e0] main demux debug: looking for demux module: 1 candidate
[0x9d83e0] playlist demux debug: using XSPF playlist reader
[0x9d83e0] main demux debug: using demux module "playlist"
[0x9d83e0] main demux debug: TIMER module_need() : 0.068 ms - Total 0.068 ms / 1 intvls (Avg 0.068 ms)
[0x9d55e0] main demux meta debug: looking for meta reader module: 2 candidates
[0x9d55e0] lua demux meta debug: Trying Lua scripts in /home/gajop/.local/share/vlc/lua/meta/reader
[0x9d55e0] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x9d55e0] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x9d55e0] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x9d55e0] main demux meta debug: no meta reader module matching "any" could be loaded
[0x9d55e0] main demux meta debug: TIMER module_need() : 0.416 ms - Total 0.416 ms / 1 intvls (Avg 0.416 ms)
[0x9dabb0] main input debug: `file/xspf-open:///home/gajop/.local/share/vlc/ml.xspf' successfully opened
[0xbdfc40] main xml debug: looking for xml module: 2 candidates
[0xbdfc40] main xml debug: using xml module "xml"
[0xbdfc40] main xml debug: TIMER module_need() : 0.102 ms - Total 0.102 ms / 1 intvls (Avg 0.102 ms)
[0x9d83e0] playlist demux debug: parsed 0 tracks successfully
[0xbdfc40] main xml debug: removing module "xml"
[0x9dabb0] main input debug: EOF reached
[0x9d83e0] main demux debug: removing module "playlist"
[0x9d81d0] main stream debug: removing module "stream_filter_record"
[0x9d52e0] main access debug: removing module "filesystem"
[0x9dabb0] main input debug: TIMER input launching for 'Media Library' : 1.386 ms - Total 1.386 ms / 1 intvls (Avg 1.386 ms)
[0x9d8030] main interface debug: looking for interface module: 1 candidate
[0x9d8030] main interface debug: using interface module "hotkeys"
[0x9d8030] main interface debug: TIMER module_need() : 0.066 ms - Total 0.066 ms / 1 intvls (Avg 0.066 ms)
[0x9d0220] main interface debug: looking for interface module: 1 candidate
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
[0x8fa210] main playlist debug: Activated
[0x9d0220] main interface debug: using interface module "inhibit"
[0x9d0220] main interface debug: TIMER module_need() : 0.882 ms - Total 0.882 ms / 1 intvls (Avg 0.882 ms)
[0x9d7250] main interface debug: looking for interface module: 1 candidate
[0x8fa210] main playlist debug: rebuilding array of current - root Playlist
[0x9d7250] main interface debug: using interface module "signals"
[0x8fa210] main playlist debug: rebuild done - 0 items, index -1
[0x9d7250] main interface debug: TIMER module_need() : 0.924 ms - Total 0.924 ms / 1 intvls (Avg 0.924 ms)
[0x9d36f0] main interface debug: looking for interface module: 1 candidate
[0x9d36f0] main interface debug: using interface module "globalhotkeys"
[0x9d36f0] main interface debug: TIMER module_need() : 0.380 ms - Total 0.380 ms / 1 intvls (Avg 0.380 ms)
[0x8e8120] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x9d3090] main interface debug: looking for interface module: 5 candidates
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0x7f5319766ac0, 0x7f5319766b60)
Warning: call to signal(13, 0x1)
Warning: call to srand(1282064638)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:18136): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Blocked: call to sigaction(11, 0x7f53197663b0, (nil))
Blocked: call to sigaction(6, 0x7f53197663b0, (nil))
Blocked: call to sigaction(5, 0x7f53197663b0, (nil))
Blocked: call to sigaction(8, 0x7f53197663b0, (nil))
Blocked: call to setlocale(0, "en_US.UTF-8")
Segmentation fault
Comment by Eric Waller (ewaller) - Wednesday, 18 August 2010, 04:05 GMT
It works fine here,
Linux odin 2.6.34-ARCH #1 SMP PREEMPT Wed Aug 11 00:23:15 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz GenuineIntel GNU/Linux
On Xfce4 with Compiz

Would it make sense to double check the dynamic linked library versions?

ewaller@odin:~[1] 1015 %ldd $(which vlc)
linux-vdso.so.1 => (0x00007fff8b5ff000)
libvlc.so.5 => /usr/lib/libvlc.so.5 (0x00007fe031cee000)
libvlccore.so.4 => /usr/lib/libvlccore.so.4 (0x00007fe031a02000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe0317e5000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fe0315e1000)
libc.so.6 => /lib/libc.so.6 (0x00007fe031285000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fe031046000)
librt.so.1 => /lib/librt.so.1 (0x00007fe030e3e000)
libm.so.6 => /lib/libm.so.6 (0x00007fe030bbc000)
/lib/ld-linux-x86-64.so.2 (0x00007fe031f07000)

/usr/lib/libvlc.so.5 is owned by vlc 1.1.2-2
/usr/lib/libvlccore.so.4 is owned by vlc 1.1.2-2
/lib/libpthread.so.0 is owned by glibc 2.12.1-1
/lib/libdl.so.2 is owned by glibc 2.12.1-1
/lib/libc.so.6 is owned by glibc 2.12.1-1
/usr/lib/libdbus-1.so.3 is owned by dbus-core 1.2.24-1
/lib/librt.so.1 is owned by glibc 2.12.1-1
/lib/libm.so.6 is owned by glibc 2.12.1-1
/lib/ld-linux-x86-64.so.2 is owned by glibc 2.12.1-1

But what I find strange is this excerpt from elf -a $(which vlc)
Version needs section '.gnu.version_r' contains 3 entries:
Addr: 0x0000000000400940 Offset: 0x000940 Link: 5 (.dynstr)
000000: Version: 1 File: libpthread.so.0 Cnt: 1
0x0010: Name: GLIBC_2.2.5 Flags: none Version: 6
0x0020: Version: 1 File: libdl.so.2 Cnt: 1
0x0030: Name: GLIBC_2.2.5 Flags: none Version: 5
0x0040: Version: 1 File: libc.so.6 Cnt: 3
0x0050: Name: GLIBC_2.3.2 Flags: none Version: 4
0x0060: Name: GLIBC_2.3.4 Flags: none Version: 3
0x0070: Name: GLIBC_2.2.5 Flags: none Version: 2

Am I confused, or these references to different versions of glib :-/
Comment by Ionut Biru (wonder) - Sunday, 14 November 2010, 00:33 GMT
please check 1.1.5
Comment by Bruce V Chiarelli (bccomm) - Monday, 17 January 2011, 07:39 GMT
Stopped working as of yesterday for me, and I've been using 1.1.5 since it came out. It starts working again if I delete ~/.local/share/vlc

Maybe someone could open whatever is in ~/.local/share/vlc/* and look for the offending line? (unlike me, who just blindly did an rm -r :D)

It still complains for some reason about having to fall back to the "C" locale, but the interface does respect whatever locale setting I give it on the command line (tested English, Arabic, Pashto, Hungarian).
Comment by Bruce V Chiarelli (bccomm) - Tuesday, 18 January 2011, 15:47 GMT
I think I found the problem: if uim is installed, it will crash every time. I had forgotten that I had uninstalled uim/scim from another project while trying to hunt this down, but installing uim allows me to reproduce every time. Uninstalling it fixes the segfault. I might point out that this still only happens on gnome.

Update: Specifically deleting the ":*" in /etc/gtk-2.0/gtk.immodules at the end of the uim entry fixes the problem (until I try to switch to uim for input).
Comment by Ionut Biru (wonder) - Tuesday, 18 January 2011, 16:20 GMT
@Bruce can you please report this upstream to vlc bugtracker and paste the link here?
Comment by Bruce V Chiarelli (bccomm) - Tuesday, 18 January 2011, 16:42 GMT
http://trac.videolan.org/vlc/ticket/4421

My first own bug report in 13.5 years of using Linux exclusively. Not something to be proud of, I guess. ;P
Comment by Ionut Biru (wonder) - Tuesday, 18 January 2011, 18:59 GMT Comment by Bruce V Chiarelli (bccomm) - Tuesday, 18 January 2011, 19:29 GMT
That was fast. https://bugs.freedesktop.org/show_bug.cgi?id=33250 I'll poke around and see if I can trigger this in another QT application.

Comment by Bruce V Chiarelli (bccomm) - Wednesday, 19 January 2011, 02:56 GMT
Ionut: Per my report at freedesktop's Bugzilla, applying locale.c.patch from the debian package for m17n fixes the problem. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601858 and http://cvs.m17n.org/viewcvs/m17n/m17n-lib/src/locale.c?r1=1.12&r2=1.13 .

Comment by Ionut Biru (wonder) - Wednesday, 19 January 2011, 08:48 GMT
@Gaetan what do you think about pushing that patch? IMO is safe enough since is already pushed upstream
Comment by Gaetan Bisson (vesath) - Wednesday, 19 January 2011, 09:05 GMT
Sure. I love patches that make code shorter and much simpler. :)
I'll build a new package and upload it to [extra] soon.
Comment by Gaetan Bisson (vesath) - Wednesday, 19 January 2011, 09:54 GMT
Here, let me know if it works for you (I can't properly test vlc right now).
Edit: more explicitly, m17n-lib-1.6.2-2 has arrived in [extra] with the locale patch.

Loading...