pdeploy problems with OSX i386: looking for "/Users/rdb

I’m running into trouble trying to deploy my game using packp3d and pdeploy on my OSX i386 machine.

packp3d -o mysim.p3d  -d . -r ode -m simulator.py  -e py -p xmlrpc  -c auto_start=1
pdeploy -n mysim -v 1 -s mysim.p3d standalone 

Upon executing the binary, it gets caught after successfully installing all of the Panda Runtime libraries and ODE. The Panda splash screen hangs. Running the binary with gdb shows it’s expecting some hardcoded load path: /Users/rdb/… to link to libraries:

i386-apple-darwin"...Reading symbols for shared libraries ............. done

warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngerror.o)" - no debug information available for "pngerror.c".


warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngget.o)" - no debug information available for "pngget.c".


warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngread.o)" - no debug information available for "pngread.c".


warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-png.o)" - no debug information available for "png.c".


warning: .o file "/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/libgcc.a(_eprintf.o)" more recent than executable timestamp

warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngrutil.o)" - no debug information available for "pngrutil.c".


warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngmem.o)" - no debug information available for "pngmem.c".


warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngtrans.o)" - no debug information available for "pngtrans.c".


warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngrtran.o)" - no debug information available for "pngrtran.c".


warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngrio.o)" - no debug information available for "pngrio.c".


warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngset.o)" - no debug information available for "pngset.c".

Similarly, when I run pdeploy in installer mode, pdeploy itself crashes with the /Users/rdb/ path problem:

:Standalone: Creating ./osx_i386/MyApp.app/Contents/MacOS/myapp...
:HostInfo: Downloading contents file [ http://runtime.panda3d.org/contents.xml?1273625087 ]

:PackageInfo: panda3d downloading http://runtime.panda3d.org/panda3d/cmu_1.7/osx_i386/panda3d.cmu_1.7.osx_i386.xml
:PackageInfo: panda3d downloading http://runtime.panda3d.org/panda3d/cmu_1.7/osx_i386/panda3d.cmu_1.7.osx_i386.mf.1.pz
:PackageInfo: ode downloading http://runtime.panda3d.org/ode/cmu_1.7/osx_i386/ode.cmu_1.7.osx_i386.xml
Traceback (most recent call last):
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 352, in __taskChainDispatch
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 410, in __dispatch
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/AppRunner.py", line 493, in __startIfReady
  File "VFSImporter", line 153, in load_module
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/pdeploy.py", line 251, in <module>
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 260, in build
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 408, in buildPKG
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 367, in buildAPP
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 204, in installPackagesInto
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 198, in downloadDescFile
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 248, in downloadDescFileGenerator
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 332, in __readDescFile
AttributeError: 'NoneType' object has no attribute 'getHostWithAlt'
:task(error): Exception occurred in PythonTask Messenger-default
Traceback (most recent call last):
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/AppRunner.py", line 411, in run
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/task/Task.py", line 496, in run
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/task/Task.py", line 454, in step
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 352, in __taskChainDispatch
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 410, in __dispatch
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/AppRunner.py", line 493, in __startIfReady
  File "VFSImporter", line 153, in load_module
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/pdeploy.py", line 251, in <module>
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 260, in build
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 408, in buildPKG
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 367, in buildAPP
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 204, in installPackagesInto
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 198, in downloadDescFile
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 248, in downloadDescFileGenerator
  File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 332, in __readDescFile
AttributeError: 'NoneType' object has no attribute 'getHostWithAlt'
Successfully joined thread: 0
Failure on startup.

Any workarounds or suggestions would be appreciated. Thank you!

Dustin

Seems like you’ve actually got three different, unrelated problems.

The first problem, the hang on the splash screen, has already been detected and fixed, but is not yet part of 1.7.0. The workaround is to pass -f to the panda3d command line.

The second problem, with the /Users/rdb issue, is not really a problem. This is just the debugger telling you that it can’t find the debugging symbols for these modules, which isn’t surprising because you don’t have them installed on your system. The fact that it’s reporting the path “/Users/rdb” is just a distracting detail that has nothing to do with anything. Still, the lack of the debugging symbols isn’t going to cause you trouble, unless you need to debug a problem in these particular modules, which seems unlikely because that’s all system code anyway.

The third problem is a previously-reported problem with pdeploy. I don’t think a full solution has been found yet, but there are some partial solutions. Try searching the forums for the other thread.

David

Thanks so much for your help David!

I’m still working on this one, I’ll archive the solution when I find it.

I found the workaround for the AttributeError: ‘NoneType’ object has no attribute ‘getHostWithAlt’ on this thread: discourse.panda3d.org/viewtopic … 8575#56810 It involves editing pdeploy.py

Dustin

I don’t understand. The problem is already fixed. You don’t have to do anything but wait for 1.7.1 to come out.

In the meantime, adding -f to the panda3d command line should allow you to continue to run just fine in 1.7.0. Or is that not working for you?

David

Yes, I’m still having trouble with that. Running panda3d v1.0.1,

panda3d -f mysim.p3d

freezes before a window is launched. When I kill the command, I see “Successfully joined thread: 0” on the terminal. The only threading I use is when I launch an XML-RPC server in the main file.

When I create a standalone binary for OSX i386, it installs the libraries and then hangs:

Installing Panda3D rev 1
Installing Panda3D Open Dynamics Engine integration rev 1
Installing Python standard library rev 1
Install complete.
^X

What happens if you blow away your runtime Panda3D directory (as described in the “runtime Panda3D directory” manual page) before starting? Does it download successfully and then launch, or does it still hang?

How about if you package up a simpler application? Does that launch successfully?

David

I cleared out my Panda caches and repackaged and deployed the p3d files, but still faced the same problem.

rm -rf ~/Library/Caches/Panda3D/*
rm -rf ~/Library/Caches/Panda3D-1.7/*

But, I was able to build and deploy a simpler game successfully. Is there a way I can make the output of the p3d file more verbose?

Thanks again,
Dustin

Look for the log in Panda3D/log/p3dcore.log .

David

Nothing immediately attention grabbing in the log.

Attempting to start python from /Users/dustin/Library/Caches/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7/P3DPython.app/Contents/MacOS/p3dpython
child still alive after 110 ms
notify: ondownloadcomplete 
notify: onready 
notify: onpythonload 
notify: onpythonstop 
finish_instance: 0x807200
Assigning 0x807200->log_pathname = 
Python process has successfully stopped.
  exited normally, status = 0
Successfully joined thread: 0
Ignoring unknown request 0x22f8b0
P3D_finalize called
counts: 1 1 1 1

Perhaps it was that “unknown request”. I’m going to branch and remove the ODE component of my project, since it has been causing some other kinds of pain as well. I’ll keep posting updates to this thread.

Dustin

[/code]

Hmm, but that log indicates that it did indeed start your application running, and detected when it stopped. So whatever lockup occurred, it must have been within the application itself (or within a third-party library such as ODE), and not within the runtime system.

So, this is not the same problem I had thought it was, but I don’t know what problem it is, precisely. Perhaps it is indeed related to something funny ODE is doing; or perhaps it’s something else.

You might gain some insight by packaging your p3d file with the -D flag to packp3d, then running it with the -i flag to panda3d. This will open up a Python prompt (assuming the lockup doesn’t occur at startup), and allow you to step through the application more carefully.

David

Your debugging advice is so good that it’s making me lazy :slight_smile: Now that I know how to diagnose it, I’ll narrow it down in my code tomorrow (within 10 hours).

In case it’s useful, my current problem.

$:~/Documents/Projects/IsisWorld$ panda3d -f -i isis_world.p3d 
Attempt to register type HTTPChannel more than once!
Attempt to register type VirtualFile more than once!
Attempt to register type VirtualFileHTTP more than once!
Attempt to register type VirtualFileMount more than once!
Attempt to register type VirtualFileMountHTTP more than once!
Attempt to register type Datagram more than once!
Attempt to register type NodeReferenceCount more than once!
Attempt to register type VirtualFileComposite more than once!
Attempt to register type VirtualFileMountMultifile more than once!
Attempt to register type VirtualFileMountSystem more than once!
Attempt to register type VirtualFileSimple more than once!
Attempt to register type long more than once!
Attempt to register type int more than once!
Attempt to register type uint more than once!
Attempt to register type short more than once!
Attempt to register type ushort more than once!
Attempt to register type char more than once!
Attempt to register type uchar more than once!
Attempt to register type bool more than once!
Attempt to register type double more than once!
Attempt to register type float more than once!
Attempt to register type string more than once!
Attempt to register type int* more than once!
Attempt to register type short* more than once!
Attempt to register type char* more than once!
Attempt to register type bool* more than once!
Attempt to register type double* more than once!
Attempt to register type float* more than once!
Attempt to register type void* more than once!
Attempt to register type pvector more than once!
Attempt to register type ov_set more than once!
Attempt to register type pdeque more than once!
Attempt to register type plist more than once!
Attempt to register type pmap more than once!
Attempt to register type pset more than once!
Invalid TypeHandle index 37!  Is memory corrupt?
Assertion failed: (rnode != (TypeRegistryNode *)NULL), function dec_memory_usage, file dtool/src/dtoolbase/typeHandle.cxx, line 96.

The actual project on GitHub.

Here’s the OSX problem report for p3dpython

Date/Time:       2010-05-13 03:54:05.912 -0400
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  73CCD1BC-4374-4C5D-8F5F-E2AEF1A4EB7D

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib             	0x94710e42 __kill + 10
1   libSystem.B.dylib             	0x9478323a raise + 26
2   libSystem.B.dylib             	0x9478f679 abort + 73
3   libSystem.B.dylib             	0x947843db __assert_rtn + 101
4   libp3dtool.1.7.0.dylib        	0x06fa88ea TypeHandle::dec_memory_usage(TypeHandle::MemoryClass, int) + 426
5   libp3dtool.1.7.0.dylib        	0x06f9521d Filename::standardize() + 653
6   libpandaexpress.1.7.0.dylib   	0x06c87d5f VirtualFileSystem::do_get_file(Filename const&, bool) const + 319
7   libpandaexpress.1.7.0.dylib   	0x06c8adf4 VirtualFileSystem::chdir(Filename const&) + 308
8   libpandaexpress.1.7.0.dylib   	0x06c8b1a8 VirtualFileSystem::get_global_ptr() + 408
9   libpandaexpress.1.7.0.dylib   	0x06bf4b47 VirtualFileMountHTTP::reload_vfs_mount_url() + 23
10  libpandaexpress.1.7.0.dylib   	0x06bf59fb init_libdownloader() + 59
11  libpandaexpress.1.7.0.dylib   	0x06d8184c __static_initialization_and_destruction_0(int, int) + 108
12  dyld                          	0x8fe12f36 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 246
13  dyld                          	0x8fe0e7e3 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 307
14  dyld                          	0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
15  dyld                          	0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
16  dyld                          	0x8fe0e8c9 ImageLoader::runInitializers(ImageLoader::LinkContext const&) + 57
17  dyld                          	0x8fe02202 dyld::runInitializers(ImageLoader*) + 34
18  dyld                          	0x8fe0bbdd dlopen + 605
19  libSystem.B.dylib             	0x946ac2a2 dlopen + 66
20  Python                        	0x006487f3 _PyImport_GetDynLoadFunc + 291
21  Python                        	0x006322c9 _PyImport_LoadDynamicModule + 121
22  Python                        	0x00631e3d imp_load_dynamic + 109
23  Python                        	0x00615165 PyEval_EvalFrameEx + 19429
24  Python                        	0x00615ae6 PyEval_EvalFrameEx + 21862
25  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
26  Python                        	0x00615a25 PyEval_EvalFrameEx + 21669
27  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
28  Python                        	0x00594746 function_call + 166
29  Python                        	0x00563d35 PyObject_Call + 85
30  Python                        	0x00575b36 instancemethod_call + 422
31  Python                        	0x00563d35 PyObject_Call + 85
32  Python                        	0x00569b1f PyObject_CallMethod + 175
33  Python                        	0x0062fd35 load_module + 405
34  Python                        	0x006301ad import_submodule + 301
35  Python                        	0x00630409 load_next + 201
36  Python                        	0x00630db1 PyImport_ImportModuleLevel + 337
37  Python                        	0x00609b5f builtin___import__ + 159
38  Python                        	0x00563d35 PyObject_Call + 85
39  Python                        	0x0060f5be PyEval_CallObjectWithKeywords + 78
40  Python                        	0x00612b50 PyEval_EvalFrameEx + 9680
41  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
42  Python                        	0x00615a25 PyEval_EvalFrameEx + 21669
43  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
44  Python                        	0x00594746 function_call + 166
45  Python                        	0x00563d35 PyObject_Call + 85
46  Python                        	0x00575b36 instancemethod_call + 422
47  Python                        	0x00563d35 PyObject_Call + 85
48  Python                        	0x00569b1f PyObject_CallMethod + 175
49  Python                        	0x0062fd35 load_module + 405
50  Python                        	0x006301ad import_submodule + 301
51  Python                        	0x00630757 ensure_fromlist + 439
52  Python                        	0x006311ed PyImport_ImportModuleLevel + 1421
53  Python                        	0x00609b5f builtin___import__ + 159
54  Python                        	0x00563d35 PyObject_Call + 85
55  Python                        	0x0060f5be PyEval_CallObjectWithKeywords + 78
56  Python                        	0x00612b50 PyEval_EvalFrameEx + 9680
57  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
58  Python                        	0x00615a25 PyEval_EvalFrameEx + 21669
59  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
60  Python                        	0x00594746 function_call + 166
61  Python                        	0x00563d35 PyObject_Call + 85
62  Python                        	0x00575b36 instancemethod_call + 422
63  Python                        	0x00563d35 PyObject_Call + 85
64  Python                        	0x00569b1f PyObject_CallMethod + 175
65  Python                        	0x0062fd35 load_module + 405
66  Python                        	0x006301ad import_submodule + 301
67  Python                        	0x00630409 load_next + 201
68  Python                        	0x00630e03 PyImport_ImportModuleLevel + 419
69  Python                        	0x00609b5f builtin___import__ + 159
70  Python                        	0x00563d35 PyObject_Call + 85
71  Python                        	0x0060f5be PyEval_CallObjectWithKeywords + 78
72  Python                        	0x00612b50 PyEval_EvalFrameEx + 9680
73  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
74  Python                        	0x00615a25 PyEval_EvalFrameEx + 21669
75  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
76  Python                        	0x00594746 function_call + 166
77  Python                        	0x00563d35 PyObject_Call + 85
78  Python                        	0x00575b36 instancemethod_call + 422
79  Python                        	0x00563d35 PyObject_Call + 85
80  Python                        	0x00569b1f PyObject_CallMethod + 175
81  Python                        	0x0062fd35 load_module + 405
82  Python                        	0x006301ad import_submodule + 301
83  Python                        	0x00630409 load_next + 201
84  Python                        	0x00630db1 PyImport_ImportModuleLevel + 337
85  Python                        	0x00609b5f builtin___import__ + 159
86  Python                        	0x00563d35 PyObject_Call + 85
87  Python                        	0x0060f5be PyEval_CallObjectWithKeywords + 78
88  Python                        	0x00612b50 PyEval_EvalFrameEx + 9680
89  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
90  Python                        	0x00615a25 PyEval_EvalFrameEx + 21669
91  Python                        	0x006172dd PyEval_EvalCodeEx + 2109
92  Python                        	0x00594746 function_call + 166
93  Python                        	0x00563d35 PyObject_Call + 85
94  Python                        	0x00575b36 instancemethod_call + 422
95  Python                        	0x00563d35 PyObject_Call + 85
96  Python                        	0x00569b1f PyObject_CallMethod + 175
97  Python                        	0x0062fd35 load_module + 405
98  Python                        	0x006301ad import_submodule + 301
99  Python                        	0x00630409 load_next + 201
100 Python                        	0x00630db1 PyImport_ImportModuleLevel + 337
101 Python                        	0x00609b5f builtin___import__ + 159
102 Python                        	0x00563d35 PyObject_Call + 85
103 Python                        	0x0060f5be PyEval_CallObjectWithKeywords + 78
104 Python                        	0x00612b50 PyEval_EvalFrameEx + 9680
105 Python                        	0x006172dd PyEval_EvalCodeEx + 2109
106 Python                        	0x00615a25 PyEval_EvalFrameEx + 21669
107 Python                        	0x006172dd PyEval_EvalCodeEx + 2109
108 Python                        	0x00594746 function_call + 166
109 Python                        	0x00563d35 PyObject_Call + 85
110 Python                        	0x00575b36 instancemethod_call + 422
111 Python                        	0x00563d35 PyObject_Call + 85
112 Python                        	0x00569b1f PyObject_CallMethod + 175
113 Python                        	0x0062fd35 load_module + 405
114 Python                        	0x006301ad import_submodule + 301
115 Python                        	0x00630409 load_next + 201
116 Python                        	0x00630e03 PyImport_ImportModuleLevel + 419
117 Python                        	0x00609b5f builtin___import__ + 159
118 Python                        	0x00563d35 PyObject_Call + 85
119 Python                        	0x0060f5be PyEval_CallObjectWithKeywords + 78
120 Python                        	0x00612b50 PyEval_EvalFrameEx + 9680
121 Python                        	0x006172dd PyEval_EvalCodeEx + 2109
122 Python                        	0x00615a25 PyEval_EvalFrameEx + 21669
123 Python                        	0x006172dd PyEval_EvalCodeEx + 2109
124 Python                        	0x00594746 function_call + 166
125 Python                        	0x00563d35 PyObject_Call + 85
126 Python                        	0x00575b36 instancemethod_call + 422
127 Python                        	0x00563d35 PyObject_Call + 85
128 Python                        	0x00569b1f PyObject_CallMethod + 175
129 Python                        	0x0062fd35 load_module + 405
130 Python                        	0x006301ad import_submodule + 301
131 Python                        	0x00630409 load_next + 201
132 Python                        	0x00630e03 PyImport_ImportModuleLevel + 419
133 Python                        	0x00609b5f builtin___import__ + 159
134 Python                        	0x00563d35 PyObject_Call + 85
135 Python                        	0x00569871 PyObject_CallFunction + 129
136 Python                        	0x006314cb PyImport_Import + 187
137 Python                        	0x006316b7 PyImport_ImportModule + 39
138 org.panda3d.runtime.p3dpython 	0x0000443c P3DPythonRun::run_python() + 1628
139 org.panda3d.runtime.p3dpython 	0x0000b066 run_p3dpython + 102
140 org.panda3d.runtime.p3dpython 	0x0000df52 main + 242
141 org.panda3d.runtime.p3dpython 	0x000025d2 _start + 216
142 org.panda3d.runtime.p3dpython 	0x000024f9 start + 41

Thread 1:
0   libSystem.B.dylib             	0x946a3c6e read + 10
1   org.panda3d.runtime.p3dpython 	0x00002efc HandleStreamBuf::underflow() + 60
2   libstdc++.6.dylib             	0x94893a98 std::basic_streambuf<char, std::char_traits<char> >::uflow() + 18
3   libstdc++.6.dylib             	0x94893fee std::basic_streambuf<char, std::char_traits<char> >::xsgetn(char*, int) + 106
4   libstdc++.6.dylib             	0x9487f7d7 std::basic_istream<char, std::char_traits<char> >::read(char*, int) + 79
5   org.panda3d.runtime.p3dpython 	0x00004bbd read_xml_node(std::basic_istream<char, std::char_traits<char> >&, char*&, unsigned long&, std::basic_ostream<char, std::char_traits<char> >&) + 61
6   org.panda3d.runtime.p3dpython 	0x00005ad1 read_xml(std::basic_istream<char, std::char_traits<char> >&, std::basic_ostream<char, std::char_traits<char> >&) + 49
7   org.panda3d.runtime.p3dpython 	0x00005ba0 P3DPythonRun::rt_thread_run() + 160
8   org.panda3d.runtime.p3dpython 	0x0000d9a1 P3DPythonRun::posix_rt_thread_run(void*) + 17
9   libSystem.B.dylib             	0x946d4155 _pthread_start + 321
10  libSystem.B.dylib             	0x946d4012 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x9478f639  ecx: 0xbfff513c  edx: 0x94710e42
  edi: 0xbfff5278  esi: 0x06fad454  ebp: 0xbfff5158  esp: 0xbfff513c
   ss: 0x0000001f  efl: 0x00000282  eip: 0x94710e42   cs: 0x00000007
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x06c874d0

Binary Images:
    0x1000 -    0x1cffb +org.panda3d.runtime.p3dpython 0.9.3 (0.9.3) <beeb846280b1d44fdc6232a682a99ed3> /Users/dustin/Library/Caches/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7/P3DPython.app/Contents/MacOS/p3dpython
   0x35000 -    0x57fff +libp3dtool.dylib ??? (???) <70a38c10b0ab2ec5265a5d74faeb23fd> /Users/dustin/Library/Caches/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7/libp3dtool.dylib
   0x6a000 -    0xabffb +libp3dtoolconfig.dylib ??? (???) <76442edda52fc3e28f8cf8225c11755f> /Users/dustin/Library/Caches/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7/libp3dtoolconfig.dylib
   0xcb000 -    0xd5fff +libavutil.50.7.0.dylib ??? (???) <364f847e4134bf3ae03239808184c217> /Users/dustin/Library/Caches/Panda3D/hosts/runtime.panda3d.org_96a0ec538744def6/panda3d/cmu_1.7/libavutil.50.7.0.dylib

Those warnings about “Attempt to register type xxx more than once” are really disturbing. It makes me think that multiple versions of Panda have been loaded into the same memory image, and it doesn’t surprise me that it might result in something locking up further down the line.

I don’t know what would have caused that problem in the first place, though.

David