summaryrefslogtreecommitdiff
path: root/doc/bugs/recentchangesdiff_crashes_on_commits_which_remove_a_lot_of_files.mdwn
blob: ea473ac75af92cd3cd89aaae2493ee22fb4197bf (plain)

[[plugin/recentchangesdiff]] causes rendering to segfault if a commit removes a lot of contents. I removed close to 400 files, total size of about 950Kb in a single commit and now ikiwiki segfaults on refresh and rebuild:

[...]
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.

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]]