Using mysqlclient library -- odd crash
From: ZER0K3WL (slcjoey_at_hotmail.com)
Date: 09/30/04
- Next message: Jonathan Adams: "Re: Unis signal handling in parent child scenario."
- Previous message: Dag Viken: "Re: Compound statements in expressions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Sep 2004 23:45:46 -0700
The code is pasted to the following site:
http://www.rafb.net/paste/results/4Po5gU24.html
Basically, i just wrote wrappers to some mysqclient calls, they all work fine
except when im about to return from main, my stack seems messed up and main
tries to return to 0x00000 and i get a segfault.
I'm compiling with
gcc data.c -c
gcc test.c data.o -lmysqlclient -lz -o t
slcjoey@hotmail.com
thanks
- Next message: Jonathan Adams: "Re: Unis signal handling in parent child scenario."
- Previous message: Dag Viken: "Re: Compound statements in expressions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|