help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: audio check?


From: John W. Eaton
Subject: Re: audio check?
Date: Wed, 05 Sep 2007 10:41:43 -0400

On  5-Sep-2007, Jim Langston wrote:

| also, also, recompiled with debugging turned on, here is an output segment
| 
| octave:1> A = [1:10; 1:10]/10;
| octave:2> wavwrite("a.wav", A);
| octave:3> [B, samples_per_sec, bits_per_sample] = wavread("a.wav");
| ^Cdbx: warning: Interrupt ignored but forwarded to child.
| address@hidden (address@hidden) signal INT (Interrupt) in ungetc at 0xfbe151a7
| 0xfbe151a7: ungetc+0x0047:      movl     %eax,%edi
| Current function is c_file_ptr_buf::underflow_common
|    78           ungetc (c, f);
| (dbx) list
|    78           ungetc (c, f);
|    79  
|    80         return c;
|    81       }
|    82     else
|    83   #if defined (CXX_ISO_COMPLIANT_LIBRARY)
|    84       return traits_type::eof ();
|    85   #else
|    86       return EOF;
|    87   #endif
| (dbx) print c
| c = 82
| (dbx) print f
| f = 0xfbe82ad8
| (dbx) print &f
| &f = 0x87a9850
| (dbx) print *f
| *f = {
|     _cnt          = 84
|     _ptr          = 0x87bad24 "RIFFL"
|     _base         = 0x87bad24 "RIFFL"
|     _flag         = '\t'
|     _magic        = '\005'
|     __orientation = 0
|     __ionolock    = 0
|     __seekable    = 1U
|     __extendedfd  = 0
|     __xf_nocheck  = 0
|     __filler      = 0
| }
| (dbx)

What happens if you continue execution from this point?  Is it stuck
on this line (ungetc is never returning) or is it stuck in an infinite
loop, and you just happened to interrupt it at this point in the loop?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]