Subject: port-macppc/34165: 3.0.1 much less stable than 2.0.2 on Mac mini
To: None <port-macppc-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <schmonz-lists-netbsd-public-bugs-sendpr@schmonz.com>
List: netbsd-bugs
Date: 08/08/2006 18:15:01
>Number:         34165
>Category:       port-macppc
>Synopsis:       3.0.1 much less stable than 2.0.2 on Mac mini
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 08 18:15:00 +0000 2006
>Originator:     Amitai Schlair
>Release:        NetBSD 2.0.2
>Organization:
Schmonz Enterprises
>Environment:
System: NetBSD chicken-ac.apt.columbia.edu 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Tue Mar 22 16:19:08 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/macppc/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/macppc/compile/GENERIC macppc
Architecture: powerpc
Machine: macppc
>Description:
I installed 3.0_STABLE on a PowerPC Mac mini a few weeks ago. I
put the machine through its paces by rebuilding itself from src
and 250-odd packages in a pkg_comp. So far, so good. But when I
brought it into production, I started getting odd signal 11s from
at least MySQL and Dovecot. (MySQL would also eat a table or two
every day; nothing REPAIR TABLE couldn't fix, but yikes.)

After trying 3.0.1 and then a 3.99.23 kernel without improvement,
I rolled back to 2.0.2 on a tip from another mini owner. With the
exception of one failed pthread assertion, from which MySQL recovered
by restarting itself with no visible damage, the mini has been rock
solid for the last week-plus.

I'm not in a position to experiment further on this machine, as
I'm relying on it, but wanted to make sure I recorded this problem
somewhere.
>How-To-Repeat:
Install 2.0.2 on Mac mini; leave it running for a while until
convinced it works well. Install 3.0.1 on same machine; notice
fairly quickly that daemons are dying strangely. I have a trace
from a dead Dovecot, though it doesn't look too useful to me:

# gdb dovecot /var/run/dovecot/dovecot.core
GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc--netbsd"...(no debugging symbols found)...
Core was generated by `dovecot'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...
done.
Loaded symbols for /usr/libexec/ld.elf_so
Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.12
#0 0x01804658 in _init ()

Don't have a trace from MySQL.
>Fix:
None provided, sorry.