View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: mplayer: Bad Address
PostPosted: Fri Oct 15, 2004 7:54 am 
Offline
Joined: Tue Oct 05, 2004 6:59 pm
Posts: 15
Location: Philadelphia, PA
Hey guys,

This forum has been extremely helpful to me in the past, so I was hoping someone had an idea what's going on with the latest problem I'm having.

Bought the XP MCE remote from pcalchemy. Plugged in its IR receiver, compiled lirc-0.7.0pre8 from the lirc snapshots. Compiled from source, modprobed the lirc mceusb and lircdev modules, started lircd. Huzzah - remote support in Myth. This rounds out the final steps of integration on my new myth box.

Now the problem seems to be when I start MPlayer, it looks for a LIRC configuration and tries to connect to the daemon. Here, unfortunately, is where I'm stuck. I get error messages like:
Code:
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 0 binds
Opening joystick device /dev/input/js0
Setting up LIRC support...
mplayer: could not open config file
mplayer: Bad address
Segmentation fault


Running a backtrace in gdb:
Code:
CPU: Intel Pentium 4/Xeon/Celeron Foster 2526 MHz (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 0 binds
Opening joystick device /dev/input/js0
Setting up LIRC support...
mplayer: could not open config file
mplayer: Bad address

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1091806720 (LWP 3958)]
0x40de86b9 in vfprintf () from /lib/tls/libc.so.6
(gdb) bt
#0  0x40de86b9 in vfprintf () from /lib/tls/libc.so.6
#1  0x40e0a52e in vsnprintf () from /lib/tls/libc.so.6
#2  0x084eb800 in rtsp_protocol_version ()
#3  0xfbad8001 in ?? ()
#4  0xbfffcc70 in ?? ()
#5  0xbfffcc70 in ?? ()
#6  0xbfffcc70 in ?? ()
#7  0xbfffcc70 in ?? ()
#8  0xbfffcc90 in ?? ()
#9  0xbfffd86f in ?? ()
#10 0xbfffcc70 in ?? ()
#11 0xbfffd86f in ?? ()
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x746f6e20 in ?? ()
#18 0x00000000 in ?? ()
#19 0x656c6261 in ?? ()
#20 0x20000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x72756f79 in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0x6d657220 in ?? ()
#24 0x2065746f in ?? ()
#25 0x746e6f63 in ?? ()
#26 0xffffffff in ?? ()
#27 0xbfff000a in ?? ()
#28 0x40dc3c65 in gettext () from /lib/tls/libc.so.6
#29 0x40ed7320 in ?? () from /lib/tls/libc.so.6
#30 0x0846d900 in _IO_stdin_used ()
#31 0xbfffd90c in ?? ()
#32 0xbfffccf0 in ?? ()
#33 0x00000000 in ?? ()
#34 0x4113a600 in ?? ()
#35 0xffffffe0 in ?? ()
#36 0x40dc4360 in gettext () from /lib/tls/libc.so.6
#37 0x40ed734c in ?? () from /lib/tls/libc.so.6
#38 0xbfffccf0 in ?? ()
#39 0xbfffccf0 in ?? ()
#40 0x40ecf940 in _IO_wfile_jumps () from /lib/tls/libc.so.6
#41 0x00000000 in ?? ()
#42 0x00000007 in ?? ()
#43 0x00000056 in ?? ()
#44 0x00000000 in ?? ()
#45 0x0000000e in ?? ()
---Type <return> to continue, or q <return> to quit---
#46 0x00000000 in ?? ()
#47 0x40ebf389 in _libc_intl_domainname () from /lib/tls/libc.so.6
#48 0x0869c008 in ?? ()
#49 0x40ecfd40 in _IO_2_1_stdin_ () from /lib/tls/libc.so.6
#50 0x40e0db7b in _IO_file_sync () from /lib/tls/libc.so.6
#51 0x00000000 in ?? ()
#52 0x00000001 in ?? ()
#53 0xbfffcc70 in ?? ()
#54 0x00000000 in ?? ()
#55 0xbffffcf8 in ?? ()
#56 0x080a772c in mp_msg_c ()
#57 0x084eb800 in rtsp_protocol_version ()
#58 0x4c206461 in ?? ()
#59 0x20435249 in ?? ()
#60 0x666e6f63 in ?? ()
#61 0x66206769 in ?? ()
#62 0x20656c69 in ?? ()
#63 0x00000000 in ?? ()
#64 0x00000002 in ?? ()
#65 0x086b1a20 in ?? ()
#66 0x40ebf389 in _libc_intl_domainname () from /lib/tls/libc.so.6
#67 0x0869c008 in ?? ()
#68 0xbfffccb0 in ?? ()
---Type <return> to continue, or q <return> to quit---
#69 0x40e0db7b in _IO_file_sync () from /lib/tls/libc.so.6
#70 0x40e02069 in fflush () from /lib/tls/libc.so.6
#71 0x080a7778 in mp_msg_c ()
#72 0xbfffcc8c in ?? ()
#73 0xbfffcc8c in ?? ()
#74 0x6e697355 in ?? ()
#75 0x694c2067 in ?? ()
#76 0x2078756e in ?? ()
#77 0x64726168 in ?? ()
#78 0x65726177 in ?? ()
#79 0x43545220 in ?? ()
#80 0x6d697420 in ?? ()
#81 0x20676e69 in ?? ()
#82 0x32303128 in ?? ()
#83 0x297a4834 in ?? ()
#84 0x20000a2e in ?? ()
#85 0x6d616554 in ?? ()
#86 0xbf000a0a in ?? ()
#87 0x4105d0b9 in ?? () from /usr/lib/libsasl2.so.2

#88 0x4000fa31 in __libc_memalign () from /lib/ld-linux.so.2
Previous frame inner to this frame (corrupt stack?)


I assume this was compiled without frame pointers so it's not terribly useful. But here are the questions I have:

What config file is it looking for? Specifically, which one should I be checking and why would it not be able to open it?

What's "bad address"? Module config problem? Conflict? Anyone know something I can do to troubleshoot or fix it?

Again, the remote works fine in Myth with lircd running. Attempting to open a movie file from MythVideo crashes mplayer (and basically gives the impression you've not actually selected anything in Myth). The problem (I *think*) might have something to do with the lircd device. Currently I have:

Code:
cracow:/home/mark# ls -l /dev/lirc*
crwxrwxrwx  1 root root 61, 0 Oct 14 19:06 /dev/lirc
srwxrwxrwx  1 root root     0 Oct 15 00:34 /dev/lircd
prwxr--r--  1 root root     0 Oct 14 19:06 /dev/lircm


but if I make the permissions a bit less liberal for /dev/lircd, mplayer will start, and will complain about permission denied errors trying to open the socket just after the "Setting up LIRC..." message.

I'm totally stuck on this one and it sucks big time that I can't get mplayer working now. Searched the archives and mailing lists for hours and I was hoping someone here might help me break through on this one.

Thanks!
-Mark


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 55 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu