[BusyBox 0001272]: ash crashes on mpc8349 powerpc platform - free invalid pointer
bugs at busybox.net
bugs at busybox.net
Wed Feb 13 09:09:43 PST 2008
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1272
======================================================================
Reported By: Franklin
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1272
Category: Standards Compliance
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 03-12-2007 18:30 PDT
Last Modified: 02-13-2008 09:09 PST
======================================================================
Summary: ash crashes on mpc8349 powerpc platform - free
invalid pointer
Description:
I used to post a message on mailing list, and now I think it should be a
bug.
Recently I'm playing embedded system running on mpc8349 (powerpc).
I built the toolchain myself, including glibc-2.4, binutils-2.17 and
gcc-4.1.1
Then I downloaded the busybox 1.4.1 and built it.
======================================================================
----------------------------------------------------------------------
Franklin - 03-13-07 21:45
----------------------------------------------------------------------
I traced into ash.c and found that, when running evalcommand(), in the
function evalbltin(), the mark->stackp will be cleared to NULL after
calling
if ((i = setjmp(jmploc.loc)))
But I have no idea about what's setjmp() doing.
----------------------------------------------------------------------
vda - 02-13-08 09:09
----------------------------------------------------------------------
Was discussed on ml and found to be a setjmp/longjmp miscompilation.
Old/broken toolchain?
Issue History
Date Modified Username Field Change
======================================================================
03-12-07 18:30 Franklin New Issue
03-12-07 18:30 Franklin Status new => assigned
03-12-07 18:30 Franklin Assigned To => BusyBox
03-12-07 18:30 Franklin File Added: busybox.log
03-12-07 18:31 Franklin Issue Monitored: Franklin
03-13-07 21:45 Franklin Note Added: 0002235
03-13-07 21:45 Franklin Issue End Monitor: Franklin
03-13-07 21:46 Franklin Issue Monitored: Franklin
02-13-08 09:09 vda Status assigned => closed
02-13-08 09:09 vda Note Added: 0004484
======================================================================
More information about the busybox-cvs
mailing list