Hi, thanks for your reply. The function that prints this error message
out is actually the "Read" function in
<VLC-0.8.2>/modules/access/file.c, around line 404 or so. It uses
a function call "read", which is defined by the C function "fread",
which reads from a file stream to a buffer pointed by the pointer
passed in. Seems like it is returning a -1, meaning read failed. I
haven't find what function calls this "Read" function in file.c yet
though. Here's a more detailed log when I ran VLC.<br>
<br>

[00000001] main vlc debug: translation test: code is "C"<br>

[00000001] main vlc debug: checking builtin modules<br>

[00000001] main vlc debug: module bank initialized, found 155 modules<br>

[00000001] main vlc debug: opening config file /root/.vlc/vlcrc<br>

[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet<br>

[00000001] main vlc debug: CPU has capabilities<br>

[00000001] main vlc debug: looking for memcpy module: 1 candidate<br>

[00000021] main module debug: using memcpy module "memcpy"<br>

[00000195] main playlist debug: waiting for thread completion<br>

[00000195] main playlist debug: thread 1026 (playlist) created at priority 0 (src/playlist/playlist.c:152)<br>

[00000196] main private debug: waiting for thread completion<br>

[00000196] main private debug: thread 2051 (preparser) created at priority 0 (src/playlist/playlist.c:174)<br>

[00000197] main interface debug: looking for interface module: 1 candidate<br>

[00000123] main module debug: using interface module "hotkeys"<br>

[00000197] main interface debug: interface initialized<br>

[00000197] main interface debug: thread 3076 (interface) created at priority 0 (src/interface/interface.c:211)<br>

[00000195] main playlist debug: adding playlist item `../complete_58.mp3' ( ../complete_58.mp3 )<br>

[00000198] main interface debug: looking for interface module: 1 candidate<br>

Remote control interface initialized, `h' for help<br>

[00000121] main module debug: using interface module "rc"<br>

[00000198] main interface debug: interface initialized<br>

[00000198] main interface debug: thread 4101 (manager) created at priority 0 (src/interface/interface.c:196)
<br>

[00000195] main playlist debug: creating new input thread<br>

[00000199] main input debug: waiting for thread completion<br>

[00000199] main input debug: `../complete_58.mp3' gives access `' demux `' path `../complete_58.mp3'<br>

[00000199] main input debug: creating demux: access='' demux='' path='../complete_58.mp3'<br>

[00000200] main demuxer debug: looking for access_demux module: 0 candidates<br>

[00000200] main demuxer warning: no access_demux module matched "any"<br>

[00000199] main input debug: creating access '' path='../complete_58.mp3'<br>

[00000201] main access debug: looking for access2 module: 2 candidates<br>

[00000199] main input debug: thread 5126 (input) created at priority 0 (src/input/input.c:230)<br>

[00000201] access_file access debug: opening file `../complete_58.mp3'<br>

[00000106] main module debug: using access2 module "access_file"<br>

[00000202] main private debug: pre buffering<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000201] access_file access error: read failed (Bad address)<br>

signal 2 received, terminating vlc - do it again in case it gets
stuck      <----------- WHEN I PRESS CTRL+C<br>

[00000201] access_file access error: read failed (Bad address)<br>

[00000001] main vlc debug: removing all interfaces<br>

[00000198] main interface debug: thread 4101 joined (src/interface/interface.c:238)<br>

[00000121] main module debug: unlocking module "rc"<br>

[00000197] main interface debug: thread 3076 joined (src/interface/interface.c:238)<br>

[00000123] main module debug: unlocking module "hotkeys"<br>

[00000001] main vlc debug: removing all playlists<br>

[00000196] main private debug: thread 2051 joined (src/playlist/playlist.c:206)<br>

[00000202] main private debug: prebuffering done 0 bytes in 4s - 0 kbytes/s<br>

[00000202] main private error: cannot pre fill buffer<br>

[00000199] main input warning: cannot create a stream_t from access<br>

[00000106] main module debug: unlocking module "access_file"<br>

[00000199] main input debug: thread 5126 joined (src/input/input.c:386)<br>

[00000195] main playlist debug: thread 1026 joined (src/playlist/playlist.c:207)<br>

[00000195] main playlist: stopping playback<br>

[00000195] main playlist debug: deleting playlist item `../complete_58.mp3'<br>

[00000001] main vlc debug: removing all video outputs<br>

[00000001] main vlc debug: removing all audio outputs<br>

[00000001] main vlc debug: removing announce handler
<br>

[00000021] main module debug: unlocking module "memcpy"<br>
<br>
The same file can be played by vlc-0.8.1 (on an x86 machine though)
which is downloaded directly through yum. So I wouldn't assume
VLC-0.8.2 is broken would it? Thanks a lot.<br>
<br>
Cheers,<br>
<br>
  Arthur<br>
<br>
<br><br><div><span class="gmail_quote">On 10/12/05, <b class="gmail_sendername">Rémi Denis-Courmont</b> <<a href="mailto:rem@videolan.org">rem@videolan.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Le Mardi 11 Octobre 2005 23:55, Arthur Chiu a écrit :<br>> I tried to compile using --disable-plugins and make everything built<br>> in, and I don't get the seg fault anymore. However, I am getting an<br>> error saying:
<br>><br>> [00000178] access_file access error: read failed (Bad address)<br><br>What errno is that ? I can't find it in the specification for POSIX<br>read.<br><br>Also, please try the latest 0.8.4-test release. I think some linking
<br>problems were fixed since 0.8.2.<br><br>--<br>Rémi Denis-Courmont<br><a href="http://www.simphalempin.com/home/">http://www.simphalempin.com/home/</a><br><br><br></blockquote></div><br>