
On 05.09.2016 23:08, Fernando Casas Schössow wrote:
Hi again Michal,
I have more information to share. I think I can confirm that the patches are actually fixing the credentials problem and they are passed along. This is the content of test.log with libvirt-php output:
[2016-09-05 22:06:05 libvirt-php/core ]: libvirt_connect: credentials index 2 [2016-09-05 22:06:05 libvirt-php/core ]: libvirt_connect: credentials index 5 [2016-09-05 22:06:05 libvirt-php/core ]: libvirt_connect: Found 2 elements for credentials [2016-09-05 22:06:05 libvirt-php/core ]: libvirt_virConnectAuthCallback: cred 0, type 5, prompt Enter Administrator's password for 192.168.7.2 challenge 192.168.7.2 [2016-09-05 22:06:05 libvirt-php/core ]: libvirt_virConnectAuthCallback: result somepass (16)
Of course then the process is crashing and the connection is aborted so I believe that the patches work fine (they fix the connection credentials not passed along issue) but once this is fixed the other problem is uncovered.
Cool, so at least that's confirmed. Can you please attach a debugger to your php (or run php straight from it). Also, the stack trace is the result of 'backtrace' command in gdb, not strace (which is a system call tracer). $ gdb $(which php) (gdb) run test.php (gbd) backtrace And while you're at it: $ valgrind --leak-check=full $(which php) test.php Thank you.