abrt 1.0.3 detected a crash. How to reproduce ----- 1. add a few files to the data dvd 2. 3. Attached file: backtrace cmdline: gnomebaker component: gnomebaker executable: /usr/bin/gnomebaker kernel: 2.6.31.9-174.fc12.i686 package: gnomebaker-0.6.4-6.fc12 rating: 4 reason: Process was terminated by signal 6 (Aborted)
Created attachment 383094 [details] File: backtrace
Hello, there seems to be an invalid free() in one of the GTK callbacks. I got more similar tracebacks but this one might even be useful. There is also a bug #554514 with very similar reproducer. I will try to reproduce the error and hopefully find the cause. It might be that something has changed in the GTk or glib and gnomebaker just needs to be recompiled with the new libraries.
Hello, I think I have a cause: gnomebaker allocates its own GtkSelectionData structures using g_new0() but then uses the stock gtk_data_selection_free() to release memory. The GTK function however assumes the memory has been allocated as a GLib memory slice. This appears in several places in the code and seems to lead to the crashes as the one you observed. If I'm right then this shouldn't be difficult to patch (change g_new0 to g_slice_new0).
Hi, thank you! When is the patch ready? Can i download from repo as package update?
gnomebaker-0.6.4-7.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/gnomebaker-0.6.4-7.fc12
This is a good patch, no crash.
gnomebaker-0.6.4-7.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.