Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52282 - VLC compiled, but crashed at startup on wine libs
Summary: VLC compiled, but crashed at startup on wine libs
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 10:35 UTC by Radek Kubicek
Modified: 2005-01-28 17:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radek Kubicek 2004-05-28 10:35:01 UTC
Hi, I have following problem.

I successfully installed masked version of vlc-0.7.1. When I want to run it, it says SIGSEGV :( So I straced it, and some things go wrong. I add end of strace log:

open("/usr/lib/libmpeg2.so.0", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\24"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=114188, ...}) = 0
mmap2(NULL, 119880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x418fa000
mmap2(0x41915000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1b) = 0x41915000
mmap2(0x41916000, 5192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x41916000
close(5)                                = 0
munmap(0x418e6000, 80058)               = 0
stat64("/usr/lib/vlc/codec/librawvideo_plugin.so", {st_mode=S_IFREG|0755, st_size=6668, ...}) = 0
open("/usr/lib/vlc/codec/librawvideo_plugin.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\6\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=6668, ...}) = 0
mmap2(NULL, 9344, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x418e6000
mmap2(0x418e8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1) = 0x418e8000
close(5)                                = 0
stat64("/usr/lib/vlc/codec/libdts_plugin.so", {st_mode=S_IFREG|0755, st_size=11408, ...}) = 0
open("/usr/lib/vlc/codec/libdts_plugin.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\6\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=11408, ...}) = 0
mmap2(NULL, 14084, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x418e9000
mmap2(0x418ec000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x2) = 0x418ec000
close(5)                                = 0
stat64("/usr/lib/vlc/codec/libspeex_plugin.so", {st_mode=S_IFREG|0755, st_size=15904, ...}) = 0
open("/usr/lib/vlc/codec/libspeex_plugin.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\16"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=15904, ...}) = 0
mmap2(NULL, 18456, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x418ed000
mmap2(0x418f1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x3) = 0x418f1000
close(5)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=80058, ...}) = 0
mmap2(NULL, 80058, PROT_READ, MAP_PRIVATE, 5, 0) = 0x41918000
close(5)                                = 0
open("/usr/lib/libspeex.so.1", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2001\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=130136, ...}) = 0
mmap2(NULL, 126472, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4192c000
mmap2(0x4194a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1e) = 0x4194a000
close(5)                                = 0
open("/usr/lib/libwinmm.so", O_RDONLY)  = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\260\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=1218517, ...}) = 0
mmap2(NULL, 375408, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4194b000
mmap2(0x419a2000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x57) = 0x419a2000
close(5)                                = 0
open("/usr/lib/libwine.so", O_RDONLY)   = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\16\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=115207, ...}) = 0
mmap2(NULL, 87808, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x419a7000
mmap2(0x419aa000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x2) = 0x419aa000
mmap2(0x419ab000, 71424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x419ab000
close(5)                                = 0
open("/usr/lib/libwine_port.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\t\0\000"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=33528, ...}) = 0
mmap2(NULL, 7748, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x419bd000
mmap2(0x419be000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0) = 0x419be000
close(5)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

So, why VLC depends on wine? First I compiled with wxwindows, did it. So I compiled without wxwindows and bug repeated.

Here is listing of ldd:

radek root # ldd `which vlc`
        linux-gate.so.1 =>  (0xffffe000)
        librt.so.1 => /lib/librt.so.1 (0x4002a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4003d000)
        libdl.so.2 => /lib/libdl.so.2 (0x4008e000)
        libavcodec.so => /usr/lib/libavcodec.so (0x40091000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x40286000)
        libm.so.6 => /lib/libm.so.6 (0x4031b000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x4033d000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x403f4000)
        libc.so.6 => /lib/libc.so.6 (0x403fd000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40531000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40540000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x40568000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x40650000)

I don`t see any wine lib...

System:
radek root # uname -a
Linux radek 2.6.5-gentoo-r1 #8 Thu May 27 16:19:11 CEST 2004 i686 Intel(R) Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux

Reproducible: Always
Steps to Reproduce:
1. Compile vlc-0.7.1-r?
2. Run vlc
3. Says SIGSEGV

Actual Results:  
Didn`t work, says SIGSEGV

Expected Results:  
I`ve to see nice VLC media player
Comment 1 Joel Martin (RETIRED) gentoo-dev 2004-06-25 13:25:30 UTC
Should the severity of this bug really be marked as "critical"?
Comment 2 Joel Martin (RETIRED) gentoo-dev 2004-06-25 15:06:23 UTC
Since I couldn't easily reproduce this with vlc-0.7.2 and since 0.7.1 is not
marked stable yet, I'm lowering the severity of this bug to normal.

I merge wine 20040121 and then vlc 0.7.2. When I run (using strace), I don't
see any attempt to access any wine libraries.

In addition, I don't even see any wine files in /usr/lib at all. All wine 
libraries on my system are in /usr/lib/wine/.

What version of wine are you running? Do get this problem with vlc-0.7.2?


Comment 3 Radek Kubicek 2004-06-26 14:05:21 UTC
My version of Wine is Wine 20040408. I know, it's unstable, but works finer than stable version.

I succesfully merged VLC 0.7.1 (only texts were bigger then they have to, probably system settings) and I don't know why... simply merged and works :-/, so I want to merge VLC 0.7.2 and... again wine hell :( I don't know, why then access for wine libs, when I debug it, it failed on other one lib.

And I'm sorry for critical mark, I forgot that were not a stable version :)
Comment 4 Chris White (RETIRED) gentoo-dev 2005-01-07 20:16:39 UTC
Is this a problem with 0.8.1?  If not, then I'd like to close this.
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-28 17:06:20 UTC
please reopen this one if this is still an issue with 0.8.1.