MySQL Forums
Forum List  »  Connector/C++

getting segmentation fault in the program
Posted by: arun d
Date: March 02, 2013 06:24PM

I am getting a segmentation fault sometimes in my application(It comes very rarerly, like once in 300 runs of program. Since it doesnt come always so I cant gdb it).

*** Aborted at 1362124211 (unix time) try "date -d @1362124211" if you are using GNU date ***
PC: @ 0x8ae07b my_stat
*** SIGSEGV (@0x0) received by PID 7495 (TID 0x7f0bbfafe700) from PID 0; stack trace: ***
@ 0x7f0bc28edeaf (unknown)
@ 0x8ae07b my_stat
@ 0x8ac4f1 my_read_charset_file
@ 0x8acf08 init_available_charsets
@ 0x7f0bc1dcb952 __pthread_once_internal
@ 0x8ad28c get_charset_by_csname
@ 0x8b990d mysql_init_character_set
@ 0x8ba9fb mysql_real_connect

I am not sure why I am getting this. Any ideas what it means or if I can use this information to reproduce this.

Options: ReplyQuote

Written By
getting segmentation fault in the program
March 02, 2013 06:24PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.