Segfault with trivial Panda3D 1.8.0 program

Hi,

Looks like I’m having similar trouble to that reported over here:

[segfault with panda3d)

All other 3D programs I’ve tried (X-Plane, glxgears, etc) run fine. Here’s a program which demonstrates the problem on my system (Debian unstable, 64-bit, Nvidia NVS 3100M, Nvidia 310.19 binary driver, Panda 1.8.0 built from source).

import threading
from direct.showbase.ShowBase import ShowBase

def gum_up_the_works():
    for i in xrange(10000000):
        pass

class MyApp(ShowBase):
    def __init__(self):
        ShowBase.__init__(self)

if __name__ == '__main__':
    threading.Thread(None, target=gum_up_the_works).start() # Comment this line out and I get a segfault
    app = MyApp()
    app.run()

My C++ skills are very limited unfortunately. Mainly just wanted to confirm that the problem still exists. :frowning: The silly workaround works, though I’m happy to try anything you’d like me to toward solving the issue.