Re: [crash-5.0.1] glibc detected: double free or corruption (!prev)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Dave Anderson" <anderson@xxxxxxxxxx> wrote:

> Agreed on all counts.  It's crashing now because of the gdb-7.0 integration,
> and the attached patch should fix that.

Check that -- the first patch is not enough, because it will retry
the add-symbol-file operation the "old way", which I presume will
also fail.  Try this second patch...

Thanks,
  Dave



Index: symbols.c
===================================================================
RCS file: /nfs/projects/cvs/crash/symbols.c,v
retrieving revision 1.200
diff -u -r1.200 symbols.c
--- symbols.c	5 Feb 2010 16:19:18 -0000	1.200
+++ symbols.c	23 Feb 2010 14:23:27 -0000
@@ -8320,7 +8320,7 @@
 
 	FREEBUF(req->buf);
 	sprintf(buf, "set complaints 0");
-	gdb_pass_through(buf, NULL, 0);
+	gdb_pass_through(buf, NULL, GNU_RETURN_ON_ERROR);
 
 	return(!(req->flags & GNU_COMMAND_FAILED));
 }
@@ -8547,7 +8547,7 @@
 
 	FREEBUF(req->buf);
 	sprintf(buf, "set complaints 0");
-	gdb_pass_through(buf, NULL, 0);
+	gdb_pass_through(buf, NULL, GNU_RETURN_ON_ERROR);
 
 	return(!(req->flags & GNU_COMMAND_FAILED));
 }
--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux