Bug 146544

Summary: valgrind segfaults when passing arguments to the launched command
Product: [Fedora] Fedora Reporter: Bastien Nocera <bnocera>
Component: valgrindAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-03 09:23:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bastien Nocera 2005-01-29 13:35:49 UTC
/usr/bin/valgrind --tool=memcheck /usr/bin/gedit foo
*** glibc detected *** free(): invalid next size (normal): 0xb7dc07a0 ***
Aborted (core dumped)

The core is useless, and even running this inside gdb doesn't bring
much information. Removing the "foo" argument makes it work.

valgrind-2.2.0-7
kernel-2.6.10-1.741_FC3

Comment 1 Bastien Nocera 2005-02-07 14:35:14 UTC
"valgrind --tool=memcheck /usr/bin/gedit" works
"valgrind -v --tool=memcheck /usr/bin/gedit" works
"valgrind -v --tool=memcheck /usr/bin/gedit foo" works

$ valgrind  --tool=memcheck /usr/bin/gedit foo
*** glibc detected *** free(): invalid next size (normal): 0xb7dc0770 ***
Aborted


Comment 2 Jakub Jelinek 2005-05-02 09:34:05 UTC
Can you reproduce this with valgrind-2.4.0-2?

Comment 3 Bastien Nocera 2005-05-03 09:23:09 UTC
Nope, can't. Thanks.