Bug 116565 - ltrace /bin/true does not list library calls
Summary: ltrace /bin/true does not list library calls
Keywords:
Status: CLOSED DUPLICATE of bug 115299
Alias: None
Product: Fedora
Classification: Fedora
Component: ltrace
Version: rawhide
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-23 09:20 UTC by Timo Lindfors
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:01:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Timo Lindfors 2004-02-23 09:20:40 UTC
Description of problem:
ltrace for some reason fails to list library calls.

Version-Release number of selected component (if applicable):
ltrace 0.3.29
linux 2.6.3-1.97

How reproducible:
Always.

Steps to Reproduce:
1. ltrace /bin/true
  
Actual results:
$ ltrace /bin/true
+++ exited (status 0) +++
$

Expected results:
$ ltrace /bin/true
__libc_start_main(0x08048ab4, 1, 0xbffff794, 0x0804876c, 0x080496d0
<unfinished ...>
__register_frame_info(0x0804ad04, 0x0804ae48, 0xbffff738, 0x40046f18,
0x40132e48) = 0x080487c4
setlocale(6, "")                                  =
"LC_CTYPE=fi_FI;LC_NUMERIC=C;LC_T"...
bindtextdomain("sh-utils", "/usr/share/locale")   = "/usr/share/locale"
textdomain("sh-utils")                            = "sh-utils"
__cxa_atexit(0x08048c64, 0, 0, 0x0804966c, 1)     = 0
exit(0 <unfinished ...>
ferror(0x40130200)                                = 0
__fpending(0x40130200, 0x400135cc, 0xbffff794, 0x4003f3fe, 0x40132e48)
= 0
__deregister_frame_info(0x0804ad04, 0x400135cc, 0x400137bc, 0x40013d50,
1) = 0
+++ exited (status 0) +++
$

Additional info:
Copying an ltrace 0.3.26 binary from a debian box produces the same
(incorrect) behavior so the bug probably isn't in ltrace. I do not
have root access to the box so I can't experiment with other kernel
versions.

Comment 1 Jakub Jelinek 2004-04-21 21:34:51 UTC

*** This bug has been marked as a duplicate of 115299 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:01:32 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.