LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-11-2015, 02:14 PM   #1
Mihou
LQ Newbie
 
Registered: Apr 2015
Location: setif
Posts: 5

Rep: Reputation: Disabled
corrupted double linked list glibc /linux


hello every body, I used two mobile sinks in WSN editing the leach code (ns2 simulator) , when I use the cmd : leach_test, I find this error : "so any suggestion plz"
ilhem@ilhem-laptop:~/ns-allinone-2.34/ns-2.34$ leach_test
ilhem@ilhem-laptop:~/ns-allinone-2.34/ns-2.34$ *** glibc detected *** ns: corrupted double-linked list: 0x09d97d30 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6e0a1)[0x43c0a1]
/lib/tls/i686/cmov/libc.so.6(+0x6e4fa)[0x43c4fa]
/lib/tls/i686/cmov/libc.so.6(+0x6f875)[0x43d875]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x440a6d]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x2a4741]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0x2a479d]
ns(_ZN15WirelessChannel6sendUpEP6PacketP3Phy+0x349)[0x827e53b]
ns(_ZN7Channel4recvEP6PacketP7Handler+0x42)[0x827d386]
ns(_ZN11WirelessPhy8sendDownEP6Packet+0x752)[0x82ac054]
ns(_ZN3Phy4recvEP6PacketP7Handler+0x4b)[0x82a9ea1]
ns(_ZN9MacSensor4sendEP6PacketP7Handler+0x18c)[0x824e5d4]
ns(_ZN9MacSensor4recvEP6PacketP7Handler+0x58)[0x824e68c]
ns(_ZN5Queue4recvEP6PacketP7Handler+0xb7)[0x8230e3b]
ns(_ZN8NsObject6handleEP5Event+0x27)[0x81b5113]
ns(_ZN9Scheduler8dispatchEP5Eventd+0x90)[0x81b36fc]
ns(_ZN9Scheduler3runEv+0x2c)[0x81b394a]
ns(_ZN9Scheduler7commandEiPKPKc+0x6b)[0x81b3c01]
ns(_ZN8TclClass12dispatch_cmdEPvP10Tcl_InterpiPPKc+0x32)[0x83eb372]
ns[0x83f16f7]
ns(TclInvokeStringCommand+0x6e)[0x83f3cfe]
ns(TclEvalObjvInternal+0x36b)[0x83f5a1b]
ns[0x8421d92]
ns(TclCompEvalObj+0xdd)[0x84263fd]
ns[0x8421c2b]
ns(TclCompEvalObj+0xdd)[0x84263fd]
ns(TclObjInterpProc+0x2a7)[0x8450607]
ns(TclProcInterpProc+0x80)[0x8450ac0]
ns[0x83f191f]
ns(TclInvokeStringCommand+0x6e)[0x83f3cfe]
ns(TclEvalObjvInternal+0x36b)[0x83f5a1b]
ns[0x8421d92]
ns(TclCompEvalObj+0xdd)[0x84263fd]
ns(TclObjInterpProc+0x2a7)[0x8450607]
ns(TclProcInterpProc+0x80)[0x8450ac0]
ns[0x83f16f7]
ns(TclInvokeStringCommand+0x6e)[0x83f3cfe]
ns(TclEvalObjvInternal+0x36b)[0x83f5a1b]
ns(Tcl_EvalEx+0x4fc)[0x83f66bc]
ns(Tcl_FSEvalFile+0x243)[0x843f6e3]
ns(Tcl_Main+0x357)[0x8442d87]
ns(nslibmain+0x20)[0x83ea4ec]
ns(main+0x1b)[0x83ea543]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x3e4bf6]
ns[0x81ab491]
======= Memory map: ========
00110000-00128000 r-xp 00000000 08:04 1839226 /usr/lib/libxcb.so.1.1.0
00128000-00129000 r--p 00017000 08:04 1839226 /usr/lib/libxcb.so.1.1.0
00129000-0012a000 rw-p 00018000 08:04 1839226 /usr/lib/libxcb.so.1.1.0
0012a000-0012e000 r-xp 00000000 08:04 1834294 /usr/lib/libXdmcp.so.6.0.0
0012e000-0012f000 r--p 00003000 08:04 1834294 /usr/lib/libXdmcp.so.6.0.0
0012f000-00130000 rw-p 00004000 08:04 1834294 /usr/lib/libXdmcp.so.6.0.0
00137000-00145000 r-xp 00000000 08:04 1831824 /usr/lib/libXext.so.6.4.0
00145000-00146000 r--p 0000d000 08:04 1831824 /usr/lib/libXext.so.6.4.0
00146000-00147000 rw-p 0000e000 08:04 1831824 /usr/lib/libXext.so.6.4.0
001c3000-001e7000 r-xp 00000000 08:04 1177811 /lib/tls/i686/cmov/libm-2.11.1.so
001e7000-001e8000 r--p 00023000 08:04 1177811 /lib/tls/i686/cmov/libm-2.11.1.so
001e8000-001e9000 rw-p 00024000 08:04 1177811 /lib/tls/i686/cmov/libm-2.11.1.so
001e9000-002d2000 r-xp 00000000 08:04 1839255 /usr/lib/libstdc++.so.6.0.13
002d2000-002d6000 r--p 000e9000 08:04 1839255 /usr/lib/libstdc++.so.6.0.13
002d6000-002d7000 rw-p 000ed000 08:04 1839255 /usr/lib/libstdc++.so.6.0.13
002d7000-002de000 rw-p 00000000 00:00 0
003b7000-003ca000 r-xp 00000000 08:04 1177790 /lib/tls/i686/cmov/libnsl-2.11.1.so
003ca000-003cb000 r--p 00012000 08:04 1177790 /lib/tls/i686/cmov/libnsl-2.11.1.so
003cb000-003cc000 rw-p 00013000 08:04 1177790 /lib/tls/i686/cmov/libnsl-2.11.1.so
003cc000-003ce000 rw-p 00000000 00:00 0
003ce000-0052a000 r-xp 00000000 08:04 1177804 /lib/tls/i686/cmov/libc-2.11.1.so
0052a000-0052c000 r--p 0015b000 08:04 1177804 /lib/tls/i686/cmov/libc-2.11.1.so
0052c000-0052d000 rw-p 0015d000 08:04 1177804 /lib/tls/i686/cmov/libc-2.11.1.so
0052d000-00530000 rw-p 00000000 00:00 0
0054a000-00565000 r-xp 00000000 08:04 1047340 /lib/ld-2.11.1.so
00565000-00566000 r--p 0001a000 08:04 1047340 /lib/ld-2.11.1.so
00566000-00567000 rw-p 0001b000 08:04 1047340 /lib/ld-2.11.1.so
0076e000-00887000 r-xp 00000000 08:04 1835289 /usr/lib/libX11.so.6.3.0
00887000-00888000 r--p 00118000 08:04 1835289 /usr/lib/libX11.so.6.3.0
00888000-0088a000 rw-p 00119000 08:04 1835289 /usr/lib/libX11.so.6.3.0
0088a000-0088b000 rw-p 00000000 00:00 0
009f6000-009f7000 r-xp 00000000 00:00 0 [vdso]
00afc000-00b19000 r-xp 00000000 08:04 1046531 /lib/libgcc_s.so.1
00b19000-00b1a000 r--p 0001c000 08:04 1046531 /lib/libgcc_s.so.1
00b1a000-00b1b000 rw-p 0001d000 08:04 1046531 /lib/libgcc_s.so.1
00b25000-00b27000 r-xp 00000000 08:04 1834283 /usr/lib/libXau.so.6.0.0
00b27000-00b28000 r--p 00001000 08:04 1834283 /usr/lib/libXau.so.6.0.0
00b28000-00b29000 rw-p 00002000 08:04 1834283 /usr/lib/libXau.so.6.0.0
00c5b000-00c5d000 r-xp 00000000 08:04 1177791 /lib/tls/i686/cmov/libdl-2.11.1.so
00c5d000-00c5e000 r--p 00001000 08:04 1177791 /lib/tls/i686/cmov/libdl-2.11.1.so
00c5e000-00c5f000 rw-p 00002000 08:04 1177791 /lib/tls/i686/cmov/libdl-2.11.1.so
08048000-0853f000 r-xp 00000000 08:04 2109336 /home/ilhem/ns-allinone-2.34/ns-2.34/ns
0853f000-08540000 r--p 004f7000 08:04 2109336 /home/ilhem/ns-allinone-2.34/ns-2.34/ns
08540000-085db000 rw-p 004f8000 08:04 2109336 /home/ilhem/ns-allinone-2.34/ns-2.34/ns
085db000-085e3000 rw-p 00000000 00:00 0
08c09000-0a025000 rw-p 00000000 00:00 0 [heap]
b7600000-b7621000 rw-p 00000000 00:00 0
b7621000-b7700000 ---p 00000000 00:00 0
b77cd000-b780c000 r--p 00000000 08:04 1839111 /usr/lib/locale/fr_FR.utf8/LC_CTYPE
b780c000-b7810000 rw-p 00000000 00:00 0
b7818000-b7819000 rw-p 00000000 00:00 0
b7819000-b7820000 r--s 00000000 08:04 1847100 /usr/lib/gconv/gconv-modules.cache
b7820000-b7822000 rw-p 00000000 00:00 0
bfaf8000-bfb0d000 rw-p 00000000 00:00 0 [stack]

**************************************************************
 
Old 05-12-2015, 04:07 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,877

Rep: Reputation: 162Reputation: 162
Normally, be relative to malloc and free.
 
  


Reply

Tags
leach, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] *** glibc detected *** ./a.out: corrupted double-linked list: 0x000000000187d240 *** deepikarc14 Programming 10 05-13-2015 12:28 AM
*** glibc detected *** ./game: corrupted double-linked list: 0x0000000001108f40 one_with_linux Programming 8 07-10-2012 10:18 AM
glibc detected corrupted double-linked list - On AT91 board SRAM gothrog Programming 1 04-07-2012 07:54 PM
glibc detected *** corrupted double-linked list rubadub Programming 11 09-21-2008 01:21 PM
*** glibc detected *** corrupted double-linked list: 0x084a25c0 *** Looooooka Slackware 2 03-06-2006 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration