Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 739

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 739
Developer Infos - Netatalk Wiki

Developer Infos


Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/project-web/netatalk/htdocs/wiki/includes/MagicWord.php on line 739
From Netatalk Wiki
Jump to: navigation, search
Line 115: Line 115:
  
 
   $ git format-patch --stdout origin/develop > develop-featureX-01.patches.txt
 
   $ git format-patch --stdout origin/develop > develop-featureX-01.patches.txt
 +
 +
== Debugging process crashes ==
 +
 +
We need a stack-backtrace (SBT) from a corefile with debugging symbols.
 +
 +
* Compile Netatalk with debugging symbols and without optimizations, eg for gcc
 +
  CFLAGS="-g -O0" ./configure ... && make && make install
 +
 +
* Enable global corefile generation ([http://www.google.com/search?q=linux+enable+core+dump Linux] [http://www.google.com/search?q=man+coreadm Solaris])
 +
* Enable corefile generation for Netatalk by adding
 +
  ulimit -c unlimited
 +
at the beginning of the Netatalk start script and restart Netatalk.
 +
* Reproduce issue
 +
* Get SBT (example for a crash of afpd):
 +
  $ gdb path/to/afpd path/to/corefile
 +
  (gdb) bt full
 +
  ...
 +
  (gdb) exit
  
 
== ABI checking ==
 
== ABI checking ==

Revision as of 09:19, 20 June 2012

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox