Bug #1613 Control Center abend on W2K
Submitted: 20 Oct 2003 20:33 Modified: 21 Dec 2003 5:39
Reporter: [ name withheld ] Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQLCC Severity:S1 (Critical)
Version:0.9.3 beta OS:Windows (W2K 5.0.2195 SP 4)
Assigned to: Assigned Account CPU Architecture:Any

[20 Oct 2003 20:33] [ name withheld ]
Description:
Following abends of MYSQL occured after entering MYSQL server and attempting
to test it :

Application exception occurred:
        App:  (pid=1432)
        When: 10/20/2003 @ 23:34:29.846
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: WIN2K-MASTER
        User Name: Administrator
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 7 Stepping 3
        Windows 2000 Version: 5.0
        Current Build: 2195
        Service Pack: 4
        Current Type: Uniprocessor Free
        Registered Organization: 
        Registered Owner: 
*----> Task List <----*
   0 Idle.exe
   8 System.exe
 140 SMSS.exe
 164 CSRSS.exe
 184 WINLOGON.exe
 212 SERVICES.exe
 224 LSASS.exe
 420 svchost.exe
 448 spoolsv.exe
 480 svchost.exe
 504 mpservic.exe
 628 Pavfires.exe
 708 PAVSRV50.exe
 736 regsvc.exe
 748 mstask.exe
 752 Avengine.exe
 800 WinMgmt.exe
 848 MsPMSPSv.exe
 864 svchost.exe
 688 explorer.exe
1220 apvxdwin.exe
1256 monitr32.exe
1308 Pavproxy.exe
1072 WISPTIS.exe
 276 svchost.exe
1292 notepad.exe
1632 MailWasher.exe
1568 realsched.exe
1564 IEXPLORE.exe
 780 IEXPLORE.exe
1668 msimn.exe
1432 mysqlcc.exe
1368 DRWTSN32.exe
   0 _Total.exe

(00400000 - 00520000) 
(77F80000 - 77FFB000) 
(39D00000 - 3A0D0000) 
(7C570000 - 7C623000) 
(77E10000 - 77E6F000) 
(77F40000 - 77F79000) 
(7C2D0000 - 7C332000) 
(77D30000 - 77D9E000) 
(782F0000 - 78538000) 
(63180000 - 631E5000) 
(78000000 - 78045000) 
(71710000 - 71794000) 
(77A50000 - 77B3C000) 
(75E60000 - 75E7A000) 
(77800000 - 7781E000) 
(76620000 - 76631000) 
(10000000 - 10046000) 
(75050000 - 75058000) 
(75030000 - 75044000) 
(75020000 - 75028000) 
(00BB0000 - 00BCD000) 
(00D30000 - 00D45000) 
(77570000 - 775A0000) 
(77560000 - 77568000) 
(77400000 - 77408000) 
(77410000 - 77423000) 
(782C0000 - 782CC000) 
(77980000 - 779A4000) 
(77340000 - 77353000) 
(77520000 - 77525000) 
(77320000 - 77337000) 
(75150000 - 7515F000) 
(75170000 - 751BF000) 
(7C340000 - 7C34F000) 
(751C0000 - 751C6000) 
(77950000 - 7797A000) 
(779B0000 - 77A4B000) 
(773B0000 - 773DF000) 
(77380000 - 773A3000) 
(77830000 - 7783E000) 
(77880000 - 7790E000) 
(7C0F0000 - 7C151000) 
(774E0000 - 77513000) 
(774C0000 - 774D1000) 
(77530000 - 77552000) 
(77360000 - 77379000) 
(777E0000 - 777E8000) 
(777F0000 - 777F5000) 
(74FD0000 - 74FEE000) 
(75010000 - 75017000) 

State Dump for Thread Id 0x62c

eax=0012f528 ebx=00000000 ecx=00000257 edx=00000059 esi=0012f518 edi=009240a0
eip=39ee1141 esp=0012f4fc ebp=0012f50c iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000206

function: QTextCodec::fromUnicode
        39ee1127 8b450c           mov     eax,[ebp+0xc]          ss:00cb93f2=????????
        39ee112a 56               push    esi
        39ee112b 8d750c           lea     esi,[ebp+0xc]          ss:00cb93f2=????????
        39ee112e 8b10             mov     edx,[eax]              ds:0012f528=00940060
        39ee1130 56               push    esi
        39ee1131 50               push    eax
        39ee1132 8b520c           mov     edx,[edx+0xc]          ds:00b89f3f=????????
        39ee1135 ff7508           push    dword ptr [ebp+0x8]    ss:00cb93f2=????????
        39ee1138 81e2ffffff3f     and     edx,0x3fffffff
        39ee113e 89550c           mov     [ebp+0xc],edx          ss:00cb93f2=????????
FAULT ->39ee1141 8b11             mov     edx,[ecx]              ds:00000257=????????
        39ee1143 ff5220           call    dword ptr [edx+0x20]   ds:00b89f3f=????????
        39ee1146 8b4508           mov     eax,[ebp+0x8]          ss:00cb93f2=????????
        39ee1149 5e               pop     esi
        39ee114a 5d               pop     ebp
        39ee114b c20800           ret     0x8

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0012F50C 004033D5 0012F520 00000059 00963850 00917D40 !QTextCodec::fromUnicode 
0012F530 00403305 0012F5A0 00963850 00000000 20544553 !<nosymbols> 
0012F5A8 0042EF42 00963B60 0012F5BC 0091AAD0 00000CEA !<nosymbols> 
0012F60C 004507A3 0012F63C 009240A0 00903D98 0097DBE0 !<nosymbols> 
0012F634 00450757 00000001 0097DBE0 0012F654 004246C0 !<nosymbols> 
0012F644 004246C0 0097DBE0 009240A0 0012F668 00492570 !<nosymbols> 
0012F654 00492570 0097DC0C 00000005 009240A0 0012F690 !<nosymbols> 
0012F668 39D5A7E6 00000050 0012F6A8 00926BA0 009240A0 !<nosymbols> 
0012F690 39F08E3F 00926BA0 0012F6A8 0097DC0C 009240A0 !QObject::activate_signal 
0012F6D8 39DBF4BF 0097DC0C 009240A0 0012F8C8 00000041 !QListView::doubleClicked 
0012F6FC 39DD4C5D 0012F714 00924938 009240A0 0012F8C8 !QListView::contentsMouseDoubleClickEvent 
0012F744 39DD4787 00000001 009240A0 0012F8C8 00924938 !QScrollView::viewportMouseDoubleClickEvent 
0012F778 39DBE3A4 00924938 0012F8C8 00924938 009240A0 !QScrollView::eventFilter 
0012F7C0 39D5944C 00924938 0012F8C8 00924938 0012F8C8 !QListView::eventFilter 
0012F7E4 39D593B2 0012F8C8 0012F8C8 00924938 39D72CCE !QObject::activate_filters 
0012F814 39D2AA73 0012F8C8 0012F8C8 00924938 0012F8C8 !QObject::event 
0012F834 39D2A632 00924938 0012F8C8 00000004 00924938 !QApplication::internalNotify 
0012F8A0 39D05E57 00924938 00924938 39D0B04F 00924938 !QApplication::notify 
0012F938 39D097AA 0012F9E8 0012FAF4 0012FAFC C0000000 !QApplication::sendSpontaneousEvent 
0012FA24 77E3A2D0 000E0352 00000203 00000001 00090041 !QApplication::winFocus 
0012FA44 77E145E5 39D09303 000E0352 00000203 00000001 user32!SetWindowPlacement 
0012FAD0 77E1A816 0012FAF4 00000000 39D11D19 0012FAF4 user32!TranslateMessageEx 
0012FB14 39D3CF8C 00000004 008D80D8 00000000 39D3CF0D user32!DispatchMessageW 
0012FEC4 004883EB 00000001 008C3F0C 008C3F08 00000000 !QEventLoop::enterLoop 
0012FEE4 004A50C0 00000000 008C3F0C 00400000 00000000 !<nosymbols> 
0012FF24 004A4FFA 00400000 00000000 00133777 00000001 !<nosymbols> 
0012FFC0 7C5987E7 00000000 00000000 7FFDF000 C0000005 !<nosymbols> 
0012FFF0 00000000 004A4EC6 00000000 000000C8 00000100 kernel32!ProcessIdToSessionId 

*----> Raw Stack Dump <----*
0012f4fc  20 f5 12 00 28 f5 12 00 - 18 f5 12 00 b0 3b 92 00   ...(........;..
0012f50c  30 f5 12 00 d5 33 40 00 - 20 f5 12 00 59 00 00 00  0....3@. ...Y...
0012f51c  50 38 96 00 40 7d 91 00 - 20 10 93 00 60 00 94 00  P8..@}.. ...`...
0012f52c  a8 f5 12 00 a8 f5 12 00 - 05 33 40 00 a0 f5 12 00  .........3@.....
0012f53c  50 38 96 00 00 00 00 00 - 53 45 54 20 53 51 4c 5f  P8......SET SQL_
0012f54c  53 45 4c 45 43 54 5f 4c - 49 4d 49 54 3d 31 30 30  SELECT_LIMIT=100
0012f55c  30 00 12 00 3c 12 d1 39 - a0 f5 12 00 00 00 00 00  0...<..9........
0012f56c  00 00 00 00 00 00 00 00 - 01 00 00 00 c0 f5 12 00  ................
0012f57c  09 9e 59 7c a0 00 00 00 - 01 00 00 00 ac 38 96 00  ..Y|.........8..
0012f58c  50 ef ec 39 00 00 00 00 - 50 38 96 00 a4 f5 12 00  P..9....P8......
0012f59c  97 30 40 00 50 38 96 00 - 0c f6 12 00 0c f6 12 00  .0@.P8..........
0012f5ac  42 ef 42 00 60 3b 96 00 - bc f5 12 00 d0 aa 91 00  B.B.`;..........
0012f5bc  ea 0c 00 00 f8 38 8a 00 - 68 5c 96 00 a0 a7 95 00  .....8..h\......
0012f5cc  60 08 96 00 b0 3b 92 00 - 36 eb 0e 05 36 eb 0e 05  `....;..6...6...
0012f5dc  00 00 00 00 08 f6 12 00 - b3 aa d2 39 00 00 00 00  ...........9....
0012f5ec  b8 0b 00 00 a0 aa d2 39 - b8 0b 00 00 2c 5f 42 00  .......9....,_B.
0012f5fc  a0 5b 8f 00 e0 db 97 00 - 88 87 8a 00 e0 db 97 00  .[..............
0012f60c  34 f6 12 00 a3 07 45 00 - 3c f6 12 00 a0 40 92 00  4.....E.<....@..
0012f61c  98 3d 90 00 e0 db 97 00 - 00 00 00 00 50 38 96 00  .=..........P8..
0012f62c  38 f6 12 00 00 0d 42 00 - 44 f6 12 00 57 07 45 00  8.....B.D...W.E.

State Dump for Thread Id 0x37c

eax=77562bda ebx=00000002 ecx=0000001c edx=00000000 esi=77f93233 edi=00000002
eip=77f9323e esp=00f2ff24 ebp=00f2ff70 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246

function: NtWaitForMultipleObjects
        77f93233 b8e9000000       mov     eax,0xe9
        77f93238 8d542404         lea     edx,[esp+0x4]          ss:01ab9e0b=????????
        77f9323c cd2e             int     2e
        77f9323e c21400           ret     0x14

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00F2FF70 7C599F6C 00F2FF48 00000001 00000000 00000000 ntdll!NtWaitForMultipleObjects 
00F2FFB4 7C57B382 00000000 001329F0 7FFDEBF8 00000000 kernel32!WaitForMultipleObjects 
00F2FFEC 00000000 00000000 00000000 00000000 00000000 kernel32!lstrcmpiW 

State Dump for Thread Id 0x600

eax=00000001 ebx=0000012c ecx=00001000 edx=00000000 esi=0102ff98 edi=77e168f1
eip=77e580ff esp=0102ff58 ebp=0102ff78 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246

function: GetMenuItemRect
        77e580e6 b899110000       mov     eax,0x1199
        77e580eb 8d542404         lea     edx,[esp+0x4]          ss:01bb9e3f=????????
        77e580ef cd2e             int     2e
        77e580f1 c21000           ret     0x10
        77e580f4 b89a110000       mov     eax,0x119a
        77e580f9 8d542404         lea     edx,[esp+0x4]          ss:01bb9e3f=????????
        77e580fd cd2e             int     2e
        77e580ff c21000           ret     0x10

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0102FF78 77575C36 0102FF98 00000000 00000000 00000000 user32!GetMenuItemRect 
0102FFB4 7C57B382 0000012C 77595428 0012EEE4 0000012C winmm!midiOutGetNumDevs 
0102FFEC 00000000 00000000 00000000 00000000 00000000 kernel32!lstrcmpiW 

State Dump for Thread Id 0x53c

eax=0000013c ebx=0014cc50 ecx=00164ee8 edx=00000000 esi=00164ee8 edi=00000100
eip=77f839c7 esp=0112fe28 ebp=0112ff74 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202

function: NtReplyWaitReceivePortEx
        77f839bc b8ac000000       mov     eax,0xac
        77f839c1 8d542404         lea     edx,[esp+0x4]          ss:01cb9d0f=????????
        77f839c5 cd2e             int     2e
        77f839c7 c21400           ret     0x14
        77f839ca 8b4710           mov     eax,[edi+0x10]         ds:00b89fe6=????????
        77f839cd 8b483c           mov     ecx,[eax+0x3c]         ds:00b8a022=????????
        77f839d0 f6400801         test    byte ptr [eax+0x8],0x1       ds:00b8a022=??
        77f839d4 7502             jnz     RtlCreateProcessParameters+0xd (77f83cd8)
        77f839d6 03c8             add     ecx,eax
        77f839d8 894de4           mov     [ebp+0xe4],ecx         ss:01cb9e5a=????????
        77f839db 8b4710           mov     eax,[edi+0x10]         ds:00b89fe6=????????
        77f839de 668b4038         mov     ax,[eax+0x38]              ds:00b8a023=????
        77f839e2 668945e0         mov     [ebp+0xe0],ax              ss:01cb9e5b=????
        77f839e6 668945e2         mov     [ebp+0xe2],ax              ss:01cb9e5b=????
        77f839ea 53               push    ebx

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0112FF74 77D56D9E 77D39A00 00164EE8 4014A318 00000070 ntdll!NtReplyWaitReceivePortEx 
0112FFA8 77D41C6C 0014C000 0112FFEC 7C57B382 0014CC50 rpcrt4!TowerConstruct 
0112FFB4 7C57B382 0014CC50 4014A318 00000070 0014CC50 rpcrt4!I_RpcServerInqTransportType 
0112FFEC 00000000 00000000 00000000 00000000 00000000 kernel32!lstrcmpiW 

State Dump for Thread Id 0x604

eax=00135250 ebx=00000004 ecx=00000000 edx=00000000 esi=77f93233 edi=00000004
eip=77f9323e esp=0196fd24 ebp=0196fd70 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246

function: NtWaitForMultipleObjects
        77f93233 b8e9000000       mov     eax,0xe9
        77f93238 8d542404         lea     edx,[esp+0x4]          ss:024f9c0b=????????
        77f9323c cd2e             int     2e
        77f9323e c21400           ret     0x14

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0196FD70 7C599F6C 0196FD48 00000001 00000000 00000000 ntdll!NtWaitForMultipleObjects 
0196FFB4 7C57B382 00000005 000B000A 7C2D02A7 00146900 kernel32!WaitForMultipleObjects 
0196FFEC 00000000 778321FE 00146900 00000000 000000C8 kernel32!lstrcmpiW 

*----> Raw Stack Dump <----*
0196fd24  59 a0 59 7c 04 00 00 00 - 48 fd 96 01 01 00 00 00  Y.Y|....H.......
0196fd34  00 00 00 00 00 00 00 00 - 01 00 00 00 00 69 14 00  .............i..
0196fd44  01 00 00 00 74 01 00 00 - 78 01 00 00 88 01 00 00  ....t...x.......
0196fd54  dc 01 00 00 08 c5 9a ff - 0c c5 9a ff 40 80 8a 81  ............@...
0196fd64  40 80 8a 81 20 1b 5c b9 - 48 5b 4a 80 b4 ff 96 01  @... .\.H[J.....
0196fd74  6c 9f 59 7c 48 fd 96 01 - 01 00 00 00 00 00 00 00  l.Y|H...........
0196fd84  00 00 00 00 00 00 00 00 - b2 22 83 77 04 00 00 00  .........".w....
0196fd94  b0 fe 96 01 00 00 00 00 - ff ff ff ff 00 69 14 00  .............i..
0196fda4  a7 02 2d 7c 0a 00 0b 00 - 00 00 00 00 38 00 00 00  ..-|........8...
0196fdb4  00 00 00 00 00 00 00 00 - 01 00 00 00 38 00 00 00  ............8...
0196fdc4  23 00 00 00 23 00 00 00 - 0a 00 0b 00 a7 02 2d 7c  #...#.........-|
0196fdd4  00 69 14 00 68 02 2d 7c - 4c 00 00 00 fe 21 83 77  .i..h.-|L....!.w
0196fde4  f8 eb fd 7f 00 b7 57 7c - 1b 00 00 00 00 02 00 00  ......W|........
0196fdf4  fc ff 96 01 23 00 00 00 - f3 55 45 80 80 1b 5c b9  ....#....UE...\.
0196fe04  88 ae 98 ff 88 ae 98 ff - 40 00 00 00 24 1b 5c b9  ........@...$.\.
0196fe14  80 fd 44 80 00 48 1c 81 - 00 00 00 00 00 00 00 00  ..D..H..........
0196fe24  c8 52 1c 81 b2 34 49 80 - 43 8e 00 00 48 86 9a 81  .R...4I.C...H...
0196fe34  00 07 00 00 4c d1 44 80 - 43 8e 00 00 48 86 9a 81  ....L.D.C...H...
0196fe44  43 8e 00 00 48 86 9a 81 - 01 52 fd 7f 74 01 00 00  C...H....R..t...
0196fe54  f1 da 44 80 74 01 00 00 - 70 49 1c 81 00 50 fd 7f  ..D.t...pI...P..

How to repeat:
enter server information
press test button

or . . . 

add server
double click on it

Suggested fix:
please advise
[3 Nov 2003 11:56] Ross Carver
This bug happens in the linux version of mysqlcc. It segfaults whenever the information for adding a database connection is not correct.  For example - a host dependent user is added to the dbase and then mysqlcc is run from a non-authorized user:host combination.

Looks like a missed test case for either authentication or handling mysql's error on failed authentication, no biggie :)  Keep up the good work all!
[21 Nov 2003 5:39] MySQL Verification Team
Please verifiy if the crash happens due to wrong username/password or
the server is down. This bug was already reported several times.
[14 Feb 2005 22:54] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".