gimp crashed to gtkfilechooser code (name_sort_func)

Bug #73069 reported by joshuah
118
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTK+
Expired
Critical
gtk+2.0 (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

To be honest, i dont know what happened, but it was reproducible. I am working with gimp and took a snapshot from another tool. After i finished with the picture and saved it to an .eps and .png I switched screens to import the stuff into my latex document. A few seconds later I got a message that gimp had crashed. This happened twice in a row. That is why I am posting this message.

Attached to this bug report you will find the file created by the bug report tool of ubuntu/gnome.

I called it "unexpected" because it didn't occur during interaction with gimp itself.

cheers, josh

joshuah (mr-joshuah)
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: gimp crashed to gtkfilechooser code

Thank you for your bug. I've forwarded it upstream: http://bugzilla.gnome.org/show_bug.cgi?id=378764

Changed in gimp:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in gtk:
status: Unknown → Unconfirmed
Changed in gtk:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try on hardy and intrepid?

Changed in gtk+2.0:
status: Confirmed → Triaged
Revision history for this message
Robert Ancell (robert-ancell) wrote :

I am unable to reproduce this on Jaunty (Gimp 2.6.6)

Revision history for this message
Sebastien Bacher (seb128) wrote :

is anybody still getting that issue on karmic or lucid? there seems to be no recent comment or duplicate there

Changed in gtk+2.0 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

let's close the bug it can be reopen if somebody still get the issue

Changed in gtk+2.0 (Ubuntu):
status: Incomplete → Fix Released
Changed in gtk:
importance: Unknown → Critical
Revision history for this message
Aneesh V (av78us) wrote :

I can reproduce this problem almost 100% while using the geany editor:

Steps to reproduce:
1. Create a simple c file(I use the main.c given below)
2. Open main.c in geany text editor
3. compile the file repeatedly using the geany-crash script given below
4. While this is going on open the file browser in geany by going to File->Open
5. Select a large number of files to open(around 10) by clicking on one file and doing Shift+click on another file
6. geany crashes at this moment.

Please do not think that this is happens only in this corner case. My geany crashes more often than not while a compilation is going on the set of files opened. Makes it nearly impossible to work with geany forcing me to switch to other editors.

System information:
- Ubuntu 10.04 LTS
- libgtk2.0-0 : 2.20.1-0ubuntu2
- geany 0.18
- gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

main.c:
^^^^^^^^
#include <malloc.h>
#include <string.h>
#include <stdio.h>

int main(void)
{
 void *ptr1;
 void *ptr2;
 unsigned long count = 0;

 ptr1 = malloc(10*1024*1024);
 ptr2 = malloc(10*1024*1024);
 while(1){
  //printf("Iteration %ld\n", count++);
  memcpy(ptr1, ptr2, 10*1024*1024);
  memcpy(ptr2, ptr1, 10*1024*1024);
 }

 return 0;
}

geany-crash:
^^^^^^^^^^^^^^
#!/bin/bash
for i in {1..1000}
do
 echo "building $i ..."
 gcc main.c
done

Revision history for this message
Aneesh V (av78us) wrote :

Some more info. Looks like I am getting the following error on the standard error when geany crashes:

Gtk:ERROR:/build/buildd/gtk+2.0-2.20.1/gtk/gtkfilesystemmodel.c:746:gtk_file_system_model_sort: assertion failed: (r == n_visible_rows)

Changed in gtk:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.