Thanks for the quick fix. However, it doesn't work on my machine (Debian
stretch).
With your latest patch, «svn_config_get_user_config_path(None, None)»
calls the C function of the name with «path == NULL» and segfaults immediately,
because the parameter is dereferenced on the first line of the function. As to
the other case, I get a bogus stack trace:
[[[
% PYTHONPATH=… lldb -- python3 -c $'from svn.core import *;
svn_config_ensure("/tmp/foo")'
(lldb) r
Process 19706 launched: '/usr/bin/python3' (x86_64)
Process 19706 stopped
* thread #1, name = 'python3', stop reason = signal SIGSEGV: invalid address
(fault address: 0x0)
frame #0: 0x0000000000000000
error: memory read failed for 0x0
(lldb)
]]]
Cheers,
Daniel