[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: ash: Segfault during subshell with built-in command (uClibc, i386)
From: Ryan Finnie <ryan () finnie ! org>
Date: 2014-03-29 4:22:31
Message-ID: 53364A87.6010504 () finnie ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Hello, I'm receiving a segfault when doing the following:
ryan@host:~$ ./busybox ash
~ $ FOO="$(echo internal)"
Segmentation fault
~ $ echo $FOO
internal
~ $ FOO="$(./busybox echo external)"
~ $ echo $FOO
external
~ $ testfunction() {
> echo function
> }
~ $ FOO="$(testfunction)"
Segmentation fault
~ $ echo $FOO
function
~ $
The segfault appears to be functionally spurious; the subshell still
returns the expected values. It appears to be a combination of:
1) Subshell with built-in commands
2) i386 target (x86_64 and ppc 32-bit work)
3) uClibc toolchain (host glibc works)
I've tested this against the current git tree. Any help would be
appreciated, thank you.
RF
["signature.asc" (application/pgp-signature)]
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic