[Bug 382214] New: bash script aborts with memory dump if interpreter not specified on first line
https://bugzilla.novell.com/show_bug.cgi?id=382214 User osl2008@googlemail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382214#c1 Summary: bash script aborts with memory dump if interpreter not specified on first line Product: openSUSE 11.0 Version: Beta 1 Platform: Macintosh OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: osl2008@googlemail.com QAContact: qa@suse.de Found By: --- This works as expected: rpm@iMac:~> cat test #! /bin/bash ls -al .. but this gives a memory dump: rpm@iMac:~> cat test ls -al rpm@iMac:~> ./test *** glibc detected *** -bash: munmap_chunk(): invalid pointer: 0x200dec48 *** ======= Backtrace: ========= /lib/libc.so.6[0x1fdef2d8] -bash[0x2003db00] -bash(hash_flush+0xb4)[0x2005d074] -bash(delete_all_contexts+0x44)[0x20037598] -bash(main+0x1720)[0x2001ef40] /lib/libc.so.6[0x1fd91b60] /lib/libc.so.6[0x1fd91cfc] ======= Memory map: ======== 00100000-00103000 r-xp 00100000 00:00 0 it doesn't seem to matter what the script contents are (problem found when scripting a vncserver) Platform is OSL-11.0 Beta 1 on iMac G3 (PPC) rpm@iMac:~> uname -a Linux iMac 2.6.25-rc9-17-default #1 2008-04-15 22:54:53 +0200 ppc ppc ppc GNU/Linux -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=382214
Martin Mrazik
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c1
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User osl2008@googlemail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c2
richard meek
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c3
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c4
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c5
--- Comment #5 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=382214
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c6
--- Comment #6 from Mike Fabian
SHLVL=2 root@magellan:~# /home/mfabian/bin/worldtimes US/Pacific Tue Apr 22 04:11:40 2008 PDT Navajo Tue Apr 22 05:11:40 2008 MDT US/Mountain Tue Apr 22 05:11:40 2008 MDT US/Central Tue Apr 22 06:11:40 2008 CDT US/Eastern Tue Apr 22 07:11:40 2008 EDT Canada/Eastern Tue Apr 22 07:11:40 2008 EDT Greenwich Tue Apr 22 11:11:40 2008 GMT UTC Tue Apr 22 11:11:40 2008 UTC MET Tue Apr 22 13:11:40 2008 MEST Asia/Hong_Kong Tue Apr 22 19:11:40 2008 HKT Asia/Seoul Tue Apr 22 20:11:40 2008 KST Japan Tue Apr 22 20:11:40 2008 JST root@magellan:~# cat /home/mfabian/bin/worldtimes /usr/sbin/zdump US/Pacific Navajo US/Mountain US/Central US/Eastern Canada/Eastern Greenwich UTC MET Asia/Hong_Kong Asia/Seoul Japan
root@magellan:~# -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c7
--- Comment #7 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c8
--- Comment #8 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User osl2008@googlemail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c9
richard meek
https://bugzilla.novell.com/show_bug.cgi?id=382214
User osl2008@googlemail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c10
--- Comment #10 from richard meek
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c11
--- Comment #11 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c12
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User osl2008@googlemail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c13
richard meek
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c14
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User ro@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c15
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=382214
User gregkh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c16
--- Comment #16 from Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=382214
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c17
--- Comment #17 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=382214
User ro@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c18
--- Comment #18 from Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c19
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=382214
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=382214#c20
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com