 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

24th March 2009, 11:53 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 44

|
|
3 Annoying Problems (Openbox, mpd, TuxGuitar)
1. fusion-icon runs very good in gnome, but if i run it in openbox, it sends me back to the login screen.
2. I can't create database for mpd or run it.
This is my mpd.conf:
Code:
music_directory "/home/moyiz/Music"
playlist_directory "/home/moyiz/.mpd/Playlists"
db_file "/home/moyiz/.mpd/mpd.db"
log_file "/home/moyiz/.mpd/mpd.log"
error_file "/home/moyiz/.mpd/mpd.error"
pid_file "/home/moyiz/.mpd/pid"
state_file "/home/moyiz/.mpd/mpdstate"
user "moyiz"
bind_to_address "127.0.0.1"
port "6600"
"sudo mpd --create-db" lists all the audio files in the music directory, and then:
Code:
*** glibc detected *** mpd: double free or corruption (out): 0x093c0050 ***
======= Backtrace: =========
/lib/libc.so.6[0x9213a4]
/lib/libc.so.6(cfree+0x96)[0x923356]
/usr/lib/libmad.so.0(mad_frame_finish+0x2c)[0x1040e4]
mpd[0x806b174]
mpd[0x806baeb]
mpd[0x806bb23]
mpd[0x80653fe]
mpd[0x80655d7]
mpd[0x8058e68]
mpd[0x8058beb]
mpd[0x8058d84]
mpd[0x8058beb]
mpd[0x8058d84]
mpd[0x8058beb]
mpd[0x8058d84]
mpd[0x8058beb]
mpd[0x8058d84]
mpd[0x8058beb]
mpd[0x8059026]
/lib/libpthread.so.0[0xa6051f]
/lib/libc.so.6(clone+0x5e)[0x99604e]
======= Memory map: ========
00101000-00117000 r-xp 00000000 fd:00 22579774 /usr/lib/libmad.so.0.2.1
00117000-00118000 rw-p 00015000 fd:00 22579774 /usr/lib/libmad.so.0.2.1
00118000-00148000 r-xp 00000000 fd:00 7660049 /usr/lib/libglut.so.3.8.0
00148000-0014d000 rw-p 0002f000 fd:00 7660049 /usr/lib/libglut.so.3.8.0
0018b000-00195000 r-xp 00000000 fd:00 23267419 /usr/lib/i686/libavutil.so.49.10.0
00195000-00196000 rw-p 0000a000 fd:00 23267419 /usr/lib/i686/libavutil.so.49.10.0
00196000-00199000 rw-p 00196000 00:00 0
0019b000-001aa000 r-xp 00000000 fd:00 7659830 /usr/lib/libshout.so.3.2.0
001aa000-001ab000 rw-p 0000f000 fd:00 7659830 /usr/lib/libshout.so.3.2.0
001c0000-001ca000 r-xp 00000000 fd:00 7659675 /usr/lib/libgsm.so.1.0.12
001ca000-001cb000 rw-p 00009000 fd:00 7659675 /usr/lib/libgsm.so.1.0.12
001f1000-001f5000 r-xp 00000000 fd:00 7659652 /usr/lib/libXxf86vm.so.1.0.0
001f5000-001f6000 rw-p 00003000 fd:00 7659652 /usr/lib/libXxf86vm.so.1.0.0
001fa000-001fe000 r-xp 00000000 fd:00 20710554 /lib/libcap.so.2.10
001fe000-001ff000 rw-p 00003000 fd:00 20710554 /lib/libcap.so.2.10
00268000-002a7000 r-xp 00000000 fd:00 20710555 /lib/libdbus-1.so.3.4.0
002a7000-002a8000 r--p 0003e000 fd:00 20710555 /lib/libdbus-1.so.3.4.0
002a8000-002a9000 rw-p 0003f000 fd:00 20710555 /lib/libdbus-1.so.3.4.0
002ab000-0030b000 r-xp 00000000 fd:00 22584534 /usr/lib/liboil-0.3.so.0.2.0
0030b000-00322000 rw-p 00060000 fd:00 22584534 /usr/lib/liboil-0.3.so.0.2.0
00322000-00324000 rw-p 00322000 00:00 0
00326000-0036a000 r-xp 00000000 fd:00 22579026 /usr/lib/libmp3lame.so.0.0.0
0036a000-0036c000 rw-p 00043000 fd:00 22579026 /usr/lib/libmp3lame.so.0.0.0
0036c000-0039d000 rw-p 0036c000 00:00 0
0039f000-00452000 r-xp 00000000 fd:00 23265582 /usr/lib/i686/libavformat.so.52.22.1
00452000-00456000 rw-p 000b3000 fd:00 23265582 /usr/lib/i686/libavformat.so.52.22.1
00496000-004a1000 r-xp 00000000 fd:00 20709561 /lib/libnss_files-2.9.so
004a1000-004a2000 r--p 0000a000 fd:00 20709561 /lib/libnss_files-2.9.so
004a2000-004a3000 rw-p 0000b000 fd:00 20709561 /lib/libnss_files-2.9.so
0051b000-0051d000 rwxp 00000000 00:0f 394 /dev/zero
00756000-00768000 r-xp 00000000 fd:00 22580332 /usr/lib/libid3tag.so.0.3.0
00768000-0076a000 rw-p 00011000 fd:00 22580332 /usr/lib/libid3tag.so.0.3.0
0076c000-0077a000 r-xp 00000000 fd:00 7659749 /usr/lib/liblber-2.4.so.2.2.0
0077a000-0077b000 rw-p 0000d000 fd:00 7659749 /usr/lib/liblber-2.4.so.2.2.0
00783000-00792000 r-xp 00000000 fd:00 7659557 /usr/lib/libfaac.so.0.0.0
00792000-00795000 rw-p 0000e000 fd:00 7659557 /usr/lib/libfaac.so.0.0.0
00797000-007e7000 r-xp 00000000 fd:00 22578840 /usr/lib/libmikmod.so.3.0.0
007e7000-007e9000 rw-p 0004f000 fd:00 22578840 /usr/lib/libmikmod.so.3.0.0
007e9000-007ee000 rw-p 007e9000 00:00 0
0081f000-0082b000 r-xp 00000000 fd:00 22579874 /usr/lib/libmpcdec.so.5.0.2
0082b000-0082c000 rw-p 0000b000 fd:00 22579874 /usr/lib/libmpcdec.so.5.0.2
0082e000-0083e000 r-xp 00000000 fd:00 7659632 /usr/lib/libjack.so.0.0.28
0083e000-00840000 rw-p 00010000 fd:00 7659632 /usr/lib/libjack.so.0.0.28
00840000-00848000 rw-p 00840000 00:00 0
0084b000-00861000 r-xp 00000000 fd:00 20710556 /lib/libnsl-2.9.so
00861000-00862000 r--p 00016000 fd:00 20710556 /lib/libnsl-2.9.so
00862000-00863000 rw-p 00017000 fd:00 20710556 /lib/libnsl-2.9.so
00863000-00865000 rw-p 00863000 00:00 0
0086e000-00884000 r-xp 00000000 fd:00 22581320 /usr/lib/libspeex.so.1.5.0
00884000-00885000 rw-p 00016000 fd:00 22581320 /usr/lib/libspeex.so.1.5.0
00887000-00889000 r-xp 00000000 fd:00 20710565 /lib/libcom_err.so.2.1
00889000-0088a000 rw-p 00001000 fd:00 20710565 /lib/libcom_err.so.2.1
0088d000-008ad000 r-xp 00000000 fd:00 20709782 /lib/ld-2.9.so
008ae000-008af000 r--p 00020000 fd:00 20709782 /lib/ld-2.9.so
008af000-008b0000 rw-p 00021000 fd:00 20709782 /lib/ld-2.9.so
008b2000-00a20000 r-xp 00000000 fd:00 20709783 /lib/libc-2.9.so
00a20000-00a22000 r--p 0016e000 fd:00 20709783 /lib/libc-2.9.so
00a22000-00a23000 rw-p 00170000 fd:00 20709783 /lib/libc-2.9.so
00a23000-00a26000 rw-p 00a23000 00:00 0
00a28000-00a4f000 r-xp 00000000 fd:00 20710551 /lib/libm-2.9.so
00a4f000-00a50000 r--p 00026000 fd:00 20710551 /lib/libm-2.9.so
00a50000-00a51000 rw-p 00027000 fd:00 20710551 /lib/libm-2.9.so
00a53000-00a56000 r-xp 00000000 fd:00 20710546 /lib/libdl-2.9.so
00a56000-00a57000 r--p 00002000 fd:00 20710546 /lib/libdl-2.9.so
00a57000-00a58000 rw-p 00003000 fd:00 20710546 /lib/libdl-2.9.so
00a5a000-00a70000 r-xp 00000000 fd:00 20710508 /lib/libpthread-2.9.so
00a70000-00a71000 r--p 00015000 fd:00 20710508 /lib/libpthread-2.9.so
00a71000-00a72000 rw-p 00016000 fd:00 20710508 /lib/libpthread-2.9.so
00a72000-00a74000 rw-p 00a72000 00:00 0
00a76000-00a89000 r-xp 00000000 fd:00 20710552 /lib/libz.so.1.2.3
00a89000-00a8a000 rw-p 00012000 fd:00 20710552 /lib/libz.so.1.2.3
00a8c000-00aa6000 r-xp 00000000 fd:00 20710548 /lib/libselinux.so.1
00aa6000-00aa7000 r--p 00019000 fd:00 20710548 /lib/libselinux.so.1
00aa7000-00aa8000 rw-p 0001a000 fd:00 20710548 /lib/libselinux.so.1
00aaa000-00b8c000 r-xp 00000000 fd:00 20710510 /lib/libglib-2.0.so.0.1800.4
00b8c000-00b8d000 rw-p 000e2000 fd:00 20710510 /lib/libglib-2.0.so.0.1800.4
00b8f000-00b97000 r-xp 00000000 fd:00 20710509 /lib/librt-2.9.so
00b97000-00b98000 r--p 00007000 fd:00 20710509 /lib/librt-2.9.so
00b98000-00b99000 rw-p 00008000 fd:00 20710509 /lib/librt-2.9.so
00b9b000-00bce000 r-xp 00000000 fd:00 22583363 /usr/lib/libtheora.so.0.3.3
00bce000-00bcf000 rw-p 00032000 fd:00 22583363 /usr/lib/libtheora.so.0.3.3
00bde000-00be2000 r-xp 00000000 fd:00 20710512 /lib/libgthread-2.0.so.0.1800.4
00be2000-00be3000 rw-p 00003000 fd:00 20710512 /lib/libgthread-2.0.so.0.1800.4
00beb000-00bf0000 r-xp 00000000 fd:00 7659786 /usr/lib/libXdmcp.so.6.0.0
00bf0000-00bf1000 rw-p 00004000 fd:00 7659786 /usr/lib/libXdmcp.so.6.0.0
00bf3000-00c0e000 r-xp 00000000 fd:00 7659787 /usr/lib/libxcb.so.1.0.0
00c0e000-00c0f000 rw-p 0001b000 fd:00 7659787 /usr/lib/libxcb.so.1.0.0
00c11000-00c12000 r-xp 00000000 fd:00 22733373 /usr/lib/nvidia/tls/libnvidia-tls.so.180.29
00c12000-00c13000 rw-p 00000000 fd:00 22733373 /usr/lib/nvidia/tls/libnvidia-tls.so.180.29
00c15000-00c24000 r-xp 00000000 fd:00 9740294 /usr/lib/libXext.so.6.4.0
00c24000-00c25000 rw-p 0000e000 fd:00 9740294 /usr/lib/libXext.so.6.4.0
00c27000-00c91000 r-xp 00000000 fd:00 22582954 /usr/lib/libGLU.so.1.3.070300
00c91000-00c92000 rw-p 0006a000 fd:00 22582954 /usr/lib/libGLU.so.1.3.070300
00c94000-00ca4000 r-xp 00000000 fd:00 7659774 /usr/lib/libpulse-simple.so.0.0.2
00ca4000-00ca5000 rw-p 00010000 fd:00 7659774 /usr/lib/libpulse-simple.so.0.0.2
00cc4000-00cc5000 r-xp 00cc4000 00:00 0 [vdso]
00d14000-00d16000 r-xp 00000000 fd:00 7659785 /usr/lib/libXau.so.6.0.0
00d16000-00d17000 rw-p 00001000 fd:00 7659785 /usr/lib/libXau.so.6.0.0
00d19000-00d1a000 r-xp 00000000 fd:00 7659788 /usr/lib/libxcb-xlib.so.0.0.0
00d1a000-00d1b000 rw-p 00000000 fd:00 7659788 /usr/lib/libxcb-xlib.so.0.0.0
00d1d000-00d5a000 r-xp 00000000 fd:00 7659643 /usr/lib/libfaad.so.0.0.0
00d5a000-00d5d000 rw-p 0003d000 fd:00 7659643 /usr/lib/libfaad.so.0.0.0
00d5f000-00de6000 r-xp 00000000 fd:00 22584343 /usr/lib/libx264.so.61
00de6000-00de7000 rw-p 00086000 fd:00 22584343 /usr/lib/libx264.so.61
00de7000-00de9000 rw-p 00de7000 00:00 0
00de9000-00dea000 ---p 00de9000 00:00 0
00dea000-017ea000 rwxp 00dea000 00:00 0
02071000-02092000 r-xp 00000000 fd:00 7659625 /usr/lib/libssh2.so.1.0.0
02092000-02093000 rw-p 00021000 fd:00 7659625 /usr/lib/libssh2.so.1.0.0
02095000-0209e000 r-xp 00000000 fd:00 22578139 /usr/lib/libkrb5support.so.0.1
0209e000-0209f000 rw-p 00008000 fd:00 22578139 /usr/lib/libkrb5support.so.0.1
020a1000-020b4000 r-xp 00000000 fd:00 20709606 /lib/libresolv-2.9.so
020b4000-020b5000 r--p 00012000 fd:00 20709606 /lib/libresolv-2.9.so
020b5000-020b6000 rw-p 00013000 fd:00 20709606 /lib/libresolv-2.9.so
020b6000-020b8000 rw-p 020b6000 00:00 0
020ba000-0Aborted
"sudo service mpd start" give almost the same output except this:
Code:
Starting The Music Player Daemon: unable to open db file "/home/moyiz/.mpd/mpd.db": No such file or directory
here are the music files
/bin/bash: line 1: 18245 Segmentation fault /usr/bin/mpd
[FAILED]
What's wrong?
3. I must kill the "java" proccess when I want to exit TuxGuitar. It crashes on exit.
Help.
Thanks.
(Sorry for my bad English)
|

2nd April 2009, 03:29 AM
|
 |
Registered User
|
|
Join Date: Sep 2006
Location: Manchester, UK
Age: 27
Posts: 44

|
|
|
I don't know if it's relevant how you installed mpd, but I installed mine with yum, and my ~/.mpdconf is slightly different from yours.
Looking down your conf file, I have the 'pid_file' line commented out, and then all of the options below 'state_file' also commented out. This is the relevant stuff, I think. Below this in my conf file, I have the 'save_absolute_paths_in_playlists' option set to "yes", and I have an Audio Output configuration uncommented, but in need of changing to enable me to hear the output of mpd as well as, for example, the sound of flash videos in Firefox.
Try commenting out the lines I mentioned, and see if you have any luck. It may even be worth having a look at/copying and editing /etc/mpd.conf and do your configuration with that.
__________________
(Athlon64) [OS] Fedora 8 x86_64 | [Desktop] KDE 3.5.9 | [CPU] AMD Athlon 64 3700+ San Diego | [RAM] Crucial 2GB DDR PC3200 | [Graphics] Asus Geforce 6200TC PCI-E 16x
(Acer Aspire One AOA150-Ab) [OS] Fedora 10 i686 | [Desktop] XFCE 4.4.3
[Blog] The Life and Times of Miblo del Carpio
|

3rd April 2009, 12:07 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 44

|
|
|
Thanks for your comment, but it didn't work...
Same problem...
|

3rd April 2009, 04:52 PM
|
 |
Registered User
|
|
Join Date: Sep 2006
Location: Manchester, UK
Age: 27
Posts: 44

|
|
|
Are you wanting to use the conf file at "/etc/mpd.conf" or "~/.mpdconf"? If you're the only person who uses this configuration, you might as well use "~/.mpdconf", as I do, but if not I'd be out of my depth trying to offer help for a multi-user setup.
I have my "~/.mpdconf" file set up as previously said (I can post it in its entirety if you need), but I don't have mpd running as a daemon, preferring to invoke it (incidentally as a part of a script which also runs scmpc and ncmpcpp) from the command line when I want to use it. All are run as my regular (non-root) user, and work more or less as expected.
__________________
(Athlon64) [OS] Fedora 8 x86_64 | [Desktop] KDE 3.5.9 | [CPU] AMD Athlon 64 3700+ San Diego | [RAM] Crucial 2GB DDR PC3200 | [Graphics] Asus Geforce 6200TC PCI-E 16x
(Acer Aspire One AOA150-Ab) [OS] Fedora 10 i686 | [Desktop] XFCE 4.4.3
[Blog] The Life and Times of Miblo del Carpio
|

4th April 2009, 10:46 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 44

|
|
|
I tried to use the conf file in my home directory, same problem..
How do you run it?
I need to create db....
'mpd' and 'mpd --create-db' not working....
Thanks
|

4th April 2009, 05:24 PM
|
 |
Registered User
|
|
Join Date: Sep 2006
Location: Manchester, UK
Age: 27
Posts: 44

|
|
It's actually an alias I use - not a script - with a line in my "~/.bashrc" reading:
Code:
alias music="mpd ; scmpc ; ncmpcpp"
That's how I run it (typing music), with my conf file at "~/.mpdconf". As for your output, I'm pretty stumped with it. I could recommend removing and reinstalling mpd, but I don't know what I'd be trying to achieve, other than perhaps getting some possible missing dependencies. Our "~/.mpdconf" files differ in that you've written the expanded "/home/moyiz" where I've merely put "~", but I wouldn't have thought this should make any difference.
I've just run mpd --create-db myself, and found it works as expected. Perhaps try reinstalling mpd, and if that doesn't improve the situation try removing (or moving elsewhere) your "~/.mpd/" directory and re-run it.
__________________
(Athlon64) [OS] Fedora 8 x86_64 | [Desktop] KDE 3.5.9 | [CPU] AMD Athlon 64 3700+ San Diego | [RAM] Crucial 2GB DDR PC3200 | [Graphics] Asus Geforce 6200TC PCI-E 16x
(Acer Aspire One AOA150-Ab) [OS] Fedora 10 i686 | [Desktop] XFCE 4.4.3
[Blog] The Life and Times of Miblo del Carpio
|

4th April 2009, 09:03 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 44

|
|
|
I tried everything... Even creating the db from another computer with ssh..
Thanks for helping
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 20:20 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|