[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-developer
Subject:    Wierd core dump
From:       Michael Widenius <monty () monty ! pp ! sci ! fi>
Date:       1999-06-07 9:31:28
[Download RAW message or body]

>>>>> "Chris" == Chris Jones <chris@black-sun.co.uk> writes:

Chris> Hi
Chris> I hope this is the right place to ask this question.

Chris> I'm writing a little test client in C to get a bit of mySQL knowledge, but
Chris> I'm experiencing a wierd problem with it.

Chris> I can connect to the server fine if I put the mysql_real_connect() call in
Chris> the main() function, but if I move it out to a seperate function (in a
Chris> seperate .c file that is linked in), it seg faults as soon as the call is
Chris> made.

Chris> Any ideas?!

Chris> Thanks.

Hi!

You are probably overwriting some stack variable.  To be able to help
you we need a copy of the offending code!


You can find information how to do a correct bug report at:
http://www.tcx.se/Manual_chapter/manual_Questions.html#Asking_questions

PLEASE read the above before reposting your question, this will save us all
a lot of time!

Sorry for the short answer, but as we get a couple of hundred
mails/day we don't have time to answer questions that doesn't contain
all information needed to give a quick exact answer.

Regards,
Monty

---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail developer-thread73@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail developer-unsubscribe@lists.mysql.com instead.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic