bug-recutils
[Top][All Lists]
Advanced

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

Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems


From: Jose E. Marchesi
Subject: Re: [bug-recutils] recfix tests fail on Ubuntu 64-Bit systems
Date: Thu, 12 May 2011 23:19:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

    
    > Can you reproduce the problem in the MacBook compiling with -O0 and
    > without setting LDFLAGS?
    
    No, the tests fail as well.

So you can reproduce it with -O0 -g?  In that case, can you create a
little file foo.rec with the following contents:

/
| %rec: foo
| %size: 0
|
|
\

and then debug with gdb the execution of recfix foo.rec?  If the problem
is reproduced then the asprintf call at rec-int.c:148 is executed and
printing the "...the number of records of type... shall be 0." error
message.

I am interested in the values of the variables min_records, max_records
and num_records at that point.  Compiling with -O2 the asprintf in line
148 was executed even if num_records=min_records=0 !!!

-- 
Jose E. Marchesi    address@hidden
GNU Project         http://www.gnu.org



reply via email to

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