Bug reports

Post your bug reports here

Corrupt mp3 freezes raspberry pi

Forums:

Hi,

when trying to play a corrupted mp3 file moc seems to crash, freezing the whole raspberry pi. Unfortunately no log files are saved. Everything just stops working so it's kind of hard to trace the problem. Since it only happens when I play this specific file until the corrupted part I assume it's a bug in moc.

All I can say is: The audio is played, some strange noise appears and then everything crashes. :o)

Mocp strange volume bug

Forums:

So, I've encountered a strange bug..
Currently, when I adjust the volume within mocp, it is only audible from 90%-100%.

When opening 'alsamixer' on the same computer, it seems that..
[MOCP - AlsaMixer(real)]

89% - 2%
90% - 11%
91% - 21%
92% - 30%

etc..

So I can only change volume for per 10% within mocp..

As you can imagine, it's pretty frustrating!!

It didn't happen yesterday, and I don't think I did anything over-night.. I just listened to the radio(That being said, I'd never used the radio on mocp before)..

Here's my config file for mocp..

Theme = /usr/local/share/moc/themes/green_theme

## Show file titles (title, author, album) instead of file names.
ReadTags = yes

MusicDir = "/home/user/Music"

ShowStreamErrors = yes

Repeat = yes

AutoNext = yes

FormatString = "%(n:%n %t:%t)"
#%(a:%a - :) %(t:%t:)%(A: (%A):)"

HideFileExtension = yes

I'm using external Bose speakers, and in AlsaMixer the only 'playback' device is a single 'PCM'. (In MOCP, the volume thing is Master 90% -- Could this be the reason?)

I'm using PulseAudio and ALSA.

Thanks

2.5.0-beta1 crashes client while resizing xterm

Forums:

While resizing xterm mocp client crashes with

FATAL_ERROR: select() failed: Exec format error

I don't know C language so idk what's causing the error as well.
This solves problem for me but most of the time it doesn't render interface correctly after changing the window size (I need to keep resizing as long it will render properly).
I guess it's better than a crash

--- interface.c 2013-10-19 06:15:18.819243399 +0200
+++ interface.c.patch 2013-10-19 06:16:52.731630212 +0200
@@ -3228,7 +3228,7 @@

if (ret == 0)
do_silent_seek ();
- else if (ret == -1 && !want_quit && errno != EINTR)
+ else if (ret == -1 && !want_quit && errno != EINTR && !want_resize)
interface_fatal ("select() failed: %s",
strerror(errno));

Tested on Debian Sid with awesome v3.5.1

2.5.0-beta1 Cannot work on Ubuntu 13.10 (Segmentation fault (core dumped))

Forums:

Here the information about moc

$ mocp --version

This is : Music On Console
Version : 2.5.0-beta1
Built : May 26 2013 05:45:33
Compiled with : OSS ALSA JACK DEBUG Network streams resample
Running on : Linux 3.11.0-12-generic i686
Author : Damian Pietras
Homepage : http://moc.daper.net/
E-Mail : mocmaint@daper.net
Copyright : (C) 2003-2012 Damian Pietras and others
License : GNU General Public License, version 2 or later

Here are the gdb information

$ gdb mocp core
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/bin/mocp...(no debugging symbols found)...done.
/home/marslo/core: No such file or directory.
(gdb) run
Starting program: /usr/bin/mocp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
__strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:229
229 ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S: No such file or directory.
(gdb) backtrace
#0 __strcmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:229
#1 0xb7c7674c in rccGetRealLanguage () from /usr/lib/librcc.so.0
#2 0xb7c7698a in rccGetCurrentLanguage () from /usr/lib/librcc.so.0
#3 0xb7c77a8c in rccGetCurrentConfig () from /usr/lib/librcc.so.0
#4 0xb7c74e60 in rccRegisterLanguage () from /usr/lib/librcc.so.0
#5 0xb7c757aa in rccCreateContext () from /usr/lib/librcc.so.0
#6 0xb7c7595a in rccInitDefaultContext () from /usr/lib/librcc.so.0
#7 0x080828c6 in rcc_init ()
#8 0x08053f99 in main ()
(gdb)

Here my system information

$ cat /etc/issue
Ubuntu 13.10 \n \l
$ uname -a
Linux MarsloJiao 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux

doesn't work in ubuntu 13.10 D: ):

Forums:

i type on console:

mocp

it says:

Segmentation Fault (`core' dumped)

Segfault in strcmp

Forums:

Moc 2.5.0-beta1 won't open after upgrading to Xubuntu 13.10, constantly segfaults in strcmp on startup:

noccy@noccy-aspire:/tmp/moc-2.5.0~beta1+svn20130411$ mocp
Segmentation fault
noccy@noccy-aspire:/tmp/moc-2.5.0~beta1+svn20130411$ mocp -D
Segmentation fault
noccy@noccy-aspire:/tmp/moc-2.5.0~beta1+svn20130411$ mocp --debug
Segmentation fault

GDB trace:

(gdb) run
Starting program: /tmp/moc-2.5.0~beta1+svn20130411/mocp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
__strcmp_ia32 () at ../sysdeps/i386/i686/multiarch/../strcmp.S:38
38 ../sysdeps/i386/i686/multiarch/../strcmp.S: No such file or directory.
(gdb) backtrace
#0 __strcmp_ia32 () at ../sysdeps/i386/i686/multiarch/../strcmp.S:38
#1 0xb7c5774c in rccGetRealLanguage () from /usr/lib/librcc.so.0
#2 0xb7c5798a in rccGetCurrentLanguage () from /usr/lib/librcc.so.0
#3 0xb7c58a8c in rccGetCurrentConfig () from /usr/lib/librcc.so.0
#4 0xb7c55e60 in rccRegisterLanguage () from /usr/lib/librcc.so.0
#5 0xb7c567aa in rccCreateContext () from /usr/lib/librcc.so.0
#6 0xb7c5695a in rccInitDefaultContext () from /usr/lib/librcc.so.0
#7 0x08082916 in rcc_init () at rcc.c:64
#8 0x08053fb9 in main (argc=1, argv=0xbfffeca4) at main.c:845
(gdb)

Next search doesn't work

Forums:

When I search with / and then press ^n, the cursor doesn't move...
I also tried to remap the keybinding for it but that didn't solve the problem.

I am using the latest beta version.

Segfaults when using a custom keymap

Forums:

Hi everyone !

I'm pretty happy with moc, and use it in a arcade cabinet with a Raspberry Pi : it only has sticks & buttons that are connected to an I-PAC interface (so they behave like keyboard keys).

I defined a custom keymap file where I changed almost everything and disabled many keys I do not need. It works well. (apart from the fact I cannot use the CTRL/ALT modifiers with the left/right/up/down keys, it works well :)

However, when my keymap is enabled, I get a segfault when starting moc, about 66% of the time (at launch time).

Do you have any idea what might be wrong ?

Here is my keymap file : http://pastebin.com/nfTKtBWq
Here is my config file : http://pastebin.com/u7n9NLC6

Cheers & thanks again !

Pages

Subscribe to RSS - Bug reports