Jump to content

scanning linux: munmap_chunk(): invalid pointer


Recommended Posts

Posted

I'm scanning our servers and the agent crashes on some of them, not all.

They all have the same OS (openSUSE 11.3 x64) and same packages installed.

Any idea?

 

./tnilinagent -raw
Total Network Inventory scanner for Linux-family OS
Do you want to start the scan of local computer?(y/n)
y
Scan started...
*** glibc detected *** /tmp/tmp.YoJW7tZhwU/tnilinagent: munmap_chunk(): invalid pointer: 0x08092818 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6dfbb)[0xf753bfbb]
/lib/libc.so.6(+0x6e78e)[0xf753c78e]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xf7730511]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xf773056d]
/tmp/tmp.YoJW7tZhwU/tnilinagent[0x805b64d]
/tmp/tmp.YoJW7tZhwU/tnilinagent[0x805baba]
/tmp/tmp.YoJW7tZhwU/tnilinagent[0x8064a82]
/tmp/tmp.YoJW7tZhwU/tnilinagent[0x8066c9a]
/lib/libc.so.6(__libc_start_main+0xfe)[0xf74e4c0e]
/tmp/tmp.YoJW7tZhwU/tnilinagent(__gxx_personality_v0+0x99)[0x80493c1]
======= Memory map: ========
08048000-0808c000 r-xp 00000000 09:00 74055682						   /tmp/tmp.YoJW7tZhwU/tnilinagent
0808c000-0808d000 rw-p 00043000 09:00 74055682						   /tmp/tmp.YoJW7tZhwU/tnilinagent
0808d000-080ae000 rw-p 00000000 00:00 0								  [heap]
f74cd000-f74ce000 rw-p 00000000 00:00 0
f74ce000-f7632000 r-xp 00000000 08:01 1048586							/lib/libc-2.11.2.so
f7632000-f7634000 r--p 00163000 08:01 1048586							/lib/libc-2.11.2.so
f7634000-f7635000 rw-p 00165000 08:01 1048586							/lib/libc-2.11.2.so
f7635000-f7638000 rw-p 00000000 00:00 0
f7638000-f7654000 r-xp 00000000 08:01 1049126							/lib/libgcc_s.so.1
f7654000-f7655000 r--p 0001b000 08:01 1049126							/lib/libgcc_s.so.1
f7655000-f7656000 rw-p 0001c000 08:01 1049126							/lib/libgcc_s.so.1
f7656000-f7657000 rw-p 00000000 00:00 0
f7657000-f767f000 r-xp 00000000 08:01 1048594							/lib/libm-2.11.2.so
f767f000-f7680000 r--p 00027000 08:01 1048594							/lib/libm-2.11.2.so
f7680000-f7681000 rw-p 00028000 08:01 1048594							/lib/libm-2.11.2.so
f7681000-f7765000 r-xp 00000000 08:01 1996374							/usr/lib/libstdc++.so.6.0.14
f7765000-f7769000 r--p 000e3000 08:01 1996374							/usr/lib/libstdc++.so.6.0.14
f7769000-f776a000 rw-p 000e7000 08:01 1996374							/usr/lib/libstdc++.so.6.0.14
f776a000-f7771000 rw-p 00000000 00:00 0
f7771000-f7788000 r-xp 00000000 08:01 1048613							/lib/libpthread-2.11.2.so
f7788000-f7789000 r--p 00016000 08:01 1048613							/lib/libpthread-2.11.2.so
f7789000-f778a000 rw-p 00017000 08:01 1048613							/lib/libpthread-2.11.2.so
f778a000-f778c000 rw-p 00000000 00:00 0
f778c000-f7794000 r-xp 00000000 08:01 1048617							/lib/librt-2.11.2.so
f7794000-f7795000 r--p 00007000 08:01 1048617							/lib/librt-2.11.2.so
f7795000-f7796000 rw-p 00008000 08:01 1048617							/lib/librt-2.11.2.so
f77a8000-f77ac000 rw-p 00000000 00:00 0
f77ac000-f77ca000 r-xp 00000000 08:01 1048579							/lib/ld-2.11.2.so
f77ca000-f77cb000 rw-p 00000000 00:00 0
f77cb000-f77cc000 r--p 0001e000 08:01 1048579							/lib/ld-2.11.2.so
f77cc000-f77cd000 rw-p 0001f000 08:01 1048579							/lib/ld-2.11.2.so
ffda6000-ffdc8000 rw-p 00000000 00:00 0								  [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0								  [vdso]
./tnilinagent: line 46: 13548 Aborted				 "$gztmp" ${1+"$@"}

Posted

Please send us the output from the command:

./tnilinagent -silent

so that we know at which step it fails (it will show the percentage).

Then please run the command:

./tnilinagent -silent -debug

and send us the file that it generates (to support@softinventive.com).

Posted

./tnilinagent -silent

 

10%
*** glibc detected *** /tmp/tmp.XMwnen5GzJ/tnilinagent: munmap_chunk(): invalid pointer: 0x080928a0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6dfbb)[0xf7500fbb]
/lib/libc.so.6(+0x6e78e)[0xf750178e]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xf76f5511]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xf76f556d]
/tmp/tmp.XMwnen5GzJ/tnilinagent[0x805b64d]
/tmp/tmp.XMwnen5GzJ/tnilinagent[0x805baba]
/tmp/tmp.XMwnen5GzJ/tnilinagent[0x80648e8]
/tmp/tmp.XMwnen5GzJ/tnilinagent[0x8066c9a]
/lib/libc.so.6(__libc_start_main+0xfe)[0xf74a9c0e]
/tmp/tmp.XMwnen5GzJ/tnilinagent(__gxx_personality_v0+0x99)[0x80493c1]
======= Memory map: ========
08048000-0808c000 r-xp 00000000 09:00 78118914						   /tmp/tmp.XMwnen5GzJ/tnilinagent
0808c000-0808d000 rw-p 00043000 09:00 78118914						   /tmp/tmp.XMwnen5GzJ/tnilinagent
0808d000-080ae000 rw-p 00000000 00:00 0								  [heap]
f7492000-f7493000 rw-p 00000000 00:00 0
f7493000-f75f7000 r-xp 00000000 08:01 1048586							/lib/libc-2.11.2.so
f75f7000-f75f9000 r--p 00163000 08:01 1048586							/lib/libc-2.11.2.so
f75f9000-f75fa000 rw-p 00165000 08:01 1048586							/lib/libc-2.11.2.so
f75fa000-f75fd000 rw-p 00000000 00:00 0
f75fd000-f7619000 r-xp 00000000 08:01 1049126							/lib/libgcc_s.so.1
f7619000-f761a000 r--p 0001b000 08:01 1049126							/lib/libgcc_s.so.1
f761a000-f761b000 rw-p 0001c000 08:01 1049126							/lib/libgcc_s.so.1
f761b000-f761c000 rw-p 00000000 00:00 0
f761c000-f7644000 r-xp 00000000 08:01 1048594							/lib/libm-2.11.2.so
f7644000-f7645000 r--p 00027000 08:01 1048594							/lib/libm-2.11.2.so
f7645000-f7646000 rw-p 00028000 08:01 1048594							/lib/libm-2.11.2.so
f7646000-f772a000 r-xp 00000000 08:01 1996374							/usr/lib/libstdc++.so.6.0.14
f772a000-f772e000 r--p 000e3000 08:01 1996374							/usr/lib/libstdc++.so.6.0.14
f772e000-f772f000 rw-p 000e7000 08:01 1996374							/usr/lib/libstdc++.so.6.0.14
f772f000-f7736000 rw-p 00000000 00:00 0
f7736000-f774d000 r-xp 00000000 08:01 1048613							/lib/libpthread-2.11.2.so
f774d000-f774e000 r--p 00016000 08:01 1048613							/lib/libpthread-2.11.2.so
f774e000-f774f000 rw-p 00017000 08:01 1048613							/lib/libpthread-2.11.2.so
f774f000-f7751000 rw-p 00000000 00:00 0
f7751000-f7759000 r-xp 00000000 08:01 1048617							/lib/librt-2.11.2.so
f7759000-f775a000 r--p 00007000 08:01 1048617							/lib/librt-2.11.2.so
f775a000-f775b000 rw-p 00008000 08:01 1048617							/lib/librt-2.11.2.so
f776e000-f7771000 rw-p 00000000 00:00 0
f7771000-f778f000 r-xp 00000000 08:01 1048579							/lib/ld-2.11.2.so
f778f000-f7790000 rw-p 00000000 00:00 0
f7790000-f7791000 r--p 0001e000 08:01 1048579							/lib/ld-2.11.2.so
f7791000-f7792000 rw-p 0001f000 08:01 1048579							/lib/ld-2.11.2.so
ffdf5000-ffe17000 rw-p 00000000 00:00 0								  [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0								  [vdso]
./tnilinagent: line 46: 15996 Aborted				 "$gztmp" ${1+"$@"}

 

./tnilinagent -silent -debug

 

see attach file

KSF147_842B2B5A1A33.zip

Posted

Bert,

Please download an updated Linux agent from here, extract the archive to the program's installation directory (overwrite existing file), repeat the scan and let us know of the result.

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...