[Bug 693131] New: multipathd buffer overwflow when starting
https://bugzilla.novell.com/show_bug.cgi?id=693131 https://bugzilla.novell.com/show_bug.cgi?id=693131#c0 Summary: multipathd buffer overwflow when starting Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: Other OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rybensky@cewecolor.cz QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=429118) --> (http://bugzilla.novell.com/attachment.cgi?id=429118) sceenshot of console via service processor User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110420 SUSE/3.6.17-0.2.1 Firefox/3.6.17 when starting multipathd, (doesn't matter if by /etc/inid.d/multipathd or directly by /sbin/multipathd) buffer overflow is reported and multipathd is not started. it is not configuration issue, because when /sbin/multipathd -d is started, everything works well, paths are checked, removed when failed, re-added again, etc... Only thing logged by syslog is: multipathd (2869): /proc/2869/oom_adj is deprecated, please use /proc/2869/oom_score_adj instead There is problem to get full log of crash report, the output is going only to hardware console, nothing is logged to syslog. So I only attaching screenshot of console with small part of crash report. system is openSuSE-11.4 fully up-to-date (May 11 2011), uname -a: Linux hostname-removed 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 x86_64 x86_64 x86_64 GNU/Linux multipath tools version: multipath-tools-0.4.8-57.1.x86_64 Reproducible: Always Steps to Reproduce: 1.install & configure multipathd 2.try to start multipathd 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.
https://bugzilla.novell.com/show_bug.cgi?id=693131 https://bugzilla.novell.com/show_bug.cgi?id=693131#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |hare@novell.com |ovo.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=693131 https://bugzilla.novell.com/show_bug.cgi?id=693131#c1 Lance Inman <linman@ci.tumwater.wa.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linman@ci.tumwater.wa.us Severity|Normal |Critical --- Comment #1 from Lance Inman <linman@ci.tumwater.wa.us> 2011-05-23 21:18:15 UTC --- I seem to have the same buffer overflow problem using a xen kernel on a xen guest vm. Some basic info below, I can provide more if needed. On console, but not in logs: *** buffer overflow detected ***: multipathd terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x7eff4fe2fe97] /lib64/libc.so.6(+0xe7c40)[0x7eff4fe2dc40] /lib64/libmultipath.so.0(log_enqueue+0x120)[0x7eff500df2b0] /lib64/libmultipath.so.0(log_safe+0x69)[0x7eff500ded49] /lib64/libmultipath.so.0(dlog+0xc6)[0x7eff500d3366] /lib64/libmultipath.so.0(execute_program+0x2b4)[0x7eff500c5a54] /lib64/libmultipath.so.0(+0x174c7)[0x7eff500ca4c7] /lib64/libmultipath.so.0(pathinfo+0x268)[0x7eff500cbbb8] /lib64/libmultipath.so.0(store_pathinfo+0x64)[0x7eff500cc364] /lib64/libmultipath.so.0(path_discovery+0x312)[0x7eff500cc6e2] multipathd[0x407d96] multipathd[0x4088b7] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7eff4fd64bfd] multipathd[0x4057d9] uname -a output: Linux snas 2.6.37.6-0.5-xen #1 SMP 2011-04-25 21:48:33 +0200 x86_64 x86_64 x86_64 GNU/Linux rpm -q multipath-tools output: multipath-tools-0.4.8-57.1.x86_64 -- 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=693131 https://bugzilla.novell.com/show_bug.cgi?id=693131#c2 Jared Hudson <jahudson@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jahudson@novell.com --- Comment #2 from Jared Hudson <jahudson@novell.com> 2011-05-26 11:50:19 CDT --- I'm also experiencing this problem. OS: opensuse11.4 i586 Package: multipath-tools-0.4.8-57.1.i586 I have no configuration in /etc/multipath.conf Running multipathd as multipathd -d works. Running it as just multipathd causes a crash. I'll attach the associated core file. As a workaround I made these changes to /etc/init.d/multipathd ------------------------------------------------------- --- multipathd~ 2011-05-26 11:48:50.681709043 -0500 +++ multipathd 2011-05-26 11:48:03.976279373 -0500 @@ -19,7 +19,7 @@ DAEMON=/sbin/multipathd PIDFILE=/var/run/multipathd.pid MPATH_INIT_TIMEOUT=10 -ARGS="" +ARGS="-d &>/dev/null &" # Set the maximum number of open files MAX_OPEN_FDS=4096 @@ -52,6 +52,7 @@ fi $DAEMON $ARGS + sleep 3 if [ -n "$DAEMON_ASYNC_STARTUP" ] ; then rc_status -v ------------------------------------------------------- Core was generated by `/sbin/multipathd'. Program terminated with signal 6, Aborted. #0 0xffffe430 in __kernel_vsyscall () (gdb) bt #0 0xffffe430 in __kernel_vsyscall () #1 0xb76558df in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0xb7657220 in abort () at abort.c:92 #3 0xb7691e07 in __libc_message (do_abort=2, fmt=0xb77582db "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186 #4 0xb7715070 in __fortify_fail (msg=0xb775825c "buffer overflow detected") at fortify_fail.c:32 #5 0xb7712e27 in __chk_fail () at chk_fail.c:29 #6 0xb771208e in __strcpy_chk (dest=0x8059180 "3200", src=0xbfcf371c "32000000c505344af: event checker started\n", destlen=<value optimized out>) at strcpy_chk.c:61 #7 0xb77c1637 in strcpy (prio=5, fmt=0xb77ca9d3 "%s: event checker started\n", ap=0xbfcf38cc " \257\022\b@\240y\267\364\177\005\b \257\022\b\004\257\022\b\200%\006\b@_\214\267\b\220\005\b\364\177\005\b") at /usr/include/bits/string3.h:105 #8 log_enqueue (prio=5, fmt=0xb77ca9d3 "%s: event checker started\n", ap=0xbfcf38cc " \257\022\b@\240y\267\364\177\005\b \257\022\b\004\257\022\b\200%\006\b@_\214\267\b\220\005\b\364\177\005\b") at log.c:151 #9 0xb77c1034 in log_safe (prio=5, fmt=0xb77ca9d3 "%s: event checker started\n", ap=0xbfcf38cc " \257\022\b@\240y\267\364\177\005\b \257\022\b\004\257\022\b\200%\006\b@_\214\267\b\220\005\b\364\177\005\b") at log_pthread.c:40 #10 0xb77b4665 in dlog (sink=1, prio=2, fmt=0xb77ca9d3 "%s: event checker started\n") at debug.c:36 #11 0xb77c6b5e in start_waiter_thread (mpp=0x8064820, vecs=0x8062580) at waiter.c:240 #12 0x0804ed74 in configure (vecs=0x8062580, start_waiters=1) at main.c:1271 #13 0x0804f7be in child (argc=1, argv=0xbfcf3b34) at main.c:1523 #14 main (argc=1, argv=0xbfcf3b34) at main.c:1753 -- 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=693131 https://bugzilla.novell.com/show_bug.cgi?id=693131#c3 --- Comment #3 from Jared Hudson <jahudson@novell.com> 2011-05-26 11:52:14 CDT --- Created an attachment (id=431619) --> (http://bugzilla.novell.com/attachment.cgi?id=431619) corefile from 32bit multipathd -- 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=693131 https://bugzilla.novell.com/show_bug.cgi?id=693131#c4 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #4 from Hannes Reinecke <hare@novell.com> 2011-07-12 09:24:47 UTC --- Please use the multipath-tools from my git tree at git://git.kernel.org/pub/scm/linux/kernel/git/hare/multipath-tools.git branch sles11-sp2 They should work on OpenSUSE, too. -- 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=693131 https://bugzilla.novell.com/show_bug.cgi?id=693131#c5 Joachim Schönberg <schoenberg@fv-berlin.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schoenberg@fv-berlin.de --- Comment #5 from Joachim Schönberg <schoenberg@fv-berlin.de> 2011-07-19 09:35:22 UTC --- Same Problem here. The above hint with -d arg gave Starting multipathdux_socket_connect: Connection refused I compiled http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-0.4.9.tarb... and now the daemon is working :-) Joe -- 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=693131 https://bugzilla.novell.com/show_bug.cgi?id=693131#c7 Ankit Jain <jankit@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WONTFIX --- Comment #7 from Ankit Jain <jankit@suse.com> 2013-08-29 06:47:12 UTC --- Product not supported anymore. -- 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