[Bug 506327] New: Anjuta in GNOME: Restore space with the order 'free()' fails in Anjuta
http://bugzilla.novell.com/show_bug.cgi?id=506327 Summary: Anjuta in GNOME: Restore space with the order 'free()' fails in Anjuta Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: esddss@freenet.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.4) Gecko/2008103100 SUSE/3.0.4-4.7 Firefox/3.0.4 After using the order 'malloc()' with some operations the 'free'-order fails; that means, that programm which uses 'free()' freezes and must be killed for ending this program. Here a skeleton of the orders: #define MAXI 50 struct daten { gchar D_FELD1[52]; // alternative: char D_FELD1[52]; gchar D_FELD2[52]; gchar D_FELD3[52]; }tabelle[MAXI]; ..... if((struct daten *)malloc(sizeof(struct daten))) { // some operations } ..... /* This orders will be accept by Anjuta-compiler but all fails, the program freezes: */ free(tabelle); free((gchar *)tabelle); // alternative: (char *) g_free(tabelle); g_free((struct daten *)tabelle); Reproducible: Always Steps to Reproduce: 1.After using the order 'malloc()' with some operations the 'free'-order fails. 2.That means, that programm which uses 'free()' freezes and must be killed for ending this program. 3. Actual Results: The programm which uses 'free()' freezes. Expected Results: The order 'free()' must restore space without problems. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=506327 User meissner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=506327#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |meissner@novell.com Resolution| |UPSTREAM --- Comment #1 from Marcus Meissner <meissner@novell.com> 2009-07-01 02:22:21 MDT --- an you report this upstream please? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com