1 message in com.mysql.lists.bugsAccess Violation in LIBMYSQLD.DLL fro...
FromSent OnAttachments
Judd Pearson23 Sep 2003 07:55 
Subject:Access Violation in LIBMYSQLD.DLL from mysql version 4.0.15 when calling mysql_server_init on win2000
From:Judd Pearson (jpea@hyperfeed.com)
Date:09/23/2003 07:55:16 AM
List:com.mysql.lists.bugs

Could this be a bug or is it just that I am missing some defines for win2000 ? This seems to obvious to be a bug, I am assume that I must not have something configured properly.

I am running mysql server 4.0.15 on a 1gig Pentium III running Windows 2000 Professional. I am using the C api's with the embedded server dll. I am loading the dll dynamically using Load Library. I call mysql_server_init( sizeof(server_args) / sizeof(char*) , server_args , server_groups ) from my own dll

heres the stack trace ....

my_thread_init() line 155 + 12 bytes my_thread_global_init() line 83 my_init() line 90 mysql_server_init(int 5, char * * 0x003b516c char * * HfSqlImpl::server_args, char * * 0x003b5180 char * * HfSqlImpl::server_groups) line 355

it blows up in my_thread_init() in mysys\my_thr_init.c on line 155.

/* Skip initialization if the thread specific variable is already initialized */ Blows Up Here ==> if (THR_KEY_mysys.id) goto end; tmp= &THR_KEY_mysys;

Any ideas ?

HyperFeed. It's All About the Data. NASDAQ: HYPR http://www.hyperfeed.com