Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173259

Summary: dev-db/mysql: Save object symbols for unmangling mysqld backtraces
Product: Gentoo Linux Reporter: Christopher G. Stach II <cgs>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher G. Stach II 2007-04-03 16:48:04 UTC
Binary distros often contain the symbols in a file, making crashes debuggable at least a little bit.  Right now, unless you build mysql with debugging and no stripping, this is impossible.  See:

http://dev.mysql.com/doc/internals/en/using-stack-trace.html

Reproducible: Always
Comment 1 Christopher G. Stach II 2007-04-03 20:36:10 UTC
BTW, I understand that one can enable saving of debug information, but that doesn't really do much good if you run into a bug after you built the app.  Then you have to rebuild and schizophrenically hope to hit it again.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 08:05:17 UTC
You probably want FEATURES="splitdebug"