List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 26 1999 4:01pm
Subject:Segmentation fault when accessing mysql database
View as plain text  
>>>>> "killerhippy" == killerhippy  <Sascha> writes:

>> Description:
killerhippy>         I wanted to try out mysql for private databanking.
killerhippy>         I use SuSE 6.1 and installed the four mysqlpackages.
killerhippy>         Starting the demon with safe_mysql works fine. Even
killerhippy> mysql_install_db
killerhippy>         worked fine.
killerhippy>         But if I want to exess any mysql* order it gives a segmentation
killerhippy> fault,
killerhippy>         example:

killerhippy> sascha:~ # mysqlshow
killerhippy> Unable to handle kernel NULL pointer dereference at virtual address
killerhippy> 00000004
current-> tss.cr3 = 05946000, %cr3 = 05946000
killerhippy> *pde = 00000000
killerhippy> Oops: 0002
killerhippy> CPU:    0
killerhippy> EIP:    0010:[<c8823607>]
killerhippy> EFLAGS: 00010246
killerhippy> eax: 00000000   ebx: c5cbb940   ecx: c5cbbb64   edx: 00000000
killerhippy> esi: 00000004   edi: c5cbb940   ebp: c5cbb984   esp: c5949ee8
killerhippy> ds: 0018   es: 0018   ss: 0018
killerhippy> Process mysqlshow (pid: 593, process nr: 35, stackpage=c5949000)
killerhippy> Stack: c5cbb940 c66a1f6c 00000004 00000000 c5949f80 00000000 c5cbbb64
killerhippy> 00000001
killerhippy>        00000000 00000000 00000000 c5cbb940 c0149296 c66a1f6c c5949f80
killerhippy> 00000004
killerhippy>        00000000 c5949f48 00000004 c5949f78 00000000 00000004 c5949f48
killerhippy> c8823778
killerhippy> Call Trace: [<c0149296>] [<c8823778>] [<c014939c>]
> [<c01225a6>]
killerhippy> [<c0107a64>]
killerhippy> Code: 81 48 04 00 00 02 00 8b 43 38 e8 26 ba 8e f7 8b 83 84 02 00
killerhippy> Segmentation fault

killerhippy> ...the file sascha.err does not give any information about this problem

>> How-To-Repeat:
killerhippy>         each mysql* order which accesses the mysqldatabase

Hi!

The above is a bug in your Linux kernel.  Have you compiled an own
Linux kernel or are you using the default one from SUSE ?  In the
first case, try recompiling it with glibc 2.7.x  (nothing else is
guarantee to work).  In the other case you should mail SUSE about it!

By the way, if anyone has any comments (good or bad) about SUSE
supports for MySQL, please mail me about this!

Regards,
Monty
Thread
Segmentation fault when accessing mysql databaseSascha W├╝stemann26 Sep
  • Segmentation fault when accessing mysql databaseMichael Widenius26 Sep