Source: autogen
Version: 1:5.10-1

Hi,

When running the regression tests, I rc.test failing.  When running
"TEST_RC=--no-load ../rc -t xxx MUMBLE" I get the following error:
*** glibc detected *** ../rc: free(): invalid pointer: 0x00000000018d4010 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f78a4f64d56]
../rc[0x40a4f1]
../rc[0x40b6d1]
../rc[0x401da3]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f78a4f12abd]
../rc[0x401cb9]
======= Memory map: ========
[...]

With a core file this looks like:
#4  0x000000000040a511 in doPrognameEnv (pOpts=0x613220, type=ENV_IMM)
    at environment.c:106
#5  doEnvPresets (pOpts=0x613220, type=ENV_IMM) at environment.c:193
#6  0x000000000040b6f1 in doPresets (pOpts=0x613220,
    argCt=<value optimized out>, argVect=0x7fff1c0d4e48) at autoopts.c:904
#7  optionProcess (pOpts=0x613220, argCt=<value optimized out>,
    argVect=0x7fff1c0d4e48) at autoopts.c:1110
#8  0x0000000000401dc2 in main (argc=4, argv=0x7fff1c0d4e48) at rc.c:299


You need to set the evironment variable MALLOC_CHECK_ to get glibc
to do that.  (See malloc() manpage.)


Kurt




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

Reply via email to