Can you reproduce the segfault?
Can try running it under gdb:
# 'bin/ansible-playbook' or the path to you ansible-playbook install
(`which ansible-playbook`)
gdb --batch -ex run --args python bin/ansible-playbook -vvv
your_playbook.yml
But maybe easier to use catchsegv to grab a stack trace
catchsegv ansible-playbook -vvv your_playbook.yml
Since that log message points to a segfault in python, you likely need to
install the debuginfo for
python first, something like:
sudo apt-get install python2.7-dbg
Though the segfault is likely coming from a python C extension and not
ansible
itself...
On Wed, Jul 26, 2017 at 6:50 AM, Mike C <[email protected]> wrote:
> im getting a seg fault when im running my ansible. Is there a way to turn
> on more debugging or anything that can help me find out the source ?
>
> My `/var/log/syslog` has entries like this
>
> ```
> Jul 26 10:47:26 ubuntu-xenial kernel: [ 497.822661]
> ansible-playboo[13890]: segfault at a9 ip 00000000004a7ee4 sp
> 00007ffdabc1b128 error 4 in python2.7[400000+2ea000]
> ```
>
> I've tried `-vvvv` but no luck there.
>
> Cheers
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/8e70a592-86bd-4cee-8f9f-4736fad8ed95%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/8e70a592-86bd-4cee-8f9f-4736fad8ed95%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAOJNLf8r-X26op5bOczWVHbf%2Bq5B0wmAGqtjjGd0Et%2BdpRxUZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.