[Bug 240225] New: rpmbuild 4.4.2: bad file descriptor
https://bugzilla.novell.com/show_bug.cgi?id=240225 Summary: rpmbuild 4.4.2: bad file descriptor Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to test out rpmbuild 4.4.2 with valgrind. I used the following command line valgrind --trace-children=yes rpmbuild -bc 3dto3d.spec Here is the output I got + rm -rf 3dto3d ==24304== Memcheck, a memory error detector. ==24304== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==24304== Using LibVEX rev 1732, a library for dynamic binary translation. ==24304== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==24304== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==24304== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==24304== For more details, rerun with: -v ==24304== ==24304== Warning: invalid file descriptor -100 in syscall openat() /bin/rm: cannot remove `3dto3d': Bad file descriptor I used valgrind compiler flag -v to get a little more detail: --29858-- REDIR: 0x4E9CFE0 (stpcpy) redirected to 0x4C23D30 (stpcpy) --29858-- REDIR: 0x4E9A330 (strcpy) redirected to 0x4C247D0 (strcpy) --29858-- REDIR: 0x4E9E450 (rawmemchr) redirected to 0x4C23B60 (rawmemchr) ==29858== Warning: invalid file descriptor -100 in syscall openat() ==29858== at 0x4EDADC2: __openat_nocancel (in /lib64/libc-2.5.so) ==29858== by 0x4EDAEFE: openat (in /lib64/libc-2.5.so) ==29858== by 0x40324E: (within /bin/rm) ==29858== by 0x4037C3: (within /bin/rm) ==29858== by 0x4041FC: (within /bin/rm) ==29858== by 0x401F62: (within /bin/rm) ==29858== by 0x4E44AE3: (below main) (in /lib64/libc-2.5.so) /bin/rm: cannot remove `3dto3d': Bad file descriptor So it seems the the installed /bin/rm [ from Suse Linux 10.2] is trying to do a call to openat() with a wrong value of -100. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mls@novell.com |screening@forge.provo.novell| |.com | Component|Other |Basesystem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 mls@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@novell.com |schwab@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 schwab@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #1 from schwab@novell.com 2007-01-31 04:01 MST ------- No, it doesn't. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 dcb314@hotmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Comment #2 from dcb314@hotmail.com 2007-01-31 10:23 MST ------- (In reply to comment #1)
No, it doesn't.
I am grateful for your advice. Any further advice as to why valgrind produces the warning message specified would be most welcome. Could I also confirm that you used the latest version of valgrind [ 3.2.3 ] ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 schwab@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|schwab@novell.com |bnc-team-screening@forge.provo.novell.com Status|REOPENED |NEW ------- Comment #3 from schwab@novell.com 2007-01-31 10:37 MST ------- valgrind is broken. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 ------- Comment #4 from dcb314@hotmail.com 2007-01-31 10:50 MST ------- (In reply to comment #3)
valgrind is broken.
Which version please ? You may benefit from having a look at this bug report https://bugzilla.novell.com/show_bug.cgi?id=234347 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kde-maintainers@suse.de |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |dmueller@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=240225 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #5 from dmueller@novell.com 2007-02-01 08:38 MST ------- added a fix to valgrind. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com