Results 1 to 10 of 35

Thread: Unidentified Server's Crash (Shutdown)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Quote Originally Posted by Whiskas View Post

    Does Core store only new dump?
    By default the name is always "core" I think, hence overwriting old core dumps, but you can change the name pattern and add the PID for example: https://sigquit.wordpress.com/2009/0...-core-pattern/

    Kinda filthy to debug a C API crash, to be able to analyze those crashes in my MySQL part I added debug statements in every C glue function, like:

    https://github.com/kungfooman/libcod...mysql.cpp#L483
    Code:
    	#if DEBUG_MYSQL
    	printf("gsc_mysql_num_fields(result=%d)\n", result);
    	#endif
    If I would want to tackle the problem, I would first give every function a debug printf, starting with the functions which call mysql_options(), since that was mentioned in the gdb backtrace.
    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    Whiskas (18th March 2016)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •