FS#19560 - [cmus] 2.3.2-1 segfaulting
Attached to Project:
Arch Linux
Opened by vlastik (vlastik) - Saturday, 22 May 2010, 14:17 GMT
Last edited by Ionut Biru (wonder) - Sunday, 23 May 2010, 21:52 GMT
Opened by vlastik (vlastik) - Saturday, 22 May 2010, 14:17 GMT
Last edited by Ionut Biru (wonder) - Sunday, 23 May 2010, 21:52 GMT
|
Details
Description:
Cmus segfaults if I try to play file with diacritics (eg. ěščřžýáíé) in filename. Additional info: * cmus 2.3.2-1, previous version 2.3.0-3 works just fine Steps to reproduce: Try to play file "Výsledky měření rychlosti internetového připojení.mp3" |
This task depends upon
Closed by Ionut Biru (wonder)
Sunday, 23 May 2010, 21:52 GMT
Reason for closing: Fixed
Additional comments about closing: cmus 2.3.2-2
Sunday, 23 May 2010, 21:52 GMT
Reason for closing: Fixed
Additional comments about closing: cmus 2.3.2-2
http://cmus.sourceforge.net/#development
I would also suggest to clone git repo, then build and run locally : ./configure --prefix=/usr ; make ; ./cmus
See if you can reproduce.
Then go back to older versions : git checkout v2.3.0 or v2.3.1 and see if you can reproduce.
And if you can indeed see the regression that way, start a git bisect (man git-bisect)
cmus uses id3 and yes I can reproduce problems with non-ascii char in id3 tags.
The first problem I noticed was many misplaced text/characters. But with another album I can reproduce the segfault. It seems to segfault inside ncurses.
I rebuilt v2.3.0 and it still fails. The only way I can make it work is altering the cflags, so it seems toolchain related.
However I can reproduce the problem with clang (segfault with default clfags, fine if I change them).
So if both gcc and clang fail in the same way, a compiler bug seems less likely now.
I will try to investigate a bit more to see if I find something that makes sense. In any cases I will report back to cmus ML.
Problematic commit suggested by bisect: 6157de2f836350719f86550acd423935f016b0fc
http://gitorious.org/cmus/cmus/commit/2e679c66554cc0205779a72b82ddcc0175f571a6
yes, it's fixed in 2.3.2-2, I can play my files without segfaults now. Thank you!