| 1 | So, you get '''Segmentatiоn fault''' message, what should you do with this? |
| 2 | |
| 3 | You should report about crash to developers. Please provide detailed description. |
| 4 | |
| 5 | == How to == |
| 6 | 1. 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 | |
| 14 | 2. 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 | |
| 20 | 3. 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 | }}} |
| 29 | 4. 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) |