I am currently hacking on pantheon-files (a file manager).
Some users are having a weird bug that I cannot reproduce myself. According to the backtrace, it seems that pantheon-files segfaults (sometimes) when trying to insert a pair in a hash table and it needs resizing to accomodate the new pair.
This is the backtrace:https://launchpadlibrarian.net/125639699/Stacktrace.txt
The function that calls the insertion is #8 in the backtrace.
Something that called my attention in #3: "free(): invalid next size (fast)"
The relevant bits of code are:
marlin_icon_info_lookup (the insertion is highlighted): http://pastebin.com/z4M19XdH
loadable_icon_key helper functions: http://pastebin.com/qZchFwUs
Be aware that I didn't write any of this code myself.
Do you have any clues on what the cause of this bug could be?
Thanks in advance!