Access Violation in LIBMYSQLD.DLL from mysql version 4.0.15 when calling mysql_server_init on win20

Access Violation in LIBMYSQLD.DLL from mysql version 4.0.15 when calling mysql_server_init on win20

am 23.09.2003 16:55:38 von Judd Pearson

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 ?

Judd Pearson
Software Engineer
HyperFeed Technologies, Inc.

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

THIS E-MAIL MAY CONTAIN PRIVILEGED, CONFIDENTIAL OR PROPRIETARY MATERIAL FOR
THE SOLE USE OF THE INTENDED RECIPIENT. ANY REVIEW, USE, DISTRIBUTION OR
DISCLOSURE BY OTHERS IS STRICTLY PROHIBITED. IF YOU ARE NOT THE INTENDED
RECIPIENT, OR AUTHORIZED TO RECEIVE THE INFORMATION FROM THE RECIPIENT,
PLEASE CONTACT THE SENDER BY REPLY EMAIL AND DELETE ALL COPIES OF THIS
MESSAGE.


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org