[ns] A strange debugging problem with malloc_consolidate()

2006-08-16 Thread Xiaolin Cheng
> > Dear all, > > I came cross a weird problem yesterday. When I ran my scripts in the > terminal window as "ns myscript.tcl", it went well and terminated > quietly. However, when I switched to gdb (with DDD as interface), I got a > segmentation fault in malloc_consolidate () from /lib/tls/libc.s

[ns] A strange debugging problem with malloc_consolidate()

2006-08-16 Thread Xiaolin Cheng
Dear all, I came cross a weird problem yesterday. When I ran my scripts in the terminal window as "ns myscript.tcl", it went well and terminated quietly. However, when I switched to gdb (with DDD as interface), I got a segmentation fault in malloc_consolidate () from /lib/tls/libc.so.6. What is