GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Nov 26, 2014 3:07 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Segfault when inserting in a hash table
PostPosted: Wed Feb 20, 2013 9:07 pm 
Offline

Joined: Wed Feb 20, 2013 8:18 pm
Posts: 1
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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group