Bug 115643

Summary: gcdmaster : invalid pointer
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ladislav Michnovic <lmichnovic>
Component: GNOMEAssignee: Petr Mladek <pmladek>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: gnome-bugs, nadvornik
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: rsa1 strace
dsa strace output
This patch fixes the problem.

Description Ladislav Michnovic 2005-09-07 16:46:31 UTC
I choosed Create a image from audio CD, then in Record section Directory ->
Browse. I choosed /tmp, clicking OK program stops respondig and error message
appears in xterm: *** glibc detected *** free(): Invalid pointer: 0x40a4a490 ***.
Comment 1 Ladislav Michnovic 2005-09-07 16:47:20 UTC
The same bug is in SL 10 beta 4 plus.
Comment 2 JP Rosevear 2005-09-07 17:24:01 UTC
What application are talking about here?  gcdmaster is not an executable.
Comment 3 Ladislav Michnovic 2005-09-07 17:40:14 UTC
This apllication:
ls -l /opt/gnome/bin/gcdmaster
-rwxr-xr-x  1 root root 1448916 2005-08-30 06:44 /opt/gnome/bin/gcdmaster
Comment 4 JP Rosevear 2005-09-07 18:10:29 UTC
Its not in the default install then, rpm -qf the file please.
Comment 5 Mark Gordon 2005-09-07 18:39:56 UTC
There's a gcdmaster package that provides this file.
Comment 6 Ladislav Michnovic 2005-09-08 07:30:58 UTC
Executable files, the names of package and program are usually the same.
The package and program has the same name.
Why you didn't first try in YAST Software Manager search gcdmaster?
Or even simplier: yast -i gcdmaster.
More quickly then waiting at needinfo reply. 
If the package had had another name, I would obviosly wrote the name. 
Comment 7 Stanislav Brabec 2005-09-08 08:49:25 UTC
gcdmaster is a cdrdao subpackage.

Please retry in RC2 or install new version of all gnomemm sub packages from
STABLE (we have updated them to GNOME 2.12 version).
Comment 8 Stanislav Brabec 2005-09-08 09:01:21 UTC
Bindings update does not help, at least on x86_64 and the same error occurs.
Comment 9 christian horny 2005-09-08 11:00:42 UTC
Created attachment 49177 [details]
rsa1 strace
Comment 10 christian horny 2005-09-08 11:01:07 UTC
Created attachment 49178 [details]
dsa strace output
Comment 11 Michael Gross 2005-09-08 11:23:40 UTC
gcdmaster is not a crucial software, so this bug should not be rated as blocker.
Lowering it to critical.
Comment 12 Petr Mladek 2005-09-08 15:14:47 UTC
The problem is in libgnomeui-2.12.0/libgnomeui/gnome-file-entry.c in the
function browse_dialog_ok. The function gtk_file_chooser_get_filename returns
pointer that must be freed with g_free(), the function
gtk_file_selection_get_filename returns  a statically allocated buffer, and
there is always used g_free.

I'll attach a patch that fixes it and submit the fixed package into Autobuild.
Comment 13 Petr Mladek 2005-09-08 15:17:53 UTC
Created attachment 49229 [details]
This patch fixes the problem.
Comment 14 Petr Mladek 2005-09-08 16:05:47 UTC
I have submitted the fixed package into autobuild. Also, I have reported the
patch upstream, http://bugzilla.gnome.org/show_bug.cgi?id=315549