Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2006 07:56:54 GMT
From:      "Dr. Markus Waldeck" <waldeck@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/100329: ltrace does not work
Message-ID:  <200607150756.k6F7usLa018067@www.freebsd.org>
Resent-Message-ID: <200607150800.k6F80aZR089572@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100329
>Category:       ports
>Synopsis:       ltrace does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 15 08:00:36 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dr. Markus Waldeck
>Release:        6.1
>Organization:
>Environment:
FreeBSD fb 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
On FreeBSD:

% ltrace date
Sa 15 Jul 2006 10:49:13 CEST
+++ exited (status 0) +++

There is absolutely NO tracing output!


For comparison:

On GNU/Linux:
% ltrace date
__libc_start_main(0x8049660, 1, 0xbffffce4, 0x804f4d0, 0x804f530 <unfinished ...>
getenv("_POSIX2_VERSION")                                                 = NULL
setlocale(6, "")                                                          = "de_DE@euro"
bindtextdomain("coreutils", "/usr/share/locale")                          = "/usr/share/locale"
textdomain("coreutils")                                                   = "coreutils"
__cxa_atexit(0x804d4c0, 0, 0, 0x804f6cf, 0xbffffc58)                      = 0
getopt_long(1, 0xbffffce4, "Rd:f:r:s:uI::", 0x804f840, NULL)              = -1
dcgettext(0, 0x804f730, 5, 0x804f840, 0)                                  = 0x8071d10
clock_gettime(0, 0xbffffbd8, 0, 0, 5)                                     = 0
nl_langinfo(131180, 0xbffffb54, 0xbffffaa0, 0xbffffac0, 9)                = 0x401b4129
localtime(0xbffffb48)                                                     = 0x40155aa0
realloc(NULL, 64)                                                         = 0x8072d90
strftime("Sa", 1024, "%a", 0x40155aa0)                                    = 2
memcpy(0x8072d90, "Sa", 2)                                                = 0x8072d90
strftime("Jul", 1024, "%b", 0x40155aa0)                                   = 3
memcpy(0x8072d93, "Jul", 3)                                               = 0x8072d93
memcpy(0x8072d97, "15", 2)                                                = 0x8072d97
memset(0x8072d9a, '0', 1)                                                 = 0x8072d9a
memcpy(0x8072d9b, "8", 1)                                                 = 0x8072d9b
memcpy(0x8072d9d, "49", 2)                                                = 0x8072d9d
memset(0x8072da0, '0', 1)                                                 = 0x8072da0
memcpy(0x8072da1, "2", 1)                                                 = 0x8072da1
strlen("CEST")                                                            = 4
memcpy(0x8072da3, "CEST", 4)                                              = 0x8072da3
memcpy(0x8072da8, "2006", 4)                                              = 0x8072da8
puts("Sa Jul 15 10:49:02 CEST 2006"Sa Jul 15 10:49:02 CEST 2006
)                                      = 29
free(0x8072d90)                                                           = <void>
exit(0 <unfinished ...>
__fpending(0x4014bec0, 64, 0x44b88fde, 0x1088c1f0, 0xbffffb88)            = 0
+++ exited (status 0) +++

>How-To-Repeat:
ltrace date
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607150756.k6F7usLa018067>