]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/recentchangesdiff_crashes_on_commits_which_remove_a_lot_of_files.mdwn
response
[ikiwiki.git] / doc / bugs / recentchangesdiff_crashes_on_commits_which_remove_a_lot_of_files.mdwn
index 663e7d4fed0ff7529482e56734b7fd23ec4a49b3..5872275b5c40b3de73546ba4215c4f99b5a183f7 100644 (file)
@@ -4,6 +4,22 @@
     rendering recentchanges.mdwn
     [1]    5541 segmentation fault  ikiwiki --verbose --setup ikiwiki.setup --refresh
 
+If I disable the plugin, the segfault does not happen, but I have to remove `wc/recentchanges/*` or else it will crash just as well.
+
 This is reproducible, but I cannot provide the source code.
 
-If I disable the plugin, the segfault does not happen.
+> Can you provide a sanitised version of the source code? I've tried
+> ikiwiki on some files that are just large, and cannot reproduce any
+> problems, so it must be something in the specific file. (A perl bug is
+> also clearly involved here.) --[[Joey]]
+
+The tarball is at http://scratch.madduck.net/__tmp__recentchanges-segfault.tgz - unpack it in `/tmp` and `chdir()` to /tmp/cdt.taF18912, then run
+
+    ikiwiki --setup ikiwiki.setup
+    # segfaults
+    git checkout HEAD^
+    ikiwiki --setup ikiwiki.setup
+    # segfaults
+    rm -rf wc/recentchanges
+    ikiwiki --setup ikiwiki.setup
+    # works