https://bugzilla.novell.com/show_bug.cgi?id=721302 https://bugzilla.novell.com/show_bug.cgi?id=721302#c0 Summary: gcc: Programing join-lists with C produces data garbage Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@suse.com ReportedBy: esddss@t-online.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.22) Gecko/20110907 SUSE/3.6.22-0.2.1 Firefox/3.6.22 gcc: Programing join-lists with C produces data garbage I programed a join list (according to a C-learningbook) with C by Anjuta IDE with following structures as terminal program: struct knoten { char str[255]; struct knoten *next; struct knoten *previous; }; typedef struct knoten Knoten_t; typedef struct knoten* KnotenPtr_t; KnotenPtr_t anfang = NULL,ende = NULL; The inputs and listings of the data are successfull and works without problems. Here the correct terminal output of 'struct knoten' with forward (knoten->next) and backward output (knoten->previous): Michael // forward Anne Ina Peter Maxi Maxi // backward Peter Ina Anne Michael ! Deleted data 'Ina' and then listed with forward (knoten->next) and backward output (knoten->previous): Michael // forward Anne Peter Maxi Maxi // backward Peter ؎�� // here are data garbage Anne Michael The terminal program shows the data garbage without problems, the performing with GUI variant (Gnome) creates at this place a crash. Reproducible: Always Steps to Reproduce: 1.I programed a join list (according to a C-learningbook) with C by Anjuta IDE with following structures as terminal program. 2.The inputs and listings of the data are successfull. 3.Deleted data 'Ina' and then listed with forward (knoten->next) and backward output (knoten->previous) . Actual Results: Get data garbage after deleting data by backward listing. Expected Results: No data garbage by backward listing! Programed a join list (according to a C-learningbook) with C and gcc-compiler. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.