| Bug #38101 | shutdown causes assertion on netware debug build | ||
|---|---|---|---|
| Submitted: | 14 Jul 2008 14:19 | Modified: | 25 Aug 2010 3:25 |
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Unsupported | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
| Version: | 5.0.66-debug, 5.0.67-debug | OS: | Novell NetWare |
| Assigned to: | Marc ALFF | CPU Architecture: | Any |
[14 Jul 2008 14:19]
Shane Bester
[14 Jul 2008 14:49]
MySQL Verification Team
the assertion failing is this:
in kill_server() there is this at line 1018:
if (sig != 0) // 0 is not a valid signal number
my_sigset(sig, SIG_IGN); /* purify inspected */
my_sigset is a macro expanding to this:
#define my_sigset(A,B) do{struct sigaction l_s; sigset_t l_set; int l_rc;\
DBUG_ASSERT((A) != 0); \
sigemptyset(&l_set); \
l_s.sa_handler = (B); \
l_s.sa_mask = l_set; \
l_s.sa_flags = 0; \
l_rc= sigaction((A), &l_s, (struct sigaction *) NULL);\
DBUG_ASSERT(l_rc == 0); \
} while (0)
So, sigaction is returning something we don't like.
[25 Jul 2008 9:20]
MySQL Verification Team
workaround is to use this to stop the server instead of mysqladmin shutdown: unload mysqld
[25 Aug 2010 3:25]
Marc ALFF
Code for Netware has been removed from the code base, this is no longer a platform supported by MySQL. Closing as unsupported.
