[Click] problem at runtime

Roman Chertov rchertov at purdue.edu
Wed Aug 8 14:19:53 EDT 2007


Looks like a memory corruption in one of your elements.  I recommend to 
compile click with the -g flag and then run Click under gdb to see where 
it tanks.

JS wrote:
> Hi everyone,
> I am trying to perform some tests on my new elements. and I am getting
> something weird when I run click
> Basically I am trying to do the BLUE active queue management mechanism,  so
> I have 2 elements, one on each side of the queue,
> the first one is marking/dropping packet with a certain percentage and it is
> also increasing the marking probability when the buffer size reaches the
> buffer capacity
> the second is a simple pull element that decrease the marking probability
> when the is idle.
> So I have created a very simple click configuration to see if it is running
> correctly
> 
> b1 ::Blue(20,2,40,10);
> InfiniteSource(BURST 5, LIMIT 1000,STOP true)
> -> b1
> -> Queue(200)
> -> Blue2(b1)
> -> Discard;
> 
> and I am getting this error... And I have to say I have no idea what is
> means
> Does anyone already faced this kind of error?
> 
> *** glibc detected *** userlevel/click: double free or corruption (!prev):
> 0x081b1298 ***
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6[0xb7d0a7cd]
> /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7d0de30]
> /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7eccd11]
> userlevel/click(_ZN7Discard8run_taskEv+0xbb)[0x80cddeb]
> userlevel/click(_ZN12RouterThread6driverEv+0x11d)[0x81331fd]
> userlevel/click(main+0x101e)[0x811228e]
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7cb8ebc]
> userlevel/click(__gxx_personality_v0+0xfd)[0x8090531]
> ======= Memory map: ========
> 08048000-081a1000 r-xp 00000000 08:01 581945     /home/js/Desktop/click-
> 1.5.0/userlevel/click
> 081a1000-081a2000 rw-p 00159000 08:01 581945     /home/js/Desktop/click-
> 1.5.0/userlevel/click
> 081a2000-081c3000 rw-p 081a2000 00:00 0          [heap]
> b7b00000-b7b21000 rw-p b7b00000 00:00 0
> b7b21000-b7c00000 ---p b7b21000 00:00 0
> b7ca2000-b7ca3000 rw-p b7ca2000 00:00 0
> b7ca3000-b7dde000 r-xp 00000000 08:01 662712     /lib/tls/i686/cmov/libc-
> 2.5.so
> b7dde000-b7ddf000 r--p 0013b000 08:01 662712     /lib/tls/i686/cmov/libc-
> 2.5.so
> b7ddf000-b7de1000 rw-p 0013c000 08:01 662712     /lib/tls/i686/cmov/libc-
> 2.5.so
> b7de1000-b7de4000 rw-p b7de1000 00:00 0
> b7de4000-b7def000 r-xp 00000000 08:01 662574     /lib/libgcc_s.so.1
> b7def000-b7df0000 rw-p 0000a000 08:01 662574     /lib/libgcc_s.so.1
> b7df0000-b7e15000 r-xp 00000000 08:01 662717     /lib/tls/i686/cmov/libm-
> 2.5.so
> b7e15000-b7e17000 rw-p 00024000 08:01 662717     /lib/tls/i686/cmov/libm-
> 2.5.so
> b7e17000-b7e18000 rw-p b7e17000 00:00 0
> b7e18000-b7ef7000 r-xp 00000000 08:01 633719     /usr/lib/libstdc++.so.6.0.8
> b7ef7000-b7efa000 r--p 000de000 08:01 633719     /usr/lib/libstdc++.so.6.0.8
> b7efa000-b7efc000 rw-p 000e1000 08:01 633719     /usr/lib/libstdc++.so.6.0.8
> b7efc000-b7f02000 rw-p b7efc000 00:00 0
> b7f02000-b7f04000 r-xp 00000000 08:01 662716     /lib/tls/i686/cmov/libdl-
> 2.5.so
> b7f04000-b7f06000 rw-p 00001000 08:01 662716     /lib/tls/i686/cmov/libdl-
> 2.5.so
> b7f10000-b7f13000 rw-p b7f10000 00:00 0
> b7f13000-b7f2c000 r-xp 00000000 08:01 662575     /lib/ld-2.5.so
> b7f2c000-b7f2e000 rw-p 00019000 08:01 662575     /lib/ld-2.5Abandon (core
> dumped)
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 



More information about the click mailing list