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

[HTCondor-users] core dump in python bindings



I'm still trying to come up with a simple reproducible test case for this, but wanted to bring it up in case it's a known issue or sign that I'm doing something wrong.

I'm using the htcondor-24.10.2 python bindings to iterate over all user jobs and job slots to calculate the total requested memory for all jobs. However, at some point the value returned by collector.query.eval('RequestMemory') seems to return an classad.ExprTree object, and when i try to do any debugging on that object (using repr() or __str__ to inspect it) I get a segfault.

This is code that I inherited from a now-defunct outside project, so my understanding of what it's doing may be slightly flawed.

Are there any known issues with printing out ExprTree objects?

I'll continue to work on a simplified test case, and try to capture a core dump if possible.

--Mike