[#3826] `strace env <something>` crashes when built as FLAT

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#3826] `strace env <something>` crashes when built as FLAT

Submitted By: Mike Frysinger

Open Date

2008-01-13 17:48:35     Close Date

2008-09-25 02:45:30

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: `strace env <something>` crashes when built as FLAT

Details:

 

running env through strace crashes everytime:

 

root:~> strace env true

ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B57600 opost isig icanon echo ...}) = 0

ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B57600 opos

NULL pointer access (probably)

Defered Exception context

CURRENT PROCESS:

COMM=strace PID=337

TEXT = 0x00dc0040-0x00dd79a0  DATA = 0x00dd79a4-0x00df1bc4

BSS = 0x00df1bc4-0x00df8144   USER-STACK = 0x00dfdf40

 

..................

 

Follow-ups

 

--- Mike Frysinger                                           2008-01-14 08:23:55

seems to only happen for FLAT file format ... FDPIC ELF works ok ...

 

--- Mike Frysinger                                           2008-09-25 02:45:30

seems to be fixed after updating to strace-4.5.18 and cleaning up some of the

ptrace() details

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes