Bug #28271 execution_constants.test crashes on netware
Submitted: 7 May 2007 5:05 Modified: 9 Jun 2009 21:17
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.0.40, 5.0.45, 5.0.66 OS:Novell NetWare (6.5)
Assigned to: CPU Architecture:Any
Tags: crash, Netware, pbfail, testsuite

[7 May 2007 5:05] Shane Bester
Description:
when running testsuite on netware, execution_constants.test crashes the server.

How to repeat:
sys:\mysql\mysql-test\mysql_test_run execution_constants
[7 May 2007 5:07] MySQL Verification Team
maybe related to bug #21476
[11 Jul 2007 8:06] MySQL Verification Team
5.0.45 build still crashes on netware.  The crash is in a different place though.
Still looks stack related, because the crash is on an assembler 'push' instruction.
[11 Jul 2007 8:08] MySQL Verification Team
Abend 1 on P00: Server-5.70.06: Double Fault Processor Exception (Error code 00000000)

Registers:
    CS = 0060 DS = 007B ES = 007B FS = 007B GS = 007B SS = 0068
    EAX = 8D7780B0 EBX = 00000000 ECX = 8D7780B0 EDX = 8D01E3A8
    ESI = 8DA9E154 EDI = 9079814C EBP = 907980A4 ESP = 90797F84
    EIP = 8E54E378 FLAGS = 00010286 
    8E54E378 57             PUSH    EDI
    EIP in MYSQLD.NLM at code start +000FD378h

The violation occurred while processing the following instruction:
8E54E378 57             PUSH    EDI
8E54E379 B8CCCCCCCC     MOV     EAX, CCCCCCCC
8E54E37E 8D7C2404       LEA     EDI, [ESP+04]
8E54E382 B946000000     MOV     ECX, 00000046
8E54E387 F3AB       REP STOSD   
8E54E389 5F             POP     EDI
8E54E38A BA00000000     MOV     EDX, 00000000
8E54E38F 8995E4FEFFFF   MOV     [EBP-0000011C], EDX
8E54E395 8B4D0C         MOV     ECX, [EBP+0C]
8E54E398 8B4158         MOV     EAX, [ECX+58]

Running process: MYSQLD.NLM:8e510e7f Process
Thread Owned by NLM: MYSQLD.NLM
Stack pointer: 907A8C2C                    <--------NOTICE
OS Stack limit: 90798EA0
Scheduling priority: 67371008
Wait state: 5050190  Blocked on a kernel CV
Stack: 
   Stack dump exceeded the valid memory limit
[14 Jul 2008 16:11] MySQL Verification Team
stack related crash still repeatable with 5.0.66 binaries when running
sys:\mysql\mysql-test\mysql_test_run execution_constants

Server SWEDEN halted Monday, July 14, 2008   5:40:03.848 pm
Abend 1 on P00: Server-5.70.06: Double Fault Processor Exception (Error code 00000000)

Registers:
    CS = 0008 DS = 0010 ES = 0010 FS = 0010 GS = 0010 SS = 0010
    EAX = 9ADE7000 EBX = 00000000 ECX = 861211F0 EDX = 00000000
    ESI = 9ADE7030 EDI = 00000029 EBP = 9ADE7020 ESP = 9ADE7000
    EIP = 86121378 FLAGS = 00010246 
    86121378 50             PUSH    EAX
    EIP in COMN.NSS at code start +0003A378h

The violation occurred while processing the following instruction:
86121378 50             PUSH    EAX
86121379 668955F4       MOV     [EBP-0C], DX
8612137D 668955F6       MOV     [EBP-0A], DX
86121381 E88A420500     CALL    COMN.NSS|COMN_DoResolveConnection
86121386 31C0           XOR     EAX, EAX
86121388 83C404         ADD     ESP, 00000004
8612138B 8A4614         MOV     AL, [ESI+14]
8612138E 50             PUSH    EAX
8612138F 8B5608         MOV     EDX, [ESI+08]
86121392 8B06           MOV     EAX, [ESI]

Running process: MYSQLD.NLM:97f2e9dd Process
Thread Owned by NLM: MYSQLD.NLM
Stack pointer: 9ADF10B8
OS Stack limit: 9ADE7A80
[19 Mar 2009 8:14] Sveta Smirnova
Same problem reported for Solaris in bug #43741