Custom Query (89 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (52 - 54 of 89)

Ticket Resolution Summary Owner Reporter
#279 fixed tracetop segfaults when it can't open an interface perry Matt Brown
Description

if you run tracetop as a normal user who can't open an interface it segfaults:

matt@neon:~/debs/libtrace3/build-area$ tracetop int:eth0 Starting trace(eth0): Could not create raw socket: Operation not permitted * glibc detected * tracetop: double free or corruption (fasttop): 0x092dfa68 * ======= Backtrace: ========= /lib/i686/cmov/libc.so.6(+0x6b321)[0xb75a5321] /lib/i686/cmov/libc.so.6(+0x6cb78)[0xb75a6b78] /lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb75a9c5d] /usr/lib/libtrace.so.3(+0xca0b)[0xb7833a0b] /usr/lib/libtrace.so.3(trace_destroy+0x33)[0xb782c803] tracetop[0x804afae] /lib/i686/cmov/libc.so.6(libc_start_main+0xe6)[0xb7550c76] tracetop[0x8049251] ======= Memory map: ======== 08048000-0804c000 r-xp 00000000 fe:01 99778 /usr/bin/tracetop 0804c000-0804d000 rw-p 00004000 fe:01 99778 /usr/bin/tracetop 092d0000-092f1000 rw-p 00000000 00:00 0 [heap] b7300000-b7321000 rw-p 00000000 00:00 0 b7321000-b7400000 ---p 00000000 00:00 0 b74f9000-b7503000 r-xp 00000000 fe:01 765092 /lib/i686/cmov/libnss_files-2.11.2.so b7503000-b7504000 r--p 00009000 fe:01 765092 /lib/i686/cmov/libnss_files-2.11.2.so b7504000-b7505000 rw-p 0000a000 fe:01 765092 /lib/i686/cmov/libnss_files-2.11.2.so b7505000-b7507000 rw-p 00000000 00:00 0 b7507000-b7538000 r-xp 00000000 fe:01 97748 /usr/lib/libpcap.so.1.1.1 b7538000-b7539000 rw-p 00030000 fe:01 97748 /usr/lib/libpcap.so.1.1.1 b7539000-b753a000 rw-p 00000000 00:00 0 b753a000-b767a000 r-xp 00000000 fe:01 766996 /lib/i686/cmov/libc-2.11.2.so b767a000-b767b000 ---p 00140000 fe:01 766996 /lib/i686/cmov/libc-2.11.2.so b767b000-b767d000 r--p 00140000 fe:01 766996 /lib/i686/cmov/libc-2.11.2.so b767d000-b767e000 rw-p 00142000 fe:01 766996 /lib/i686/cmov/libc-2.11.2.so b767e000-b7682000 rw-p 00000000 00:00 0 b7682000-b769f000 r-xp 00000000 fe:01 762571 /lib/libgcc_s.so.1 b769f000-b76a0000 rw-p 0001c000 fe:01 762571 /lib/libgcc_s.so.1 b76a0000-b76c4000 r-xp 00000000 fe:01 762564 /lib/i686/cmov/libm-2.11.2.so b76c4000-b76c5000 r--p 00023000 fe:01 762564 /lib/i686/cmov/libm-2.11.2.so b76c5000-b76c6000 rw-p 00024000 fe:01 762564 /lib/i686/cmov/libm-2.11.2.so b76c6000-b77af000 r-xp 00000000 fe:01 97786 /usr/lib/libstdc++.so.6.0.13 b77af000-b77b3000 r--p 000e9000 fe:01 97786 /usr/lib/libstdc++.so.6.0.13 b77b3000-b77b4000 rw-p 000ed000 fe:01 97786 /usr/lib/libstdc++.so.6.0.13 b77b4000-b77bb000 rw-p 00000000 00:00 0 b77bb000-b77bd000 r-xp 00000000 fe:01 762769 /lib/i686/cmov/libdl-2.11.2.so b77bd000-b77be000 r--p 00001000 fe:01 762769 /lib/i686/cmov/libdl-2.11.2.so b77be000-b77bf000 rw-p 00002000 fe:01 762769 /lib/i686/cmov/libdl-2.11.2.so b77bf000-b77d2000 r-xp 00000000 fe:01 97681 /usr/lib/libz.so.1.2.3.4 b77d2000-b77d3000 rw-p 00013000 fe:01 97681 /usr/lib/libz.so.1.2.3.4 b77d3000-b77e8000 r-xp 00000000 fe:01 762595 /lib/i686/cmov/libpthread-2.11.2.so b77e8000-b77e9000 r--p 00014000 fe:01 762595 /lib/i686/cmov/libpthread-2.11.2.so b77e9000-b77ea000 rw-p 00015000 fe:01 762595 /lib/i686/cmov/libpthread-2.11.2.so b77ea000-b77ed000 rw-p 00000000 00:00 0 b77ed000-b7824000 r-xp 00000000 fe:01 762649 /lib/libncurses.so.5.7 b7824000-b7827000 rw-p 00036000 fe:01 762649 /lib/libncurses.so.5.7 b7827000-b783c000 r-xp 00000000 fe:01 97425 /usr/lib/libtrace.so.3.0.7 b783c000-b783d000 rw-p 00015000 fe:01 97425 /usr/lib/libtrace.so.3.0.7 b7845000-b7848000 rw-p 00000000 00:00 0 b7848000-b7849000 r-xp 00000000 00:00 0 [vdso] b7849000-b7864000 r-xp 00000000 fe:01 766987 /lib/ld-2.11.2.so b7864000-b7865000 r--p 0001a000 fe:01 766987 /lib/ld-2.11.2.so b7865000-b7866000 rw-p 0001b000 fe:01 766987 /lib/ld-2.11.2.so bfba1000-bfbb6000 rw-p 00000000 00:00 0 [stack] Aborted

#280 fixed trying to work with libtrace but it is giving an error anonymous sgup028@…
Description

I have installed ruby-1.8.6, libtrace-3.0.6 and ruby-libtrace on ubuntu as well as Redhat Enterprise Linux version 5. But when i try to write a program in ruby to trace a anonymous.bpf file then it gives me an error "not a pcap tracefile (libtrace error). Could you tell what is the problem. I tries libtrace-3.0.7 also, it gives me an error segementation fault aborted.

#286 fixed libtrace compilation problem on Mandriva 2010.1 perry gvubrugier
Description

Compilation of libtrace-3.0.7 fails on a Mandriva 2010.1, using dag-2.5.5r2. The error message is:

(...)
format_erf.c: In function ‘erf_get_padding’:
format_erf.c:139: erreur: ‘TYPE_DSM_COLOR_ETH’ undeclared 
(...)

and can be silenced by the following patch

--- ../libtrace-3.0.7/lib/libtrace_int.h	2010-11-26 04:24:14.000000000 +0100
+++ lib/libtrace_int.h	2010-11-26 03:24:21.000000000 +0100
@@ -135,6 +135,7 @@
 #	if DAG_VERSION == 24
 #		include <erftypes.h>
 #	else
+#              include "erftypes.h"
 #		include <daginf.h>
 #	endif
 #else
Note: See TracQuery for help on using queries.