Changes between Initial Version and Version 1 of doc/tracingCrash


Ignore:
Timestamp:
08/27/09 12:03:06 (15 years ago)
Author:
iNode
Comment:

initial commit

Legend:

Unmodified
Added
Removed
Modified
  • doc/tracingCrash

    v1 v1  
     1So, you get '''Segmentatiоn fault''' message, what should you do with this? 
     2 
     3You should report about crash to developers. Please provide detailed description. 
     4 
     5== How to == 
     61. You should build '''mc''' with maximum debug info enabled. 
     7 
     8{{{ 
     9$ ./configure <common-options> 
     10$ make CFLAGS=-ggdb3 # here it is! 
     11$ make install 
     12}}} 
     13 
     142. Allow to create core dumps (you should run '''mc''' in the same session where you do it) 
     15{{{ 
     16$ ulimit -c unlimited 
     17$ mc 
     18}}} 
     19 
     203. So, crash it! And get a maximum info from '''core''' file of '''mc''' (in directory where '''mc''' crash): 
     21{{{ 
     22$ gdb --quiet /usr/bin/mc core 
     23... 
     24(gdb) bt 
     25<usefull-output-1> 
     26(gdb) bt full 
     27<usefull-output-2> 
     28}}} 
     294. Copy '''usefull-output-1''' and '''usefull-output-2''' and send report to [wiki:defectReports tracker] (or in mc-devel at gnome.org mail-list or in developers jabber conference: mc-dev@conference.jabber.org). Please don't forget also describe your build ('''./configure''') options and how to reproduce crash. 
     30 
     31[http://www.midnight-commander.org/browser/doc/FAQ] <- FAQ 10.3 (the similar article in FAQ)