Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137805 - app-cdr/cuecue doesn't compile w/ flac, ogg support (broken double free or corruption)
Summary: app-cdr/cuecue doesn't compile w/ flac, ogg support (broken double free or co...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-24 03:20 UTC by Stefan Briesenick (RETIRED)
Modified: 2008-06-16 20:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Briesenick (RETIRED) gentoo-dev 2006-06-24 03:20:49 UTC
please stabilize app-cdr/cuecue-0.2.2

thanks!
Comment 1 Matthias Langer 2006-06-27 14:38:03 UTC
i've done some testing with cuecue-0.2.2  USE="flac mp3 vorbis" on x86. thanks to sbriesen who explained me how the app actually works :-).

my results:
$ cuecue -v
cuecue 0.2.1
shouldn't this be 0.2.2 ?

cuecue seems to work well with mp3 files; the only flaw is that my commandline usually looks like this after the program has finished:
$ =======================] 100%

what cuecue-0.2.2 doesn't like are ogg files:
$ cuecue test.cue
cuecue 0.2.1
Converting: 'test.cue'
*** glibc detected *** double free or corruption (!prev): 0x0804c008 ***
Aborted

i'll try to provide a bt in the next few hours ...
note: i've not yet tested cuecue with flac files.
Comment 2 Matthias Langer 2006-06-27 15:00:02 UTC
ok, here's the bt i promised to provide:

(gdb) run test.cue
Starting program: /usr/bin/cuecue test.cue
cuecue 0.2.1
Converting: 'test.cue'
*** glibc detected *** double free or corruption (!prev): 0x0804c008 ***

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
(gdb) back
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7e103b1 in raise () from /lib/tls/libc.so.6
#2  0xb7e11dcd in abort () from /lib/tls/libc.so.6
#3  0xb7e43907 in __fsetlocking () from /lib/tls/libc.so.6
#4  0xb7e49727 in malloc_usable_size () from /lib/tls/libc.so.6
#5  0xb7e4a0e9 in free () from /lib/tls/libc.so.6
#6  0xb7e3ad29 in fclose () from /lib/tls/libc.so.6
#7  0x08049ede in DecodeOGG (file_source=0xbfdd6220 "test.ogg", file_destination=0xbfdd5e20 "test.audio.bin", callback=0x80491a5 <progress>) at ogg.c:85
#8  0x08049465 in Decode (file_source=0xbfdd6220 "test.ogg", file_destination=0xbfdd5e20 "test.audio.bin", callback=0x80491a5 <progress>) at cuecue.c:71
#9  0x08049b5b in cue_ConvertToAudio (filename=0xbfdd701e "test.cue", destFolder=0x0, callback=0x80491a5 <progress>) at cuecue.c:278
#10 0x080493bb in main (argc=2, argv=0xbfdd66f4) at cuecue.c:164
#11 0xb7dfcf21 in __libc_start_main () from /lib/tls/libc.so.6
#12 0x08049021 in _start ()
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-06-30 01:01:54 UTC
cuecue does not compile without the flac package, even if -flac is set.  

cd . && /bin/sh /var/tmp/portage/cuecue-0.2.2/work/cuecue-0.2.2/missing --run aclocal-1.7 
aclocal: configure.in: 57: macro `AM_PATH_LIBFLAC' not found in library
make: *** [aclocal.m4] Error 1

2.) version information is 0.2.1 for me too.

3.) display is broken (prompt overwrites last line of output when finished).

4.) Burning did not work (the .bin image is larger than 800MB), but maybe other testdata will work
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2006-06-30 02:50:02 UTC
> cuecue does not compile without the flac package, even if -flac is set.

this needs to be fixed. I have a look at it later.

> 2.) version information is 0.2.1 for me too.

cosmetic upstream bug. should not prevent stabilizing.

> 3.) display is broken (prompt overwrites last line of output when finished).

dito.

> 4.) Burning did not work (the .bin image is larger than 800MB),
> but maybe other testdata will work

that's your personal problem. ;) of course, smaller data will work.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2006-06-30 03:41:35 UTC
4.) was just for information, that I have not tested if the image was ok...I used the "official" test set (mentioned on cuecue site) from demovibes (volume 1).
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2006-06-30 06:15:55 UTC
since the data is RAW CD-Audio, you can check it with:

  aplay -f cd foobar.bin

There's no need to burn it for testing.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-02 22:48:52 UTC
Thanks Stefan...works.  Thumbs up here for stabilising as soon as the USE flag issue is resolved.
Comment 8 Matthias Langer 2006-07-03 02:24:53 UTC
christian, have you tested cuecue with ogg files ? (see comment #1 and comment #2)
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-03 04:12:26 UTC
If I knew how to create ogg plus cue or could download some testfiles I would happily test it...Google just showed me Windows Software and I just need a pointer, the rest I will find out myself.
Comment 10 Matthias Langer 2006-07-03 05:09:10 UTC
you may try mp32ogg or sound-juicer ...
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-03 06:02:43 UTC
Ogg does not work (must have overseen the issues in this report), after displaying "100%" it crashes:

*** glibc detected *** double free or corruption (!prev): 0x0804c050 ***

(gdb) back
#0  0xb7dad9d1 in kill () from /lib/libc.so.6
#1  0xb7dad595 in raise () from /lib/libc.so.6
#2  0xb7daed68 in abort () from /lib/libc.so.6
#3  0xb7de025f in __fsetlocking () from /lib/libc.so.6
#4  0xb7de5e97 in malloc_usable_size () from /lib/libc.so.6
#5  0xb7de686d in free () from /lib/libc.so.6
#6  0xb7dd784b in fclose () from /lib/libc.so.6
#7  0x0804985b in ?? ()
#8  0x0804c050 in ?? ()
#9  0x00000001 in ?? ()
#10 0x00000000 in ?? ()


Is that gdb traceback ok?
Comment 12 Matthias Langer 2006-07-03 06:25:12 UTC
cristian: you will get a much better traceback if you add "-ggdb" to CFLAGS and "splitdebug" to FEATURES before remerging the package. Just don't forget to remove these flags afterwards ...
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-03 07:12:55 UTC
Ok, thanks for the tipps, helps me making better bug reports...the next time.

*** glibc detected *** double free or corruption (!prev): 0x0804c050 ***

Program received signal SIGABRT, Aborted.
0xb7e179d1 in kill () from /lib/libc.so.6
(gdb) back
#0  0xb7e179d1 in kill () from /lib/libc.so.6
#1  0xb7e17595 in raise () from /lib/libc.so.6
#2  0xb7e18d68 in abort () from /lib/libc.so.6
#3  0xb7e4a25f in __fsetlocking () from /lib/libc.so.6
#4  0xb7e4fe97 in malloc_usable_size () from /lib/libc.so.6
#5  0xb7e5086d in free () from /lib/libc.so.6
#6  0xb7e4184b in fclose () from /lib/libc.so.6
#7  0x0804985b in DecodeOGG (file_source=0xbfe92ca0 "demovibes-80mn_scene_music_compilation_mixed_by_willbe.ogg", file_destination=0xbfe9198c "", callback=0x8048d10 <progress>)
    at ogg.c:85
#8  0x080493db in cue_ConvertToAudio (filename=0xbfe9503f "/tmp/cuecue/demovibesog.cue", destFolder=0x804b846 ".ogg", callback=0) at cuecue.c:69
#9  0x08048f3e in main (argc=0, argv=0xbfe93144) at cuecue.c:164
#10 0xb7e043c3 in __libc_start_main () from /lib/libc.so.6
#11 0x08048c41 in _start ()
Comment 14 Michael Weyershäuser 2006-08-14 09:14:37 UTC
(In reply to comment #3)
> cuecue does not compile without the flac package, even if -flac is set.  
> 
> cd . && /bin/sh /var/tmp/portage/cuecue-0.2.2/work/cuecue-0.2.2/missing --run
> aclocal-1.7 
> aclocal: configure.in: 57: macro `AM_PATH_LIBFLAC' not found in library
> make: *** [aclocal.m4] Error 1

Removing amd64 from CC, please readd us when this is fixed.
Comment 15 Joshua Jackson (RETIRED) gentoo-dev 2006-08-29 22:16:34 UTC
there's been nothing as far as I can tell that changed since july..we'll be back when something changes.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-10-21 08:24:59 UTC
Changing summary to something less confusing.
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2008-06-16 20:01:56 UTC
It's been a while, and cuecue has a new flac patch. Please retry with up to date system, and reopen if this is still an issue.