BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000860 [buildroot] Architecture Specific minor always 04-29-06 16:00 02-12-07 05:43
Reporter zugvogel View Status public  
Assigned To buildroot
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000860: bash segfaults on "chroot <toolchain-jail> /bin/bash
Description Context: Trying to use buildroot to set up a local root-jail for development against uClibc (i686->i686).

Symptom: When unwrapping the ext2 target, and attempting to chroot into executing bash, I get an immediate "segmentation fault". Chrooting into /bin/ash will work fine. Once inside the jail, bash will still segfault. Other commands I have sampled do work fine.


Additional Information Prerequisites: buildroot, busybox, uClibc, all daily snapshots 2006-04-27.

Configuration: buildroot rather customized, but should not matter in this context.
  uClibc, default settings except for UCLIBC_SUSV3_LEGACY enabled, to work around a known compilation error (that "index" thing),
  buildroot, target i686 (from i686), most other settings at defaults, but set to create a minimum target develop environment.

Host system: OpenSuSE 10.0.
Attached Files  uclibc_bash.strace [^] (4,487 bytes) 05-01-06 11:46

- Relationships

- Notes
(0001340)
crito
05-01-06 11:47

Since i have the same problem i uploaded a strace output from the chroot call:

# chroot /target strace /bin/bash

hope it can help.
 
(0001341)
vapier
05-03-06 21:40

known issue

change strong_alias() to weak_alias() and search the uClibc mailing list for more info
 
(0002014)
bernhardf
01-21-07 06:33

This should be fixed in uClibc trunk. If you still get this, please report it against uClibc (and the uClibc-list) and not buildroot.

Thanks for the report.
 

- Issue History
Date Modified Username Field Change
04-29-06 16:00 zugvogel New Issue
04-29-06 16:00 zugvogel Status new => assigned
04-29-06 16:00 zugvogel Assigned To  => uClibc
05-01-06 11:46 crito File Added: uclibc_bash.strace
05-01-06 11:47 crito Note Added: 0001340
05-01-06 12:03 crito Issue Monitored: crito
05-03-06 21:40 vapier Note Added: 0001341
01-21-07 06:33 bernhardf Status assigned => closed
01-21-07 06:33 bernhardf Note Added: 0002014
01-21-07 06:33 bernhardf Resolution open => fixed
02-12-07 05:43 vapier Status closed => assigned
02-12-07 05:43 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker