Avuton Olrich
2006-Jun-03 14:15 UTC
[Flac-dev] flac with >4GB raw still does not work (CVS)
I'm attempting to flac a 18GB raw file, and as per 1328191 I compiled CVS, when it gets to 4GB it doesn't continue. I've tried stracing and get no output after a certain point. I also have tried oggflac and it is no different. I configured with no options or special CFLAGS and this is on a x86 machine. Is there anything special I need to do to get this to work? I have also tried with --ogg and I get no different. But the difference between CVS and stable on this is at 4GB unencoded it will exit sucessful, this just hangs at 100%. -- avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
Avuton Olrich
2006-Jun-04 10:30 UTC
[Flac-dev] Re: flac with >4GB raw still does not work (CVS)
On 6/3/06, Avuton Olrich <avuton@gmail.com> wrote: ...stuff... I just ran gdb on it, when it got to the point that it goes no further I sent kill -11 and got the following (hope it helps): Core was generated by `flac -o hs.flac -0 --force-raw-format --channels=2 --bps=16 --sample-rate=44100'. Program terminated with signal 11, Segmentation fault. warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/local/lib/libOggFLAC.so.3...done. Loaded symbols for /usr/local/lib/libOggFLAC.so.3 Reading symbols from /usr/local/lib/libFLAC.so.7...done. Loaded symbols for /usr/local/lib/libFLAC.so.7 Reading symbols from /usr/lib/libogg.so.0...done. Loaded symbols for /usr/lib/libogg.so.0 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0xb7de8d0e in ferror () from /lib/libc.so.6 (gdb) bt #0 0xb7de8d0e in ferror () from /lib/libc.so.6 #1 0x08055329 in flac__encode_raw (infile=0x833d430, infilesize=14938537984, infilename=0x833d3e0 "/mnt/sda/Sound/Recording/2006-06-02/a.raw", outfilename=0xbfd86800 "b.flac", lookahead=0xbfd859d0 "?\233\006\b?\233\006\b\bZ?0?3\b", lookahead_length=0, options {common = {skip_specification = {is_relative = 0, value_is_samples = 1, value = {seconds = 0, samples = 0}}, until_specification = {is_relative = 0, value_is_samples = 1, value {seconds = 0, samples = 0}}, verify = 0, use_ogg = 0, serial_number 1139381067, lax = 0, do_mid_side = 0, loose_mid_side = 0, do_exhaustive_model_search = 0, do_escape_coding = 0, do_qlp_coeff_prec_search = 0, min_residual_partition_order = 2, max_residual_partition_order = 2, rice_parameter_search_dist = 0, apodizations = 0x8311d6c "", max_lpc_order = 0, blocksize = 1152, qlp_coeff_precision = 0, padding = 4096, requested_seek_points 0x8312194 "", num_requested_seek_points = -1, cuesheet_filename = 0x0, cued_seekpoints = 1, is_first_file = 1, is_last_file = 1, align_reservoir = 0x8072a90, align_reservoir_samples = 0x8310cc0, replay_gain = 0, sector_align = 0, vorbis_comment = 0x833d328, debug {disable_constant_subframes = 0, disable_fixed_subframes = 0, disable_verbatim_subframes = 0}}, is_big_endian = 0, is_unsigned_samples = 0, channels = 2, bps = 16, sample_rate = 44100}) at encode.c:1060 #2 0x0805d53a in encode_file (infilename=0x833d3e0 "/mnt/sda/Sound/Recording/2006-06-02/a.raw", is_first_file=1, is_last_file=1) at main.c:1699 #3 0x08059493 in do_it () at main.c:519 #4 0x08058943 in main (argc=11, argv=0xbfd85bd4) at main.c:297 -- avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
Avuton Olrich
2006-Jun-04 12:01 UTC
[Flac-dev] Re: flac with >4GB raw still does not work (CVS)
On 6/4/06, Avuton Olrich <avuton@gmail.com> wrote: ...more stuff... Upon yet further investigation, compiled FLAC CVS on amd64, the 18GB raw file flacs just fine. I then sent the flac to the x86 machine and it decodes fine. So this seems to be a 32bit x86 encoding problem, only. -- avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.