[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 262847] New: misaligned_stack_error for /bin/sh -c '`true`'
From:       Per Mildner <Per.Mildner () sics ! se>
Date:       2011-01-11 11:14:04
Message-ID: bug-262847-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=262847

           Summary: misaligned_stack_error for /bin/sh -c '`true`' with
                    --tool=none
           Product: valgrind
           Version: 3.6 SVN
          Platform: Compiled Sources
        OS/Version: OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: jseward@acm.org
        ReportedBy: Per.Mildner@sics.se


Version:           3.6 SVN
OS:                OS X

updated from SVN today (2011 January 11) but it happened in some earlier
version of 3.6 too.

bash$ make clean
bash$ svn update
Fetching external item into 'VEX'
External at revision 2073.
At revision 11495.
bash$ ./autogen.sh
bash$ ./configure --prefix=$HOME/bin/valgrind-svn-20110111 && make && make
install
bash$ $HOME/bin/valgrind-svn-20110111/bin/valgrind --tool=none /bin/sh -c
'`true`'
==59298== Nulgrind, the minimal Valgrind tool
==59298== Copyright (C) 2002-2010, and GNU GPL'd, by Nicholas Nethercote.
==59298== Using Valgrind-3.7.0.SVN and LibVEX; rerun with -h for copyright info
==59298== Command: /bin/sh -c `true`
==59298== 
==59299== 
==59298== 
==59298== Process terminating with default action of signal 11 (SIGSEGV)
==59298==  General Protection Fault
==59298==    at 0x8FE18C02: misaligned_stack_error (in /usr/lib/dyld)
==59298==    by 0x1CDD6: ??? (in /bin/sh)
==59298==    by 0x1D4CC: ??? (in /bin/sh)
==59298==    by 0x3805E168: ???
==59298==    by 0x20E46: ??? (in /bin/sh)
==59298==    by 0x26B50: ??? (in /bin/sh)
==59298==    by 0x27A17: ??? (in /bin/sh)
==59298==    by 0x11F04: ??? (in /bin/sh)
==59298==    by 0x10B67: ??? (in /bin/sh)
==59298==    by 0x404E8: ??? (in /bin/sh)
==59298==    by 0x1DA7: ??? (in /bin/sh)
==59298==    by 0x34F6: ??? (in /bin/sh)
==59298== 
Segmentation fault
bash$ file /bin/sh
/bin/sh: Mach-O universal binary with 2 architectures
/bin/sh (for architecture i386):    Mach-O executable i386
/bin/sh (for architecture ppc7400):    Mach-O executable ppc
bash$ ls -l /bin/sh
-r-xr-xr-x  1 root  wheel  1244960 May 31  2008 /bin/sh
bash$ uname -a
Darwin ... 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
root:xnu-1228.15.4~1/RELEASE_I386 i386
bash$ 

Reproducible: Always

Steps to Reproduce:
bash$ $HOME/bin/valgrind-svn-20110111/bin/valgrind --tool=none --dsymutil=yes
/bin/sh -c '`true`'

Actual Results:  
bash$ $HOME/bin/valgrind-svn-20110111/bin/valgrind --tool=none /bin/sh -c
'`true`'
==59298== Nulgrind, the minimal Valgrind tool
==59298== Copyright (C) 2002-2010, and GNU GPL'd, by Nicholas Nethercote.
==59298== Using Valgrind-3.7.0.SVN and LibVEX; rerun with -h for copyright info
==59298== Command: /bin/sh -c `true`
==59298== 
==59299== 
==59298== 
==59298== Process terminating with default action of signal 11 (SIGSEGV)
==59298==  General Protection Fault
==59298==    at 0x8FE18C02: misaligned_stack_error (in /usr/lib/dyld)
==59298==    by 0x1CDD6: ??? (in /bin/sh)
==59298==    by 0x1D4CC: ??? (in /bin/sh)
==59298==    by 0x3805E168: ???
==59298==    by 0x20E46: ??? (in /bin/sh)
==59298==    by 0x26B50: ??? (in /bin/sh)
==59298==    by 0x27A17: ??? (in /bin/sh)
==59298==    by 0x11F04: ??? (in /bin/sh)
==59298==    by 0x10B67: ??? (in /bin/sh)
==59298==    by 0x404E8: ??? (in /bin/sh)
==59298==    by 0x1DA7: ??? (in /bin/sh)
==59298==    by 0x34F6: ??? (in /bin/sh)
==59298== 
Segmentation fault


Bug 254646 reports the same symptom but that bug is marked as fixed and it
looks different enough to warrant a separate bug report.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic