Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-22 Thread Sajid Ali Syed via petsc-users
Smith ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] KSP_Solve crashes in debug mode On Wed, Feb 22, 2023 at 6:18 PM Sajid Ali Syed via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: One thing to note in relation to the trace attached in the previous email is that there are

Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-22 Thread Sajid Ali Syed via petsc-users
or condition Matt pointed out On Feb 9, 2023, at 6:24 PM, Matthew Knepley wrote: On Thu, Feb 9, 2023 at 6:05 PM Sajid Ali Syed via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: I added “-malloc_debug” in a .petscrc file and ran it again. The backtrace from lldb is in the attach

Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-22 Thread Sajid Ali Syed via petsc-users
petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> mailto:petsc-users@mcs.anl.gov>> Subject: Re: [petsc-users] KSP_Solve crashes in debug mode On Wed, Feb 22, 2023 at 6:18 PM Sajid Ali Syed via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: One thing to

Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-22 Thread Sajid Ali Syed via petsc-users
yHKz0g=P7R0CW9R-fGNfm2q3yTL-ehqhM5N9-r8hHBLNgDetm9-7jxVqNsujIZ2hdnhVrVX=QwRI_DzGnCHagpaQSC4MPPEUnC4aAkbMwdG1eg_QUII=> should fix the possible recursive error condition Matt pointed out On Feb 9, 2023, at 6:24 PM, Matthew Knepley wrote: On Thu, Feb 9, 2023 at 6:05 PM Sajid Ali Syed via petsc-u

Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-22 Thread Sajid Ali Syed via petsc-users
gt;; petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> mailto:petsc-users@mcs.anl.gov>> Subject: Re: [petsc-users] KSP_Solve crashes in debug mode On Wed, Feb 22, 2023 at 6:18 PM Sajid Ali Syed via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: One thi

Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-24 Thread Sajid Ali Syed via petsc-users
gt; Cc: Barry Smith mailto:bsm...@petsc.dev>>; petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> mailto:petsc-users@mcs.anl.gov>> Subject: Re: [petsc-users] KSP_Solve crashes in debug mode On Wed, Feb 22, 2023 at 6:18 PM Sajid Ali Syed via petsc-users mailto:pe

[petsc-users] KSP_Solve crashes in debug mode

2023-02-09 Thread Sajid Ali Syed via petsc-users
Hi PETSc-developers, In our application we call KSP_Solve as part of a step to propagate a beam through a lattice. I am observing a crash within KSP_Solve for an application only after the 43rd call to KSP_Solve when building the application and PETSc in debug mode, full logs for which are

Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-09 Thread Sajid Ali Syed via petsc-users
I’ve also printed out the head struct in the debugger, and it looks like this: (lldb) print (TRSPACE)*head(TRSPACE) $7 = { size = 16 rsize = 16 id = 12063 lineno = 217 filename = 0x0001167fd865 "/Users/sasyed/Documents/packages/petsc/src/sys/dll/reg.c" functionname =

Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-09 Thread Sajid Ali Syed via petsc-users
The configuration log is attached with this email. configure_log_tail Description: configure_log_tail

Re: [petsc-users] KSP_Solve crashes in debug mode

2023-02-09 Thread Sajid Ali Syed via petsc-users
o note the -g being used by the compilers so cannot explain off hand why it does not display the debug information. Barry On Feb 9, 2023, at 12:42 PM, Sajid Ali Syed via petsc-users wrote: Hi PETSc-developers, In our application we call KSP_Solve as part of a step to propagate a beam t