I changed my earlier posts using your suggestions. Thank you.
By the way, I found this thread in Panda3D forums:
[url]segfault with panda3d]
The SEGFAULT reported in this post has (I think) the same cause.
Panda 1.7.0 worked fine. I wonder what is the difference between Panda 1.7.0 and 1.7.1 that causes this…
I will try to dig in a little bit…