GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Aug 29, 2016 12:55 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 

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:
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):
loadable_icon_key helper functions:

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!

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: Google [Bot], Google Adsense [Bot], Yahoo [Bot] and 3 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