|
From: Brian M. <bm...@ar...> - 2004-05-11 01:21:43
|
I've noticed that massif seems to have trouble with the std::nothrow version of operator new. Here is the output I get if I use nothrow new: ==22983== Massif, a space profiler for x86-linux. ==22983== Copyright (C) 2003, Nicholas Nethercote ==22983== Using valgrind-2.1.2.CVS, a program supervision framework for x86-linux. ==22983== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward. ==22983== For more details, rerun with: -v ==22983== Massif: ms_main.c:481 (get_XCon): Assertion `L > 0' failed. ==22983== at 0xB8030314: vgPlain_skin_assert_fail (vg_mylibc.c:1211) ==22983== by 0xB8030313: assert_fail (vg_mylibc.c:1207) ==22983== by 0xB803034B: vgPlain_skin_assert_fail (vg_mylibc.c:1212) ==22983== by 0xB02543BD: get_XCon (ms_main.c:549) sched status: Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==22983== at 0x8101E0DF: operator new(unsigned, std::nothrow_t const&) (vg_replace_malloc.c:114) ==22983== by 0x807D683: Baz() (Baz.cpp:47) ==22983== by 0x806FACC: Bar() (Bar.cpp:73) ==22983== by 0x80522E2: Foo() (Foo.cpp:61) Note: see also the FAQ.txt in the source distribution. It contains workarounds to several common problems. If that doesn't help, please report this bug to: valgrind.kde.org In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks. thanks, --Brian Mosher |
|
From: Brian M. <bm...@ar...> - 2004-05-11 04:53:00
Attachments:
ms_main.c.diff
|
On Mon, 10 May 2004, Brian Mosher wrote: > I've noticed that massif seems to have trouble with the std::nothrow > version of operator new. Here is the output I get if I use nothrow > new: > I've attached a patch that should address this problem. --Brian Mosher |
|
From: Nicholas N. <nj...@ca...> - 2004-05-11 09:21:29
|
On Mon, 10 May 2004, Brian Mosher wrote: > > I've noticed that massif seems to have trouble with the std::nothrow > > version of operator new. Here is the output I get if I use nothrow > > new: > > > > I've attached a patch that should address this problem. Committed, thanks. N |
|
From: Brian M. <bm...@ar...> - 2004-05-11 16:30:39
Attachments:
ms_main.c.diff
|
On Tue, 11 May 2004, Nicholas Nethercote wrote: > On Mon, 10 May 2004, Brian Mosher wrote: > > > > I've noticed that massif seems to have trouble with the std::nothrow > > > version of operator new. Here is the output I get if I use nothrow > > > new: > > > > > > > I've attached a patch that should address this problem. > > Committed, thanks. > > N > It seems that my patch was missing trailing commas. I've attached another patch which should be correct. Sorry about that. thanks, --Brian |
|
From: Nicholas N. <nj...@ca...> - 2004-05-11 16:38:04
|
On Tue, 11 May 2004, Brian Mosher wrote: > It seems that my patch was missing trailing commas. I've attached another > patch which should be correct. Sorry about that. Erk, I should have caught that... thanks, committed. N |