[ADMB Users] Unknown error message: corrupt .tpl file?

kvk fromdustreturned at gmail.com
Mon Nov 16 16:38:00 PST 2009


Hi John~

Thanks for the newer version. Johnoel had suggested the same thing,
and after installation I have the same issue. As it is only this .tpl
file that currently produces the issue, and my other models run fine,
I'm wondering if it's not some specific to the file itself, even
though I've recreated it.

Outputs from the commands appear correct:

arctos at arctos:~$ which g++
/usr/bin/g++

arctos at arctos:~$ which admb
/home/arctos/admb/bin/admb

arctos at arctos:~$ echo $ADMB_HOME
/home/arctos/admb


*** tpl2cpp   goa

*** adcomp    goa
g++ -c  -O3 -Wno-deprecated -D__GNUDOS__  -Dlinux -DOPT_LIB -
DUSE_LAPLACE -fpermissive -I. -I/home/arctos/admb/include goa.cpp

*** adlink    goa
g++ -s  -L/home/arctos/admb/lib goa.o -ldf1b2stub -ladmod -ladt -lado -
ldf1b2stub -ladmod -ladt -lado -o goa

Compilation finished at Mon Nov 16 15:29:11

The next command would run the model with a memory argument (-gbs
30000000000) which then results in the error code.

Thank you!

On Nov 17, 6:42 am, John Sibert <sib... at hawaii.edu> wrote:
> It is hard to know what is causing the problem. You might try installing
> a more up-to-date version of ADMB. Try this one:http://admb-project.googlecode.com/files/admb-9.0.363-intel-linux64-g...
>
> I routinely use g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3 on ubuntu 9.04 without
> drama.
>
> If the problem persists please send messages produced by tpl2cpp (or
> tpl2rem as the case may be) and mygcco.
>
> Also please send the output from
> $ which g++
> $ which admb
> $ echo $ADMB_HOME
>
> For instance, I get
> K:~$ which g++
> /usr/bin/g++
> K:~$ which admb
> /home/jsibert/admb/trunk/build/dists/admb_gcc411_fedora8/bin/admb
> K:~$ echo $ADMB_HOME
> /home/jsibert/admb/trunk/build/dists/admb_gcc411_fedora8
> K:~$
>
> Cheers,
> John
>
>
>
> Kray VanKirk wrote:
> > Hi everyone~
>
> > I'm running ADMB 9.09rc2 64 on Ubuntu 9.04 64-bit from within Emacs.
> > The g++ 4.3 is installed along with 4.2; if I remove 4.3, ADMB cannot
> > detect the g++. I'm getting an error on a .tpl file I have been
> > revising; I'm wondering if it means a corrupt file, or possibly a
> > 64/32 bit conflict somewhere. I can run other ADMB models to
> > convergence with no problem.
>
> > I have tried cutting and pasting to a fresh text file, but the error
> > message remains. Running this file on my laptop produces the same
> > error. It appears to be detecting the glibc correctly, but
> > encountering some sort of memory allotment or registry error. Thank you!!
>
> > kvk
>
> > *** glibc detected *** goa: double free or corruption (out):
> > 0x00007fb1bcdbe010 ***
> > ======= Backtrace: =========
> > /lib/libc.so.6[0x7fb1bf76bcb8]
> > /lib/libc.so.6(cfree+0x76)[0x7fb1bf76e276]
> > goa[0x4b9eb8]
> > goa[0x4a1825]
> > /lib/libc.so.6(exit+0x9d)[0x7fb1bf72a6ed]
> > goa[0x4b3f0e]
> > /lib/libc.so.6[0x7fb1bf727040]
> > goa[0x49f179]
> > goa[0x40a365]
> > goa[0x410da4]
> > goa[0x4bed2f]
> > goa[0x446d7a]
> > goa[0x43d5b9]
> > goa[0x43da03]
> > goa[0x426bd8]
> > /lib/libc.so.6(__libc_start_main+0xe6)[0x7fb1bf7125a6]
> > goa[0x403ab9]
> > ======= Memory map: ========
> > 00400000-00501000 r-xp 00000000 08:11
> > 5972031                            /media/disk/doc-goa/goa_distinct/goa
> > 00701000-00702000 r--p 00101000 08:11
> > 5972031                            /media/disk/doc-goa/goa_distinct/goa
> > 00702000-00704000 rw-p 00102000 08:11
> > 5972031                            /media/disk/doc-goa/goa_distinct/goa
> > 00704000-00706000 rw-p 00704000 00:00 0
> > 008d9000-00a4a000 rw-p 008d9000 00:00
> > 0                                  [heap]
> > 7fb1ac000000-7fb1ac021000 rw-p 7fb1ac000000 00:00 0
> > 7fb1ac021000-7fb1b0000000 ---p 7fb1ac021000 00:00 0
> > 7fb1b11dd000-7fb1bf6f4000 rw-p 7fb1b11dd000 00:00 0
> > 7fb1bf6f4000-7fb1bf85c000 r-xp 00000000 08:01
> > 12321955                   /lib/libc-2.9.so <http://libc-2.9.so>
> > 7fb1bf85c000-7fb1bfa5c000 ---p 00168000 08:01
> > 12321955                   /lib/libc-2.9.so <http://libc-2.9.so>
> > 7fb1bfa5c000-7fb1bfa60000 r--p 00168000 08:01
> > 12321955                   /lib/libc-2.9.so <http://libc-2.9.so>
> > 7fb1bfa60000-7fb1bfa61000 rw-p 0016c000 08:01
> > 12321955                   /lib/libc-2.9.so <http://libc-2.9.so>
> > 7fb1bfa61000-7fb1bfa66000 rw-p 7fb1bfa61000 00:00 0
> > 7fb1bfa66000-7fb1bfa7c000 r-xp 00000000 08:01
> > 12320829                   /lib/libgcc_s.so.1
> > 7fb1bfa7c000-7fb1bfc7c000 ---p 00016000 08:01
> > 12320829                   /lib/libgcc_s.so.1
> > 7fb1bfc7c000-7fb1bfc7d000 r--p 00016000 08:01
> > 12320829                   /lib/libgcc_s.so.1
> > 7fb1bfc7d000-7fb1bfc7e000 rw-p 00017000 08:01
> > 12320829                   /lib/libgcc_s.so.1
> > 7fb1bfc7e000-7fb1bfd02000 r-xp 00000000 08:01
> > 12322106                   /lib/libm-2.9.so <http://libm-2.9.so>
> > 7fb1bfd02000-7fb1bff01000 ---p 00084000 08:01
> > 12322106                   /lib/libm-2.9.so <http://libm-2.9.so>
> > 7fb1bff01000-7fb1bff02000 r--p 00083000 08:01
> > 12322106                   /lib/libm-2.9.so <http://libm-2.9.so>
> > 7fb1bff02000-7fb1bff03000 rw-p 00084000 08:01
> > 12322106                   /lib/libm-2.9.so <http://libm-2.9.so>
> > 7fb1bff03000-7fb1bfff4000 r-xp 00000000 08:01
> > 5278116                    /usr/lib/libstdc++.so.6.0.10
> > 7fb1bfff4000-7fb1c01f4000 ---p 000f1000 08:01
> > 5278116                    /usr/lib/libstdc++.so.6.0.10
> > 7fb1c01f4000-7fb1c01fb000 r--p 000f1000 08:01
> > 5278116                    /usr/lib/libstdc++.so.6.0.10
> > 7fb1c01fb000-7fb1c01fd000 rw-p 000f8000 08:01
> > 5278116                    /usr/lib/libstdc++.so.6.0.10
> > 7fb1c01fd000-7fb1c0210000 rw-p 7fb1c01fd000 00:00 0
> > 7fb1c0210000-7fb1c0230000 r-xp 00000000 08:01
> > 12321241                   /lib/ld-2.9.so <http://ld-2.9.so>
> > 7fb1c0289000-7fb1c0414000 rw-p 7fb1c0289000 00:00 0
> > 7fb1c042c000-7fb1c042f000 rw-p 7fb1c042c000 00:00 0
> > 7fb1c042f000-7fb1c0430000 r--p 0001f000 08:01
> > 12321241                   /lib/ld-2.9.so <http://ld-2.9.so>
> > 7fb1c0430000-7fb1c0431000 rw-p 00020000 08:01
> > 12321241                   /lib/ld-2.9.so <http://ld-2.9.so>
> > 7fff20a68000-7fff20a7d000 rw-p 7ffffffea000 00:00
> > 0                      [stack]
> > 7fff20bff000-7fff20c00000 r-xp 7fff20bff000 00:00
> > 0                      [vdso]
> > ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00
> > 0                  [vsyscall]
>
> > ------------------------------------------------------------------------
>
> > _______________________________________________
> > Users mailing list
> > Us... at admb-project.org
> >http://lists.admb-project.org/mailman/listinfo/users
>
> --
> John Sibert
> Emeritus Researcher, SOEST
> University of Hawaii at Manoa
>
> Visit the ADMB projecthttp://admb-project.org/
>
> _______________________________________________
> Users mailing list
> Us... at admb-project.orghttp://lists.admb-project.org/mailman/listinfo/users



More information about the Users mailing list