[Bug 341379] New: bash: Crash in command line editing
https://bugzilla.novell.com/show_bug.cgi?id=341379 Summary: bash: Crash in command line editing Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sbrabec@novell.com QAContact: qa@suse.de Found By: --- While editing the command line, bash unexpectedly terminated with following message: *** glibc detected *** bash: double free or corruption (out): 0x0000000000634620 *** ======= Backtrace: ========= /lib64/libc.so.6[0x2b1aa4d6c37e] /lib64/libc.so.6(__libc_free+0x6c)[0x2b1aa4d6d99c] /lib64/libreadline.so.5(rl_free_undo_list+0x20)[0x2b1aa4878f20] /lib64/libreadline.so.5(rl_free_line_state+0x9)[0x2b1aa4877889] /lib64/libreadline.so.5[0x2b1aa4877deb] /lib64/libc.so.6[0x2b1aa4d30b20] /lib64/libc.so.6(__read+0x10)[0x2b1aa4db2c30] /lib64/libreadline.so.5(rl_getc+0x27)[0x2b1aa4879877] /lib64/libreadline.so.5(rl_read_key+0x2ca)[0x2b1aa4879c9a] /lib64/libreadline.so.5(readline_internal_char+0x61)[0x2b1aa4868991] /lib64/libreadline.so.5(readline+0x55)[0x2b1aa4868de5] bash[0x41db98] bash[0x417025] bash[0x418197] bash(yyparse+0x132)[0x41a462] bash(parse_command+0x29)[0x416609] bash(read_command+0x5c)[0x4166ec] bash(reader_loop+0x6f)[0x41681f] bash(main+0x816)[0x415c26] /lib64/libc.so.6(__libc_start_main+0xf4)[0x2b1aa4d1e154] bash(rl_tilde_expand+0x159)[0x414369] ======= Memory map: ======== 00400000-00486000 r-xp 00000000 08:02 793418 /bin/bash 00586000-0058b000 rw-p 00086000 08:02 793418 /bin/bash 0058b000-00639000 rw-p 0058b000 00:00 0 [heap] 2b1aa4737000-2b1aa4752000 r-xp 00000000 08:02 1165826 /lib64/ld-2.4.so 2b1aa4752000-2b1aa4753000 rw-p 2b1aa4752000 00:00 0 2b1aa4753000-2b1aa4754000 r--p 00000000 08:02 519637 /usr/lib/locale/cs_CZ.utf8/LC_IDENTIFICATION 2b1aa4754000-2b1aa475b000 r--s 00000000 08:02 535050 /usr/lib64/gconv/gconv-modules.cache 2b1aa475b000-2b1aa475c000 r--p 00000000 08:02 535207 /usr/lib/locale/cs_CZ.utf8/LC_MEASUREMENT 2b1aa475c000-2b1aa475d000 r--p 00000000 08:02 519642 /usr/lib/locale/cs_CZ.utf8/LC_TELEPHONE 2b1aa475d000-2b1aa475e000 r--p 00000000 08:02 519636 /usr/lib/locale/cs_CZ.utf8/LC_ADDRESS 2b1aa475e000-2b1aa475f000 r--p 00000000 08:02 519641 /usr/lib/locale/cs_CZ.utf8/LC_NAME 2b1aa475f000-2b1aa4760000 r--p 00000000 08:02 535204 /usr/lib/locale/cs_CZ.utf8/LC_PAPER 2b1aa4760000-2b1aa4761000 r--p 00000000 08:02 519639 /usr/lib/locale/cs_CZ.utf8/LC_MESSAGES/SYS_LC_MESSAGES 2b1aa4761000-2b1aa4762000 r--p 00000000 08:02 519640 /usr/lib/locale/cs_CZ.utf8/LC_MONETARY 2b1aa4762000-2b1aa477e000 r--p 00000000 08:02 521396 /usr/lib/locale/cs_CZ.utf8/LC_COLLATE 2b1aa477e000-2b1aa477f000 r--p 00000000 08:02 519643 /usr/lib/locale/cs_CZ.utf8/LC_TIME 2b1aa477f000-2b1aa4780000 r--p 00000000 08:02 535164 /usr/lib/locale/cs_CZ.utf8/LC_NUMERIC 2b1aa4782000-2b1aa4783000 rw-p 2b1aa4782000 00:00 0 2b1aa4783000-2b1aa47b6000 r--p 00000000 08:02 535208 /usr/lib/locale/cs_CZ.utf8/LC_CTYPE 2b1aa47b6000-2b1aa47b8000 rw-p 2b1aa47b6000 00:00 0 2b1aa4852000-2b1aa4854000 rw-p 0001b000 08:02 1165826 /lib64/ld-2.4.so 2b1aa4854000-2b1aa4888000 r-xp 00000000 08:02 1165891 /lib64/libreadline.so.5.1 2b1aa4888000-2b1aa4988000 ---p 00034000 08:02 1165891 /lib64/libreadline.so.5.1 2b1aa4988000-2b1aa4990000 rw-p 00034000 08:02 1165891 /lib64/libreadline.so.5.1 2b1aa4990000-2b1aa4991000 rw-p 2b1aa4990000 00:00 0 2b1aa4991000-2b1aa4998000 r-xp 00000000 08:02 1165889 /lib64/libhistory.so.5.1 2b1aa4998000-2b1aa4a98000 ---p 00007000 08:02 1165889 /lib64/libhistory.so.5.1 2b1aa4a98000-2b1aa4a99000 rw-p 00007000 08:02 1165889 /lib64/libhistory.so.5.1 2b1aa4a99000-2b1aa4ae9000 r-xp 00000000 08:02 1165880 /lib64/libncurses.so.5.5 2b1aa4ae9000-2b1aa4be8000 ---p 00050000 08:02 1165880 /lib64/libncurses.so.5.5 2b1aa4be8000-2b1aa4bfb000 rw-p 0004f000 08:02 1165880 /lib64/libncurses.so.5.5 2b1aa4bfb000-2b1aa4bfd000 rw-p 2b1aa4bfb000 00:00 0 2b1aa4bfd000-2b1aa4bff000 r-xp 00000000 08:02 1165839 /lib64/libdl-2.4.so 2b1aa4bff000-2b1aa4cff000 ---p 00002000 08:02 1165839 /lib64/libdl-2.4.so 2b1aa4cff000-2b1aa4d01000 rw-p 00002000 08:02 1165839 /lib64/libdl-2.4.so 2b1aa4d01000-2b1aa4e27000 r-xp 00000000 08:02 1165833 /lib64/libc-2.4.so 2b1aa4e27000-2b1aa4f27000 ---p 00126000 08:02 1165833 /lib64/libc-2.4.so 2b1aa4f27000-2b1aa4f2a000 r--p 00126000 08:02 1165833 /lib64/libc-2.4.so 2b1aa4f2a000-2b1aa4f2c000 rw-p 00129000 08:02 1165833 /lib64/libc-2.4.so 2b1aa4f2c000-2b1aa4f33000 rw-p 2b1aa4f2c000 00:00 0 2b1aa4f33000-2b1aa4f3a000 r-xp 00000000 08:02 1165846 /lib64/libnss_compat-2.4.so 2b1aa4f3a000-2b1aa5039000 ---p 00007000 08:02 1165846 /lib64/libnss_compat-2.4.so 2b1aa5039000-2b1aa503b000 rw-p 00006000 08:02 1165846 /lib64/libnss_compat-2.4.so 2b1aa503b000-2b1aa504e000 r-xp 00000000 08:02 1165844 /lib64/libnsl-2.4.so 2b1aa504e000-2b1aa514d000 ---p 00013000 08:02 1165844 /lib64/libnsl-2.4.so 2b1aa514d000-2b1aa514f000 rw-p 00012000 08:02 1165844 /lib64/libnsl-2.4.so 2b1aa514f000-2b1aa5151000 rw-p 2b1aa514f000 00:00 0 2b1aa5151000-2b1aa5163000 r-xp 00000000 08:02 1165956 /lib64/libnss_ldap.so.2 2b1aa5163000-2b1aa5262000 ---p 00012000 08:02 1165956 /lib64/libnss_ldap.so.2 2b1aa5262000-2b1aa5263000 rw-p 00011000 08:02 1165956 /lib64/libnss_ldap.so.2 2b1aa5263000-2b1aa526f000 rw-p 2b1aa5263000 00:00 0 2b1aa526f000-2b1aa52a7000 r-xp 00000000 08:02 476358 /usr/lib64/libldap-2.3.so.0.2.7 2b1aa52a7000-2b1aa53a7000 ---p 00038000 08:02 476358 /usr/lib64/libldap-2.3.so.0.2.7 2b1aa53a7000-2b1aa53a9000 rw-p 00038000 08:02 476358 /usr/lib64/libldap-2.3.so.0.2.7 2b1aa53a9000-2b1aa53b6000 r-xp 00000000 08:02 476356 /usr/lib64/liblber-2.3.so.0.2.7 2b1aa53b6000-2b1aa54b5000 ---p 0000d000 08:02 476356 /usr/lib64/liblber-2.3.so.0.2.7 2b1aa54b5000-2b1aa54b6000 rw-p 0000c000 08:02 476356 /usr/lib64/liblber-2.3.so.0.2.7 2b1aa54b6000-2b1aa54cd000 r-xp 00000000 08:02 476087 /usr/lib64/libgssapi_krb5.so.2.2 2b1aa54cd000-2b1aa55cd000 ---p 00017000 08:02 476087 /usr/lib64/libgssapi_krb5.so.2.2 2b1aa55cd000-2b1aa55ce000 rw-p 00017000 08:02 476087 /usr/lib64/libgssapi_krb5.so.2.2 2b1aa55ce000-2b1aa55df000 r-xp 00000000 08:02 1165861 /lib64/libresolv-2.4.so 2b1aa55df000-2b1aa56de000 ---p 00011000 08:02 1165861 /lib64/libresolv-2.4.so 2b1aa56de000-2b1aa56e0000 rw-p 00010000 08:02 1165861 /lib64/libresolv-2.4.so 2b1aa56e0000-2b1aa56e2000 rw-p 2b1aa56e0000 00:00 0 2b1aa56e2000-2b1aa56f9000 r-xp 00000000 08:02 987795 /usr/lib64/libsasl2.so.2.0.21 2b1aa56f9000-2b1aa57f9000 ---p 00017000 08:02 987795 /usr/lib64/libsasl2.so.2.0.21 2b1aa57f9000-2b1aa57fa000 rw-p 00017000 08:02 987795 /usr/lib64/libsasl2.so.2.0.21 2b1aa57fa000-2b1aa583a000 r-xp 00000000 08:02 475975 /usr/lib64/libssl.so.0.9.8 2b1aa583a000-2b1aa593a000 ---p 00040000 08:02 475975 /usr/lib64/libssl.so.0.9.8 2b1aa593a000-2b1aa5940000 rw-p 00040000 08:02 475975 /usr/lib64/libssl.so.0.9.8 2b1aa5940000-2b1aa5a7e000 r-xp 00000000 08:02 475974 /usr/lib64/libcrypto.so.0.9.8 2b1aa5a7e000-2b1aa5b7d000 ---p 0013e000 08:02 475974 /usr/lib64/libcrypto.so.0.9.8 2b1aa5b7d000-2b1aa5ba0000 rw-p 0013d000 08:02 475974 /usr/lib64/libcrypto.so.0.9.8 2b1aa5ba0000-2b1aa5ba3000 rw-p 2b1aa5ba0000 00:00 0 2b1aa5ba3000-2b1aa5c17000 r-xp 00000000 08:02 476101 /usr/lib64/libkrb5.so.3.2 2b1aa5c17000-2b1aa5d16000 ---p 00074000 08:02 476101 /usr/lib64/libkrb5.so.3.2 2b1aa5d16000-2b1aa5d1a000 rw-p 00073000 08:02 476101 /usr/lib64/libkrb5.so.3.2 2b1aa5d1a000-2b1aa5d3c000 r-xp 00000000 08:02 476091 /usr/lib64/libk5crypto.so.3.0 2b1aa5d3c000-2b1aa5e3b000 ---p 00022000 08:02 476091 /usr/lib64/libk5crypto.so.3.0 2b1aa5e3b000-2b1aa5e3d000 rw-p 00021000 08:02 476091 /usr/lib64/libk5crypto.so.3.0 2b1aa5e3d000-2b1aa5e3f000 r-xp 00000000 08:02 1165898 /lib64/libcom_err.so.2.1 2b1aa5e3f000-2b1aa5f3e000 ---p 00002000 08:02 1165898 /lib64/libcom_err.so.2.1 2b1aa5f3e000-2b1aa5f3f000 rw-p 00001000 08:02 1165898 /lib64/libcom_err.so.2.1 2b1aa5f3f000-2b1aa5f42000 r-xp 00000000 08:02 476103 /usr/lib64/libkrb5support.so.0.0 2b1aa5f42000-2b1aa6041000 ---p 00003000 08:02 476103 /usr/lib64/libkrb5support.so.0.0 2b1aa6041000-2b1aa6042000 rw-p 00002000 08:02 476103 /usr/lib64/libkrb5support.so.0.0 2b1aa6100000-2b1aa6121000 rw-p 2b1aa6100000 00:00 0 2b1aa6121000-2b1aa6200000 ---p 2b1aa6121000 00:00 0 2b1aa6200000-2b1aa620d000 r-xp 00000000 08:02 1166242 /lib64/libgcc_s.so.1 2b1aa620d000-2b1aa630c000 ---p 0000d000 08:02 1166242 /lib64/libgcc_s.so.1 2b1aa630c000-2b1aa630d000 rw-p 0000c000 08:02 1166242 /lib64/libgcc_s.so.1 7fff0635d000-7fff06373000 rw-p 7fff0635d000 00:00 0 [stack] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] Last version of edited line was: linux32 abuild --lint --prefer-rpms=/home/sbrabec/PACKAGES/BIN --debug=yes --icecream=10 ; echo "======== rc: $? =========" ; grep '\(Cannot create log file\|dereferencing type-punned pointer\|Entity .* not defined\|failed to load external entity\|failed to install schema\)' ${BUILD_ROOT:-/abuild/buildsystem.$HOST.$USER}/.build.log ; su sbrabec -c "cp -av ${BUILD_ROOT:-/abuild/buildsystem.$HOST.$USER}/usr/src/packages/{RPMS/*/*,SRPMS/*} ~/PACKAGES/BIN" -- 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=341379 Mark Gordon <mtgordon@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtgordon@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |werner@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.
https://bugzilla.novell.com/show_bug.cgi?id=341379#c1 --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2007-11-14 03:34:56 MST --- I can not reproduce this: root@magellan:/suse/werner# linux32 abuild --lint --prefer-rpms=/home/werner/PACKAGES/BIN --debug=yes --icecream=10 ; echo "======== rc: $? =========" ; grep '\(Cannot create log file\|dereferencing type-punned pointer\|Entity .* not defined\|failed to load external entity\|failed to install schema\)' ${BUILD_ROOT:-/abuild/buildsystem.$HOST.$USER}/.build.log ; su werner -c "cp -av ${BUILD_ROOT:-/abuild/buildsystem.$HOST.$USER}/usr/src/packages/{RPMS/*/*,SRPMS/*} ~/PACKAGES/BIN" Cannot execute abuild: No such file or directory ======== rc: 1 ========= `/abuild/buildsystem.magellan.werner/usr/src/packages/RPMS/x86_64/xxx.rpm' -> `/suse/werner/PACKAGES/BIN/xxx.rpm' `/abuild/buildsystem.magellan.werner/usr/src/packages/SRPMS/xxx.spm' -> `/suse/werner/PACKAGES/BIN/xxx.spm' where does the script abuild come from ... beside this: is this ia64 or x86_64 or ppc64 or s390x and which version of the bash are you using? -- 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=341379 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |sbrabec@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.
participants (1)
-
bugzilla_noreply@novell.com