https://wiki.crosswire.org/index.php?title=DevTools:Program_Crash&feed=atom&action=historyDevTools:Program Crash - Revision history2024-03-29T07:28:22ZRevision history for this page on the wikiMediaWiki 1.27.7https://wiki.crosswire.org/index.php?title=DevTools:Program_Crash&diff=16212&oldid=prevRefdoc: Refdoc moved page DevTools:Program crash to DevTools:Program Crash2018-01-08T21:57:55Z<p>Refdoc moved page <a href="/index.php?title=DevTools:Program_crash&action=edit&redlink=1" class="new" title="DevTools:Program crash (page does not exist)">DevTools:Program crash</a> to <a href="/DevTools:Program_Crash" title="DevTools:Program Crash">DevTools:Program Crash</a></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr style='vertical-align: top;' lang='en'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 21:57, 8 January 2018</td>
</tr><tr><td colspan='2' style='text-align: center;' lang='en'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Refdochttps://wiki.crosswire.org/index.php?title=DevTools:Program_Crash&diff=16209&oldid=prevRefdoc: Refdoc moved page Program crashing to DevTools:Program crash2018-01-08T21:55:13Z<p>Refdoc moved page <a href="/index.php?title=Program_crashing&action=edit&redlink=1" class="new" title="Program crashing (page does not exist)">Program crashing</a> to <a href="/index.php?title=DevTools:Program_crash&action=edit&redlink=1" class="new" title="DevTools:Program crash (page does not exist)">DevTools:Program crash</a></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr style='vertical-align: top;' lang='en'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 21:55, 8 January 2018</td>
</tr><tr><td colspan='2' style='text-align: center;' lang='en'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Refdochttps://wiki.crosswire.org/index.php?title=DevTools:Program_Crash&diff=7367&oldid=prevDavid Haslam: Category:Support2009-12-04T14:54:39Z<p><a href="/Category:Support" title="Category:Support">Category:Support</a></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 14:54, 4 December 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l14" >Line 14:</td>
<td colspan="2" class="diff-lineno">Line 14:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>If your program is never ending and an output file does not grow (you suspect an endless loop), do the same, but in strace and gdb, hit Ctrl-C to stop it after a few seconds.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>If your program is never ending and an output file does not grow (you suspect an endless loop), do the same, but in strace and gdb, hit Ctrl-C to stop it after a few seconds.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Support]]</ins></div></td></tr>
</table>David Haslamhttps://wiki.crosswire.org/index.php?title=DevTools:Program_Crash&diff=4001&oldid=prevDmsmith: linked to osis2mod page2008-09-09T20:13:53Z<p>linked to osis2mod page</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:13, 9 September 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>If, while using a tool from SWORD to work on a module like <code>osis2mod</code>, it crashs, displaying '<code>Segmentation fault (core dumped)</code>',  </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>If, while using a tool from SWORD to work on a module like <code><ins class="diffchange diffchange-inline">[[</ins>osis2mod<ins class="diffchange diffchange-inline">]]</ins></code>, it crashs, displaying '<code>Segmentation fault (core dumped)</code>',  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Run <code>ldd</code> on your binary (<code>ldd /usr/bin/osis2mod</code>) and post the output. Use '<code>type osis2mod</code>' if you don't know where <code>osis2mod</code> is installed.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Run <code>ldd</code> on your binary (<code>ldd /usr/bin/osis2mod</code>) and post the output. Use '<code>type osis2mod</code>' if you don't know where <code>osis2mod</code> is installed.</div></td></tr>
</table>Dmsmithhttps://wiki.crosswire.org/index.php?title=DevTools:Program_Crash&diff=3955&oldid=prevDmsmith: Sword -> SWORD2008-09-02T16:48:12Z<p>Sword -> SWORD</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 16:48, 2 September 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>If, while using a tool from <del class="diffchange diffchange-inline">Sword </del>to work on a module like <code>osis2mod</code>, it crashs, displaying '<code>Segmentation fault (core dumped)</code>',  </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>If, while using a tool from <ins class="diffchange diffchange-inline">SWORD </ins>to work on a module like <code>osis2mod</code>, it crashs, displaying '<code>Segmentation fault (core dumped)</code>',  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Run <code>ldd</code> on your binary (<code>ldd /usr/bin/osis2mod</code>) and post the output. Use '<code>type osis2mod</code>' if you don't know where <code>osis2mod</code> is installed.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Run <code>ldd</code> on your binary (<code>ldd /usr/bin/osis2mod</code>) and post the output. Use '<code>type osis2mod</code>' if you don't know where <code>osis2mod</code> is installed.</div></td></tr>
</table>Dmsmithhttps://wiki.crosswire.org/index.php?title=DevTools:Program_Crash&diff=2832&oldid=prevOsk: grammar/capitalization2008-01-30T09:24:19Z<p>grammar/capitalization</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 09:24, 30 January 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">You're </del>using a tool from <del class="diffchange diffchange-inline">sword </del>to work on a module like <code>osis2mod</code> <del class="diffchange diffchange-inline">and </del>it <del class="diffchange diffchange-inline">crash</del>, displaying '<code>Segmentation fault (core dumped)</code>',  </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">If, while </ins>using a tool from <ins class="diffchange diffchange-inline">Sword </ins>to work on a module like <code>osis2mod</code><ins class="diffchange diffchange-inline">, </ins>it <ins class="diffchange diffchange-inline">crashs</ins>, displaying '<code>Segmentation fault (core dumped)</code>',  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># <del class="diffchange diffchange-inline">run </del><code>ldd</code> on your binary (<code>ldd /usr/bin/osis2mod</code>) and post the output. Use '<code>type osis2mod</code>' if you don't know where <code>osis2mod</code> is installed.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># <ins class="diffchange diffchange-inline">Run </ins><code>ldd</code> on your binary (<code>ldd /usr/bin/osis2mod</code>) and post the output. Use '<code>type osis2mod</code>' if you don't know where <code>osis2mod</code> is installed.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># <del class="diffchange diffchange-inline">run </del>the program with <code>strace</code> to reproduce the problem (<<del class="diffchange diffchange-inline">CODE</del>>strace -o /tmp/osis2mod.strace osis2mod [arg1] [...]</code>).  Don't post the output file (<code>/tmp/osis2mod.strace</code>) in the list as it will probably huge, but use <del class="diffchange diffchange-inline">an </del>free online service (like http://pastebin.com/ or if you can read french http://dl.free.fr/.  This file will display any system call and answer, allowing us to see I/O errors and things like that.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># <ins class="diffchange diffchange-inline">Run </ins>the program with <code>strace</code> to reproduce the problem (<<ins class="diffchange diffchange-inline">code</ins>>strace -o /tmp/osis2mod.strace osis2mod [arg1] [...]</code>).  Don't post the output file (<code>/tmp/osis2mod.strace</code>) in the list as it will probably <ins class="diffchange diffchange-inline">be </ins>huge, but use <ins class="diffchange diffchange-inline">a </ins>free online service (like http://pastebin.com/ or if you can read french http://dl.free.fr/<ins class="diffchange diffchange-inline">)</ins>.  This file will display any system call and answer, allowing us to see I/O errors and things like that.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># <del class="diffchange diffchange-inline">run </del>the program with <code>gdb</code>:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># <ins class="diffchange diffchange-inline">Run </ins>the program with <code>gdb</code>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><blockquote><blockquote></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><blockquote><blockquote></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>         <code>gdb osis2mod</code><br/></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>         <code>gdb osis2mod</code><br/></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11" >Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>         <code>bt</code></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>         <code>bt</code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></blockquote></blockquote></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></blockquote></blockquote></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">it </del>will produce a backtrace of the stack, allowing us to see where it <del class="diffchange diffchange-inline">crash</del>. Just post the backtrace (bt output) on the list.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">It </ins>will produce a backtrace of the stack, allowing us to see where it <ins class="diffchange diffchange-inline">crashed</ins>. Just post the backtrace (bt output) on the list.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>If your program is never ending and output file does not grow (you suspect an endless loop), do the same, but in strace and gdb, hit Ctrl-C to stop it after a few seconds.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>If your program is never ending and <ins class="diffchange diffchange-inline">an </ins>output file does not grow (you suspect an endless loop), do the same, but in strace and gdb, hit Ctrl-C to stop it after a few seconds.</div></td></tr>
</table>Oskhttps://wiki.crosswire.org/index.php?title=DevTools:Program_Crash&diff=2831&oldid=prevSkc: How to produce usefull informations about the crash2008-01-30T09:05:12Z<p>How to produce usefull informations about the crash</p>
<p><b>New page</b></p><div>You're using a tool from sword to work on a module like <code>osis2mod</code> and it crash, displaying '<code>Segmentation fault (core dumped)</code>', <br />
<br />
# run <code>ldd</code> on your binary (<code>ldd /usr/bin/osis2mod</code>) and post the output. Use '<code>type osis2mod</code>' if you don't know where <code>osis2mod</code> is installed.<br />
# run the program with <code>strace</code> to reproduce the problem (<CODE>strace -o /tmp/osis2mod.strace osis2mod [arg1] [...]</code>). Don't post the output file (<code>/tmp/osis2mod.strace</code>) in the list as it will probably huge, but use an free online service (like http://pastebin.com/ or if you can read french http://dl.free.fr/. This file will display any system call and answer, allowing us to see I/O errors and things like that.<br />
# run the program with <code>gdb</code>:<br />
<blockquote><blockquote><br />
<code>gdb osis2mod</code><br/><br />
(gdb is starting)<br/><br />
<code>run [arg1] [....]</code><br/><br />
(wait until it crash)<br/><br />
<code>bt</code><br />
</blockquote></blockquote><br />
it will produce a backtrace of the stack, allowing us to see where it crash. Just post the backtrace (bt output) on the list.<br />
<br />
If your program is never ending and output file does not grow (you suspect an endless loop), do the same, but in strace and gdb, hit Ctrl-C to stop it after a few seconds.</div>Skc