r seq VecScatter_0x8400_5
>> [0] VecScatterCreate() in
>> /home/yyy910805/petsc/src/vec/vscat/interface/vscreate.c
>> Attempting to use an MPI routine after finalizing MPICH
>>
>> ----------
>>
-users@mcs.anl.gov
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
If you run this with MPICH, it prints
Attempting to use an MPI routine after finalizing MPICH
You need to ensure that the C++ class destructor is called before
PetscFinalize
, March 3, 2019 12:46 PM
> To: Yuyun Yang
> Cc: Zhang, Junchao ; petsc-users@mcs.anl.gov
> Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
> was not malloc()-ed
>
> On Sun, Mar 3, 2019 at 3:05 PM Yuyun Yang
> mailto:yyan...@stanford.edu>> w
l.gov<mailto:petsc-users@mcs.anl.gov>
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
On Sun, Mar 3, 2019 at 1:03 PM Yuyun Yang via petsc-users
mailto:petsc-users@mcs.anl.gov>> wrote:
I tried compiling without the sanitizer and running
1, 2019 7:36 AM
To: Yuyun Yang mailto:yyan...@stanford.edu>>
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
On Fri, Mar 1, 2019 at 1:02 AM Yuyun Yang
mailto:yyan...@stanford.edu>> wrote:
Actually, I also saw a line at the beginnin
uyun
From: Zhang, Junchao
Sent: Friday, March 1, 2019 7:36 AM
To: Yuyun Yang
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
On Fri, Mar 1, 2019 at 1:02 AM Yuyun Yang
mailto:yyan...@stanford.edu>> wrote:
Actually, I also saw a line at the
//aka.ms/o0ukef>
From: Zhang, Junchao mailto:jczh...@mcs.anl.gov>>
Sent: Wednesday, February 27, 2019 6:24:13 PM
To: Yuyun Yang
Cc: Matthew Knepley; petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
mailto:jczh...@mcs.anl.gov>>
Sent: Wednesday, February 27, 2019 6:24:13 PM
To: Yuyun Yang
Cc: Matthew Knepley; petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
Could you provide a
atthew Knepley; petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
Could you provide a compilable and runnable test so I can try it?
--Junchao Zhang
On Wed, Feb 27, 2019 at 7:34 PM Yuyun Yang
mailto:yyan...@stanford.edu&g
mail.com>>;
petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
On Wed, Feb 27, 2019 at 10:41 AM Yuyun Yang via petsc-users
mailto:petsc-users@mcs.anl.gov>> wrote:
I c
:50 AM
To: Yuyun Yang
Cc: Matthew Knepley ; petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
On Wed, Feb 27, 2019 at 10:41 AM Yuyun Yang via petsc-users
mailto:petsc-users@mcs.anl.gov>> wrote:
I called VecD
lt;mailto:petsc-users@mcs.anl.gov>
Subject: Re: [petsc-users] AddressSanitizer: attempting free on address which
was not malloc()-ed
You call VecDuplicate() a bunch, but VecDestroy() only once in the bottom
function. This is wrong.
Also, CHECK ALL RETURN CODES. This is the fastest way to find
: attempting free on address which
was not malloc()-ed
You call VecDuplicate() a bunch, but VecDestroy() only once in the bottom
function. This is wrong.
Also, CHECK ALL RETURN CODES. This is the fastest way to find errors.
Matt
On Wed, Feb 27, 2019 at 2:06 AM Yuyun Yang via petsc-users
Hello team,
I ran into the address sanitizer error that I hope you could help me with. I
don't really know what's wrong with the way the code frees memory. The relevant
code file is attached. The line number following domain.cpp specifically
referenced to the vector _q, which seems a little
14 matches
Mail list logo