package cfortran
tags 489886 + help
thanks

Thanks for submitting this as a formal bug report.  I will try to take a
look into it when I next have some free time.  As that may possibly be a
while in coming, I'm tagging this bug "help" and others are very welcome
to provide patches or NMU.

(Note, I'll forward your earlier personal email containing the test
cases to this bug report also.)

best regards,

- Kevin

jgp wrote:
> Package: cfortran
> Version: 4.4-12
> Severity: important
> 
> 
> 
> -- System Information:
> Debian Release: lenny/sid
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> cfortran depends on no packages.
> 
> Versions of packages cfortran recommends:
> ii  gcc [c-compiler]              4:4.3.1-1  The GNU C compiler
> ii  gcc-3.4 [c-compiler]          3.4.6-7    The GNU C compiler
> ii  gcc-4.2 [c-compiler]          4.2.4-2+b1 The GNU C compiler
> ii  gcc-4.3 [c-compiler]          4.3.1-2    The GNU C compiler
> ii  gfortran [fortran-compiler]   4:4.3.1-1  The GNU Fortran 95 compiler
> 
> -- no debconf information
> ---> ll
> total 24
> -rwxr-xr-x 1 jg jg 11602 2008-07-08 18:12 exe
> lrwxrwxrwx 1 jg jg    36 2008-07-08 18:10 fd -> 
> /usr/share/doc/cfortran/examples/fd/
> lrwxrwxrwx 1 jg jg     7 2008-07-08 18:11 0c.c -> fd/fd.c
> lrwxrwxrwx 1 jg jg     9 2008-07-08 18:12 0f.f -> fd/fd_f.f
> -rw-r--r-- 1 jg jg  2528 2008-07-08 18:12 0f.o
> 
>  gfortran -g                     -I/usr/include   -c 0f.f
>  gcc      -g -Df2cFortran -o exe -I/usr/include 0c.c 0f.o
>  ./exe
> 
> cd: had string argument:birthday.
> *** glibc detected *** ./exe: free(): invalid next size (fast): 0x0804a008 ***
> ======= Backtrace: =========
> /lib/i686/cmov/libc.so.6[0xb7e088f5]
> /lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7e0c360]
> ../exe[0x80488be]
> ../exe[0x80489f1]
> ../exe[0x804892f]
> /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7db3450]
> ../exe[0x8048451]
> ======= Memory map: ========
> 08048000-08049000 r-xp 00000000 03:06 4187131    
> /home/jg/hpc/fortran/cfortran.h/exe
> 08049000-0804a000 rw-p 00000000 03:06 4187131    
> /home/jg/hpc/fortran/cfortran.h/exe
> 0804a000-0806b000 rw-p 0804a000 00:00 0          [heap]
> b7c00000-b7c21000 rw-p b7c00000 00:00 0
> b7c21000-b7d00000 ---p b7c21000 00:00 0
> b7d9c000-b7d9d000 rw-p b7d9c000 00:00 0
> b7d9d000-b7ee5000 r-xp 00000000 03:03 517150     /lib/i686/cmov/libc-2.7.so
> b7ee5000-b7ee6000 r--p 00148000 03:03 517150     /lib/i686/cmov/libc-2.7.so
> b7ee6000-b7ee8000 rw-p 00149000 03:03 517150     /lib/i686/cmov/libc-2.7.so
> b7ee8000-b7eeb000 rw-p b7ee8000 00:00 0
> b7ef0000-b7efc000 r-xp 00000000 03:03 161942     /lib/libgcc_s.so.1
> b7efc000-b7efd000 rw-p 0000b000 03:03 161942     /lib/libgcc_s.so.1
> b7efd000-b7f00000 rw-p b7efd000 00:00 0
> b7f00000-b7f1a000 r-xp 00000000 03:03 679952     /lib/ld-2.7.so
> b7f1a000-b7f1c000 rw-p 00019000 03:03 679952     /lib/ld-2.7.so
> bf8bf000-bf8d4000 rw-p bffeb000 00:00 0          [stack]
> ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
> Aborted
> 
> 
> 
> /etc/debian_version
> lenny/sid
> 
> 
> 
> dpkg -l cfortran
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
> uppercase=bad)
> ||/ Name                                  Version                             
>   Description
> +++-=====================================-=====================================-==========================================================================================
> ii  cfortran                              4.4-12                              
>   Header file permitting Fortran routines to be called in C/C++
> 
> 

-- 
Kevin B. McCarty <[EMAIL PROTECTED]>
WWW: http://www.starplot.org/
WWW: http://people.debian.org/~kmccarty/
GPG: public key ID 4F83C751



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to