Any one up for OSX work.


#185

The loading of prc files is not that magical. It looks in various directories, but doesn’t make up a completely new filename. The loading of the display modules is even less magic–it doesn’t even look in various directories for that one.

So, that filename isn’t being requested by any Panda code. It must be loaded indirectly by the dylibs that libpandagl pulls in, which is to say, by your OpenGL drivers. You can test this by calling dlopen(‘libpandagl.dylib’) or even dlopen(‘libGL.dylib’) (or whatever your OpenGL library is called) in a sample program.

David


#186

:slight_smile:

even so, i’d like to know which prc file is being loaded. is there an introspective way to get the path? otherwise, could you confirm or deny my algorithm for finding the file, so i can inspect the prc and make sure there’s no funny business going on?

i thought it was unlikely that panda would create a string with such a bizarre name, but i thought it more unlikely that the opengl rigging distributed by apple would reference an unloadable library. other opengl stuff is currently working on my machine.

jeremy


#187
print cpMgr

will print a list of all prc files loaded and where they came from. (These are the “implicit pages”, as opposed to the “explicit pages” which are loaded by explicit calls you make at runtime.)

If you can’t get DirectStart imported enough to get the cpMgr builtin, then do:

from pandac.PandaModules import *
cpMgr = ConfigPageManager.getGlobalPtr()
print cpMgr

You can also see which file specifically defined load-display with:

print ConfigVariableString('load-display')

David


#188

i’ve been working on this and am confused thusly:

in python, loading libpandagl fails, complaining about libmkl_def.dylib:

>>> selection = GraphicsPipeSelection.getGlobalPtr()
>>> selection.printPipeTypes()
:display: loading display module: libpandagl.dylib
:display: Unable to load: dlopen(libmkl_def.dylib, 1): image not found
Known pipe types:
(all display modules loaded.)
>>> 

in c this code

	void * x = dlopen("/usr/local/panda/lib/libpandagl.dylib",1);

	printf("%i\n",x);

	if (x == (void *)NULL){
		printf("fail\n");
		printf("%s\n",dlerror());
	}
	else printf("pass\n");

loading fails with a different message:

% ./libtest
0
fail
dlopen(/usr/local/panda/lib/libpandagl.dylib, 1): Symbol not found: _PyObject_Free
  Referenced from: /usr/local/panda/lib/libinterrogatedb.dylib
  Expected in: dynamic lookup

for completeness, opengl loads fine (no surprise, since other opengl programs have been running):

	void *  = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib",1);

	printf("%i\n",x);

	if (x == (void *)NULL){
		printf("fail\n");
		printf("%s\n",dlerror());
	}
	else printf("pass\n");

yeilds

% ./libtest
1049136
pass

so libpandagl fails in two different ways. the problem in the c instance seems to be some sort of library path problem, but i haven’t explored that fully.

let me also mention that i’ve successfully built and run a 1.4.x panda from CVS in the past. i can’t be certain of the exact version – it was about 15 months ago. the main differences between that (working) time and this are: building with support for opencv and nvidia cg. i also upgraded the cg framework on this machine, but since it wasn’t incorporated in the last build, i wouldn’t imagine that has much to do with it.

jeremy


#189

Hmm, wait, you mean this build–the first build that doesn’t work–is also the first build that links with Cg? That sounds highly suspicious to me. Try making a build without Cg, to see if that one works.

David


#190

success.

i rebuilt w/o cg support and ran into the problem described in this thread:

discourse.panda3d.org/viewtopic.php?t=5036

after setting up my PRC_PATH and adding the plugin-path directive to the Config.prc, everything worked fine.

so i went back and built with cg and i’m now able to open a window. ironically, i can’t really test functionality of the cg bits because i have an ati card.

incidentally, where can i find more information on this plugin-path change?

jeremy


#191

Even though Cg is an NVidia product, it does work fine on ATI cards, at least those ATI cards that support shaders at all. That’s one of the selling points of Cg: it’s platform-independent, and works on all shader-capable cards, on OpenGL and on DirectX.

What do you want to know about the plugin-path change?

David


#192

By default, the plugin-path is set to /lib (or something like that) but doesn’t seem to work quite well on OSX. I thought I fixed that, but apparently I didn’t.
Normally you wouldn’t need to set it, but only on OSX, for this reason.


#193

i’ve heard this, too. but my experience, and those of people i’ve worked with, is that ati’s cg support is fairly poor.

on the other hand, i just assumed that was the problem when the toon shader example failed. when running the (basic) demo, i get a blank screen with this error at the bottom of the window:

"Toon Shader: Video card not powerful enough to do image postprocessing"

maybe the bamboo stuff is failing in some other way, but CommonFilters.filters.setCartoonInk() returned false.

the advanced demo, on the other hand, failed in a different way:

:gobj(error): /usr/local/src/panda3d-1.5.4/samples/Cartoon-Shader/lightingGen.sha: (16) : warning C7011: implicit cast from "float4" to "float3"
:gobj(error): /usr/local/src/panda3d-1.5.4/samples/Cartoon-Shader/lightingGen.sha: (16) : warning C7011: implicit cast from "float4" to "float3"
:gobj(error): /usr/local/src/panda3d-1.5.4/samples/Cartoon-Shader/lightingGen.sha: (16) : warning C7011: implicit cast from "float4" to "float3"
:gobj(error): /usr/local/src/panda3d-1.5.4/samples/Cartoon-Shader/lightingGen.sha: (16) : warning C7011: implicit cast from "float4" to "float3"
:gobj(error): /usr/local/src/panda3d-1.5.4/samples/Cartoon-Shader/lightingGen.sha: (29) : fatal error C9999: *** exception during compilation ***
Segmentation fault

many other programs involving shaders fail in various ways. those that explictly load .sha shader files (as opposed to using the new-fangled auto generated ones) pause/load for a long time before posting any of the above errors, and then again before finally segfaulting. there’s no such thing as a software implementation of cg to my knowledge, so i’m not sure what the hangs could be about.

the card is plenty capable (assuming that ati is not the barrier) – its r520 architecture is on par with nvidia’s g70, supporting shader model 3.0, etc. in particular, it’s the x1800 mobile part.

jeremy


#194

this is resolved. i did have another version of the cg framework installed somewhere.

however, i still haven’t been able to get CommonFilters-related code to function as expected.


#195

I think the problem is that ppremake doesn’t copy the .sha files on a “make install” from the direct/src/filter dir to the panda_install_dir/lib/direct/filter/ dir. You need to copy them manually.

Also, about the “not powerful enough” bug, this will be fixed in the upcoming 1.6.0 release.


#196

@pro-rsoft: regarding the Feb.23rd bundle you made available of 1.6.0-pre, I can attest to that the “Not powerful enough” bug is there (I have a Mac Pro with nVidia 8800/512).

Also, if I enable setShaderAuto(), my project crashes (no sensible messages tho :neutral_face:)

But thanks for your efforts :slight_smile: Without you I’d be stuck using an old PC :stuck_out_tongue:


#197

I’ve only very recently checked in those changes. I only tested them on linux. I just noticed that in the source, the buffer code in make_output is mainly uncommented. That won’t get us very far.
I have no idea how the buffer code is supposed to work on OSX.

If I only had a Mac with a graphical display I would have been able to debug and fix this. :frowning:


#198

Oh, I’ve just updated the DMG, it should contain the FBO fixes now, in case you want to try it.


#199

Sorry for my absence, I had midterms :slight_smile:

The latest version still gets a bus-error on setShaderAuto().

Here’s the error info:

Process:         Python [23018]
Path:            /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
Identifier:      org.python.pythonapp
Version:         2.5.0 (2.5.0a0)
Build Info:      python-300101~3
Code Type:       X86 (Native)
Parent Process:  Python [98539]

Date/Time:       2009-02-28 11:11:14.296 +0000
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libpanda.dylib                	0x0294d11c RenderState::get_generated_shader() const + 44
1   libpandagl.dylib              	0x0623744e GLGraphicsStateGuardian::set_state_and_transform(RenderState const*, TransformState const*) + 2942
2   libpanda.dylib                	0x02b4fbf3 CullBinStateSorted::draw(bool, Thread*) + 211
3   libpanda.dylib                	0x02898690 CullResult::draw(Thread*) + 176
4   libpanda.dylib                	0x02d55266 GraphicsEngine::do_draw(CullResult*, SceneSetup*, GraphicsOutput*, DisplayRegion*, Thread*) + 710
5   libpanda.dylib                	0x02d56bb9 GraphicsEngine::draw_bins(GraphicsOutput*, DisplayRegion*, Thread*) + 137
6   libpanda.dylib                	0x02d56ef8 GraphicsEngine::draw_bins(ov_set<PointerTo<GraphicsOutput>, IndirectLess<GraphicsOutput> > const&, Thread*) + 616
7   libpanda.dylib                	0x02d59d2a GraphicsEngine::WindowRenderer::do_frame(GraphicsEngine*, Thread*) + 154
8   libpanda.dylib                	0x02d6b29e GraphicsEngine::render_frame() + 1054
9   libpanda.dylib                	0x02d879a6 Dtool_GraphicsEngine_render_frame_482(_object*, _object*, _object*) + 166
10  org.python.python             	0x0018d806 PyEval_EvalFrameEx + 17116
11  org.python.python             	0x0018f45b PyEval_EvalCodeEx + 1638
12  org.python.python             	0x00139c27 PyFunction_SetClosure + 2646
13  org.python.python             	0x0011fd3d PyObject_Call + 50
14  org.python.python             	0x001285f8 PyMethod_New + 2457
15  org.python.python             	0x0011fd3d PyObject_Call + 50
16  libpanda.dylib                	0x02dcfc6a Thread::call_python_func(_object*, _object*) + 202
17  libpanda.dylib                	0x02de5d2b PythonTask::do_python_task() + 859
18  libpanda.dylib                	0x02de7094 AsyncTask::unlock_and_do_task() + 148
19  libpanda.dylib                	0x02df0998 AsyncTaskChain::service_one_task(AsyncTaskChain::AsyncTaskChainThread*) + 616
20  libpanda.dylib                	0x02df12c6 AsyncTaskChain::do_poll() + 230
21  libpanda.dylib                	0x02df137b AsyncTaskManager::poll() + 43
22  libpanda.dylib                	0x02e07306 Dtool_AsyncTaskManager_poll_123(_object*, _object*, _object*) + 166
23  org.python.python             	0x0018d806 PyEval_EvalFrameEx + 17116
24  org.python.python             	0x0018d9e8 PyEval_EvalFrameEx + 17598
25  org.python.python             	0x0018f45b PyEval_EvalCodeEx + 1638
26  org.python.python             	0x0018da85 PyEval_EvalFrameEx + 17755
27  org.python.python             	0x0018d9e8 PyEval_EvalFrameEx + 17598
28  org.python.python             	0x0018f45b PyEval_EvalCodeEx + 1638
29  org.python.python             	0x00139c27 PyFunction_SetClosure + 2646
30  org.python.python             	0x0011fd3d PyObject_Call + 50
31  org.python.python             	0x001285f8 PyMethod_New + 2457
32  org.python.python             	0x0011fd3d PyObject_Call + 50
33  org.python.python             	0x00188b15 PyEval_CallObjectWithKeywords + 211
34  org.python.python             	0x0012482d PyInstance_New + 305
35  org.python.python             	0x0011fd3d PyObject_Call + 50
36  org.python.python             	0x0018db1a PyEval_EvalFrameEx + 17904
37  org.python.python             	0x0018f45b PyEval_EvalCodeEx + 1638
38  org.python.python             	0x0018f548 PyEval_EvalCode + 87
39  org.python.python             	0x001a69ec PyErr_Display + 1896
40  org.python.python             	0x001a7016 PyRun_FileExFlags + 135
41  org.python.python             	0x001a8982 PyRun_SimpleFileExFlags + 421
42  org.python.python             	0x001b3c03 Py_Main + 3095
43  org.python.pythonapp          	0x00001fca 0x1000 + 4042

Thread 1:
0   libSystem.B.dylib             	0x950093ae __semwait_signal + 10
1   libSystem.B.dylib             	0x95033d0d pthread_cond_wait$UNIX2003 + 73
2   libGLProgrammability.dylib    	0x90379b32 glvmDoWork + 162
3   libSystem.B.dylib             	0x95033095 _pthread_start + 321
4   libSystem.B.dylib             	0x95032f52 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x062368db  ecx: 0x0293ed45  edx: 0xbfffd5cc
  edi: 0x002dd948  esi: 0x002dd8d0  ebp: 0xbfffd5d8  esp: 0xbfffd5a0
   ss: 0x0000001f  efl: 0x00010246  eip: 0x0294d11c   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000000

Binary Images:
    0x1000 -     0x1ffe  org.python.pythonapp 2.5.0 (2.5.0a0) <764d38b9744281e7b879ff7d83410ed5> /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
  0x118000 -   0x1e3feb  org.python.python 2.5 (2.5) <e25c22d85c260b924b91ee8f643c0774> /System/Library/Frameworks/Python.framework/Versions/2.5/Python
  0x276000 -   0x277fff  time.so ??? (???) <bb92fb874211f0379590f558a4ec25fc> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/time.so
  0x27c000 -   0x27dfff  math.so ??? (???) <5c18ba3b923542791a4df47d51d5c354> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/math.so
  0x281000 -   0x283ffd  strop.so ??? (???) <4a642c5b3bb0abd4144c414ae30d8abd> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/strop.so
  0x2f4000 -   0x2f6fff  operator.so ??? (???) <9948512b81db3c8b25e09f25799ae3ae> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/operator.so
  0x2fb000 -   0x2fcfff  _random.so ??? (???) <e73d49b2cc725899e28ccd4b8393713a> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/_random.so
  0x400000 -   0x689fe7 +libpandaexpress.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libpandaexpress.dylib
  0x77a000 -   0x799ff8 +libp3dtool.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libp3dtool.dylib
  0x7ab000 -   0x7cdfe3 +libpng.3.dylib ??? (???) <14716be856b471b5b64f23e1ec1812f0> /usr/X11/lib/libpng.3.dylib
  0x7d6000 -   0x7d7ffe  binascii.so ??? (???) <f2b07d4c12b2cd1a4d535cd17bb54fe2> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/binascii.so
  0x7dc000 -   0x7deffe  itertools.so ??? (???) <d7899579fa7ee0ea7a45856f9fda0548> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/itertools.so
  0x7e3000 -   0x7e4fff  cStringIO.so ??? (???) <bd48c704c7046659bf2e33edcdcc4248> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/cStringIO.so
  0x7e8000 -   0x7ecffe +libpandaskel.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libpandaskel.dylib
 0x1000000 -  0x103eff3 +libp3dtoolconfig.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libp3dtoolconfig.dylib
 0x10ff000 -  0x10ffffd  _weakref.so ??? (???) <94a3e9f54057a81e2d7f14db72671aad> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/_weakref.so
 0x111b000 -  0x111bff7 +libp3glstuff.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libp3glstuff.dylib
 0x115f000 -  0x11ddffb +libfreetype.6.dylib ??? (???) <a7c25db61bccba18c26aaa6054a5bb68> /usr/X11/lib/libfreetype.6.dylib
 0x11f5000 -  0x12d6ff7  libxml2.2.dylib ??? (???) <de34eb9b43eb7d4a4e0b7f25529efa12> /usr/lib/libxml2.2.dylib
 0x1340000 -  0x1385fff +libpandafx.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libpandafx.dylib
 0x27e6000 -  0x3c4ffe7 +libpanda.dylib ??? (???) <afcf75fbec4a41ef4a5c842dc7ca63ba> /Applications/Panda3D/1.6.0/lib/libpanda.dylib
 0x4fcc000 -  0x5410fe7 +com.nvidia.cg 2.1.0017 (???) /Library/Frameworks/Cg.framework/Cg
 0x5754000 -  0x5894fff +libpandaphysics.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libpandaphysics.dylib
 0x5925000 -  0x5a51feb +libp3direct.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libp3direct.dylib
 0x5b82000 -  0x5dcdfe3 +libpandaegg.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libpandaegg.dylib
 0x5eb0000 -  0x6019ff7 +libpandaode.dylib ??? (???) <7982612d2482c4f283e4197a8616c396> /Applications/Panda3D/1.6.0/lib/libpandaode.dylib
 0x60d5000 -  0x60e1ffa +libXext.6.dylib ??? (???) <f6bade67e177a2d4c58b0acb4f063b88> /usr/X11/lib/libXext.6.dylib
 0x60e9000 -  0x60f4feb  libXplugin.1.dylib ??? (???) <f4c2696717a931b96c1629a181876434> /usr/lib/libXplugin.1.dylib
 0x6200000 -  0x6265fff +libpandagl.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libpandagl.dylib
 0x6299000 -  0x63b7ff7 +libOSMesa.4.dylib ??? (???) <fdf12ef091f10b17d318be42667f515d> /usr/X11/lib/libOSMesa.4.dylib
 0x63ec000 -  0x64d8fe7 +libX11.6.dylib ??? (???) <5bf24ae81d33440feafffaffc3e676bf> /usr/X11/lib/libX11.6.dylib
 0x64fa000 -  0x6547fe7 +libGL.1.dylib ??? (???) <5902a7b6a657c85cd353cdc81cd07d67> /usr/X11/lib/libGL.1.dylib
 0x6574000 -  0x6576fef +libXdmcp.6.dylib ??? (???) <d74e4318e331e2dfc669982ea5364b89> /usr/X11/lib/libXdmcp.6.dylib
 0x657b000 -  0x657bff1 +libXau.6.dylib ??? (???) <afb29c74c7922980363d41d64bf0e75d> /usr/X11/lib/libXau.6.dylib
0x16c2d000 - 0x16c49ff7  GLRendererFloat ??? (???) <dcdc2e0de7fb9a52d99e529c3688f26d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
0x174ce000 - 0x176c4fff  com.apple.RawCamera.bundle 2.0.12 (421) <02fe3f4ea6251f7b2d23d855ce5c5fd2> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x186ae000 - 0x18831fe3  GLEngine ??? (???) <bfbd7ce69ea896a6b38d6232b01cdeda> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x1885f000 - 0x18bc7fe8  com.apple.GeForce8xxxGLDriver 1.5.36 (5.3.6) <e5d9fd7873a13fc3acc278b534337527> /System/Library/Extensions/GeForce8xxxGLDriver.bundle/Contents/MacOS/GeForce8xxxGLDriver
0x1e814000 - 0x1e8fcfef +libp3ptloader.dylib ??? (???) /Applications/Panda3D/1.6.0/lib/libp3ptloader.dylib
0x8fe00000 - 0x8fe2db43  dyld 97.1 (???) <100d362e03410f181a34e04e94189ae5> /usr/lib/dyld
0x90003000 - 0x90328fe2  com.apple.QuickTime 7.6.0 (1290) <bc0920abbbaad03f5513ac7ffbd30633> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x90329000 - 0x90351fff  libcups.2.dylib ??? (???) <81abd305142ad1b771024eb4a1309e2e> /usr/lib/libcups.2.dylib
0x90352000 - 0x90823f3e  libGLProgrammability.dylib ??? (???) <5d283543ac844e7c6fa3440ac56cd265> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x90824000 - 0x90824ff8  com.apple.Cocoa 6.5 (???) <e064f94d969ce25cb7de3cfb980c3249> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x908e9000 - 0x908f0fff  com.apple.agl 3.0.9 (AGL-3.0.9) <2f39c480cfcee9358a23d61b20a6aa56> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x908f1000 - 0x90910ffa  libJPEG.dylib ??? (???) <e7eb56555109e23144924cd64aa8daec> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x90956000 - 0x909e0fe3  com.apple.DesktopServices 1.4.7 (1.4.7) <d16642ba22c32f67be793ebfbe67ca3a> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x909e1000 - 0x909e1ffb  com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
0x90a55000 - 0x90ae1ff7  com.apple.LaunchServices 290.3 (290.3) <6f9629f4ed1ba3bb313548e6838b2888> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x90ae2000 - 0x90ae4ff5  libRadiance.dylib ??? (???) <8a844202fcd65662bb9ab25f08c45a62> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x90ae5000 - 0x90c18fff  com.apple.CoreFoundation 6.5.5 (476.17) <4a70c8dbb582118e31412c53dc1f407f> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90c19000 - 0x90c5bfef  com.apple.NavigationServices 3.5.2 (163) <91844980804067b07a0b6124310d3f31> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x90c5d000 - 0x912fdfff  com.apple.CoreGraphics 1.407.2 (???) <3a91d1037afde01d1d8acdf9cd1caa14> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x912fe000 - 0x914ccff3  com.apple.security 5.0.4 (34102) <55dda7486df4e8e1d61505be16f83a1c> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x914cd000 - 0x9152affb  libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x9152b000 - 0x91663ff7  libicucore.A.dylib ??? (???) <18098dcf431603fe47ee027a60006c85> /usr/lib/libicucore.A.dylib
0x91699000 - 0x916b7fff  libresolv.9.dylib ??? (???) <a8018c42930596593ddf27f7c20fe7af> /usr/lib/libresolv.9.dylib
0x916b8000 - 0x916b8fff  com.apple.Carbon 136 (136) <450e7e239de3f8e559c78f6473ec5149> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x916b9000 - 0x916c5ff9  com.apple.helpdata 1.0.1 (14.2) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x916c6000 - 0x916cdffe  libbsm.dylib ??? (???) <d25c63378a5029648ffd4b4669be31bf> /usr/lib/libbsm.dylib
0x916ce000 - 0x916d5fe9  libgcc_s.1.dylib ??? (???) <a9ab135a5f81f6e345527df87f51bfc9> /usr/lib/libgcc_s.1.dylib
0x917a0000 - 0x917a5fff  com.apple.CommonPanels 1.2.4 (85) <ea0665f57cd267609466ed8b2b20e893> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x917ef000 - 0x917efffd  com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x917f0000 - 0x9186aff8  com.apple.print.framework.PrintCore 5.5.3 (245.3) <222dade7b33b99708b8c09d1303f93fc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x9187b000 - 0x91891fff  com.apple.DictionaryServices 1.0.0 (1.0.0) <ad0aa0252e3323d182e17f50defe56fc> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x918ed000 - 0x9196afeb  com.apple.audio.CoreAudio 3.1.1 (3.1.1) <f35477a5e23db0fa43233c37da01ae1c> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9196b000 - 0x919b4fef  com.apple.Metadata 10.5.2 (398.25) <e0572f20350523116f23000676122a8d> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x91a24000 - 0x91b04fff  libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib
0x91b05000 - 0x91b1dff7  com.apple.CoreVideo 1.6.0 (20.0) <c0d869876af51283a160cd2224a23abf> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x91b1e000 - 0x91bcefff  edu.mit.Kerberos 6.0.12 (6.0.12) <685cc018c133668d0d3ac6a1cb63cff9> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x91bcf000 - 0x91bf7ff7  com.apple.shortcut 1 (1.0) <057783867138902b52bc0941fedb74d1> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x9224a000 - 0x92311ff2  com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x92322000 - 0x9234ffeb  libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x92607000 - 0x926c1fe3  com.apple.CoreServices.OSServices 226.5 (226.5) <2a135d4fb16f4954290f7b72b4111aa3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x936a1000 - 0x936fbff7  com.apple.CoreText 2.0.3 (???) <1f1a97273753e6cfea86c810d6277680> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x9387d000 - 0x938ceff7  com.apple.HIServices 1.7.0 (???) <01b690d1f376e400ac873105533e39eb> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x938d4000 - 0x93a1aff7  com.apple.ImageIO.framework 2.0.4 (2.0.4) <6a6623d3d1a7292b5c3763dcd108b55f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x93a82000 - 0x93a9dffb  libPng.dylib ??? (???) <4780e979d35aa5ec2cea22678836cea5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x93a9e000 - 0x93aa2fff  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x93aa3000 - 0x93adafff  com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x93c1a000 - 0x93c25fe7  libCSync.A.dylib ??? (???) <e6aceed359bd228f42bc1246af5919c9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x93c26000 - 0x93cd8ffb  libcrypto.0.9.7.dylib ??? (???) <69bc2457aa23f12fa7d052601d48fa29> /usr/lib/libcrypto.0.9.7.dylib
0x93f72000 - 0x93fcbff7  libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x93fcc000 - 0x9405fff3  com.apple.ApplicationServices.ATS 3.4 (???) <8c51de0ec3deaef416578cd59df38754> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x940af000 - 0x9432afe7  com.apple.Foundation 6.5.7 (677.22) <8fe77b5d15ecdae1240b4cb604fc6d0b> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x94399000 - 0x946a1fff  com.apple.HIToolbox 1.5.4 (???) <3747086ba21ee419708a5cab946c8ba6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x946a2000 - 0x946bafff  com.apple.openscripting 1.2.8 (???) <572c7452d7e740e8948a5ad07a99602b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x946bb000 - 0x94717ff7  com.apple.htmlrendering 68 (1.1.3) <fe87a9dede38db00e6c8949942c6bd4f> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x94718000 - 0x94721fff  com.apple.speech.recognition.framework 3.7.24 (3.7.24) <d3180f9edbd9a5e6f283d6156aa3c602> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x948b2000 - 0x94b8cff3  com.apple.CoreServices.CarbonCore 786.10 (786.10) <ec35bb05f67fe0e828d49dda88bbf6d7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x94b8d000 - 0x94b9bffd  libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x94b9c000 - 0x94c67fff  com.apple.ColorSync 4.5.1 (4.5.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x94c68000 - 0x94c69ffc  libffi.dylib ??? (???) <a3b573eb950ca583290f7b2b4c486d09> /usr/lib/libffi.dylib
0x94c6a000 - 0x94c8efff  libxslt.1.dylib ??? (???) <0a9778d6368ae668826f446878deb99b> /usr/lib/libxslt.1.dylib
0x94c8f000 - 0x94c9ffff  com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x94ca0000 - 0x94cdafe7  com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x94e76000 - 0x94e76ffd  com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x94e77000 - 0x94f1efeb  com.apple.QD 3.11.54 (???) <b743398c24c38e581a86e91744a2ba6e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x95001000 - 0x95168ff3  libSystem.B.dylib ??? (???) <d68880dfb1f8becdbdac6928db1510fb> /usr/lib/libSystem.B.dylib
0x95169000 - 0x952bbff3  com.apple.audio.toolbox.AudioToolbox 1.5.2 (1.5.2) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x952bc000 - 0x95359ffc  com.apple.CFNetwork 422.11 (422.11) <2780dfc3d2186195fccb3634bfb0944b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x9557e000 - 0x95609fff  com.apple.framework.IOKit 1.5.1 (???) <f9f5f0d070e197a832d86751e1d44545> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x9560a000 - 0x9561affc  com.apple.LangAnalysis 1.6.4 (1.6.4) <8b7831b5f74a950a56cf2d22a2d436f6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x95639000 - 0x95645ffe  libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x95646000 - 0x956cdff7  libsqlite3.0.dylib ??? (???) <6978bbcca4277d6ae9f042beff643f7d> /usr/lib/libsqlite3.0.dylib
0x9575b000 - 0x95b6bfef  libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x95b6c000 - 0x95b76feb  com.apple.audio.SoundManager 3.9.2 (3.9.2) <0f2ba6e891d3761212cf5a5e6134d683> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x95ba1000 - 0x95c34fff  com.apple.ink.framework 101.3 (86) <bf3fa8927b4b8baae92381a976fd2079> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x95c35000 - 0x95ff3fea  libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x96295000 - 0x96295ffc  com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9629d000 - 0x9631cff5  com.apple.SearchKit 1.2.1 (1.2.1) <3140a605db2abf56b237fa156a08b28b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x9631d000 - 0x96332ffb  com.apple.ImageCapture 5.0.1 (5.0.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x9634b000 - 0x9634bff8  com.apple.ApplicationServices 34 (34) <8f910fa65f01d401ad8d04cc933cf887> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x9634c000 - 0x96431ff3  com.apple.CoreData 100.1 (186) <8e28162ef2288692615b52acc01f8b54> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x96432000 - 0x964affef  libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x964b0000 - 0x96caefef  com.apple.AppKit 6.5.6 (949.43) <a3a300499bbe4f1dfebf71d752d01916> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x96caf000 - 0x96cdefe3  com.apple.AE 402.2 (402.2) <e01596187e91af5d48653920017b8c8e> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x96cdf000 - 0x96cdfffd  com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x96cfd000 - 0x96cfdffa  com.apple.CoreServices 32 (32) <2fcc8f3bd5bbfc000b476cad8e6a3dd2> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x96cfe000 - 0x96d3dfef  libTIFF.dylib ??? (???) <3589442575ac77746ae99ecf724f5f87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x96d3e000 - 0x96d40fff  com.apple.securityhi 3.0 (30817) <dbe328cd62d603a952a4226342711e8b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x96d88000 - 0x96d8fff7  libCGATS.A.dylib ??? (???) <386dce4b28448fb86e33e06ac466f4d8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x96d90000 - 0x96d98fff  com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x96dd3000 - 0x96dd7fff  libGIF.dylib ??? (???) <572a32e46e33be1ec041c5ef5b0341ae> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x96dd8000 - 0x96e19fe7  libRIP.A.dylib ??? (???) <5d0b5af7992e14de017f9a9c7cb05960> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x96e1a000 - 0x96e58ff7  libGLImage.dylib ??? (???) <1123b8a48bcbe9cc7aa8dd8e1a214a66> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x96e59000 - 0x96e66fe7  com.apple.opengl 1.5.9 (1.5.9) <7e5048a2677b41098c84045305f42f7f> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x96e67000 - 0x96e92fe7  libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x96e93000 - 0x96eb7feb  libssl.0.9.7.dylib ??? (???) <c7359b7ab32b5f8574520746e10a41cc> /usr/lib/libssl.0.9.7.dylib
0x96eeb000 - 0x96ef1fff  com.apple.print.framework.Print 218.0.2 (220.1) <8bf7ef71216376d12fcd5ec17e43742c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x96ef2000 - 0x96ef5fff  com.apple.help 1.1 (36) <b507b08e484cb89033e9cf23062d77de> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x96ef6000 - 0x97293fef  com.apple.QuartzCore 1.5.7 (1.5.7) <2fed2dd7565c84a0f0c608d41d4d172c> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0xfffe8000 - 0xfffebfff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

Thanks :slight_smile: I think it’s more than admirable that you manage to get all this together without having console access to a Mac ! :smiley: If you were located in my country, I wouldn’t hesitate to invite you over for a bugfixing session :slight_smile:


#200

Console access is all I ever had.

Thanks for the traceback. I’m not so familiar with OSX tracebacks - think you could get me a gdb traceback? Type “gdb pview” at console, then type “run” in the gdb prompt.
If it returns to the prompt with a “SIGTRAP”, hit “cont” to continue until you get a different abort: then, type “bt” to print out the traceback.


#201

When I said console access, I meant access to the keyboard/display in contrast to remote access (ssh ) :slight_smile:

I tried pview, and it runs pretty normally with no errors.

If I do however run my full project through gdb with setShaderAuto() enabled, I get the following:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0294d11c in RenderState::get_generated_shader ()
(gdb) where 
#0  0x0294d11c in RenderState::get_generated_shader ()
#1  0x0623744e in GLGraphicsStateGuardian::set_state_and_transform ()
#2  0x02b4fbf3 in CullBinStateSorted::draw ()
#3  0x02898690 in CullResult::draw ()
#4  0x02d55266 in GraphicsEngine::do_draw ()
#5  0x02d56bb9 in GraphicsEngine::draw_bins ()
#6  0x02d56ef8 in GraphicsEngine::draw_bins ()
#7  0x02d59d2a in GraphicsEngine::WindowRenderer::do_frame ()
#8  0x02d6b29e in GraphicsEngine::render_frame ()
#9  0x02d879a6 in Dtool_GraphicsEngine_render_frame_482 ()
#10 0x0018d806 in PyEval_EvalFrameEx ()
#11 0x0018f45b in PyEval_EvalCodeEx ()
#12 0x00139c27 in PyFunction_SetClosure ()
#13 0x0011fd3d in PyObject_Call ()
#14 0x001285f8 in PyMethod_New ()
#15 0x0011fd3d in PyObject_Call ()
#16 0x02dcfc6a in Thread::call_python_func ()
#17 0x02de5d2b in PythonTask::do_python_task ()
#18 0x02de7094 in AsyncTask::unlock_and_do_task ()
#19 0x02df0998 in AsyncTaskChain::service_one_task ()
#20 0x02df12c6 in AsyncTaskChain::do_poll ()
#21 0x02df137b in AsyncTaskManager::poll ()
#22 0x02e07306 in Dtool_AsyncTaskManager_poll_123 ()
#23 0x0018d806 in PyEval_EvalFrameEx ()
#24 0x0018d9e8 in PyEval_EvalFrameEx ()
#25 0x0018f45b in PyEval_EvalCodeEx ()
#26 0x0018da85 in PyEval_EvalFrameEx ()
#27 0x0018d9e8 in PyEval_EvalFrameEx ()
#28 0x0018f45b in PyEval_EvalCodeEx ()
#29 0x00139c27 in PyFunction_SetClosure ()
#30 0x0011fd3d in PyObject_Call ()
#31 0x001285f8 in PyMethod_New ()
#32 0x0011fd3d in PyObject_Call ()
#33 0x00188b15 in PyEval_CallObjectWithKeywords ()
#34 0x0012482d in PyInstance_New ()
#35 0x0011fd3d in PyObject_Call ()
#36 0x0018db1a in PyEval_EvalFrameEx ()
#37 0x0018f45b in PyEval_EvalCodeEx ()
#38 0x0018f548 in PyEval_EvalCode ()
#39 0x001a69ec in PyErr_Display ()
#40 0x001a7016 in PyRun_FileExFlags ()
#41 0x001a8982 in PyRun_SimpleFileExFlags ()
#42 0x001b3c03 in Py_Main ()
#43 0x00001fca in ?? ()
(gdb) 

#202

Mhm, that explains it, it wasn’t a debug build. Try again with the new dmg I just uploaded. It also includes a potential fix to what might be the problem, but I’m not sure.

Doesn’t pview crash too when you hit the “P” key? (sorry, I forgot to mention that.) (Also, a full traceback would be useful too, with “bt full”.)


#203

Sorry about that, I didn’t know of the “P” key :slight_smile:

Yes, it crashes.

The new dmg doesn’t seem to have debug symbols either, since even if I don’t have the sources installed, it should show something like this:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000090
0x00001fdf in main (argc=1, argv=0xbffff548) at test.c:14
14	test.c: No such file or directory.
	in test.c
(gdb) list
9	in test.c

Here’s the binary info:

machine:proj user$ ls -l /Applications/Panda3D/1.6.0/bin/pview
-rwxr-xr-x@ 1 user  admin  114096 28 feb 13:55 /Applications/Panda3D/1.6.0/bin/pview
machine:proj user$ file /Applications/Panda3D/1.6.0/bin/pview
/Applications/Panda3D/1.6.0/bin/pview: Mach-O universal binary with 2 architectures
/Applications/Panda3D/1.6.0/bin/pview (for architecture ppc7400):	Mach-O executable ppc
/Applications/Panda3D/1.6.0/bin/pview (for architecture i386):	Mach-O executable i386

Here is the gdb output from the latest version:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x02da7caf in RenderState::get_generated_shader ()
(gdb) where
#0  0x02da7caf in RenderState::get_generated_shader ()
#1  0x01126136 in GLGraphicsStateGuardian::set_state_and_transform ()
#2  0x02faa923 in CullBinStateSorted::draw ()
#3  0x02ceda10 in CullResult::draw ()
#4  0x031c2ad6 in GraphicsEngine::do_draw ()
#5  0x031c4429 in GraphicsEngine::draw_bins ()
#6  0x031c4768 in GraphicsEngine::draw_bins ()
#7  0x031c759a in GraphicsEngine::WindowRenderer::do_frame ()
#8  0x031d8b0e in GraphicsEngine::render_frame ()
#9  0x00068a7b in PandaFramework::task_igloop ()
#10 0x03251874 in GenericAsyncTask::do_task ()
#11 0x03255cf4 in AsyncTask::unlock_and_do_task ()
#12 0x0325f5f8 in AsyncTaskChain::service_one_task ()
#13 0x0325ff26 in AsyncTaskChain::do_poll ()
#14 0x0325ffdb in AsyncTaskManager::poll ()
#15 0x00068a45 in PandaFramework::do_frame ()
#16 0x00068c0c in PandaFramework::main_loop ()
#17 0x00002d80 in main ()
(gdb) bt full
#0  0x02da7caf in RenderState::get_generated_shader ()
No symbol table info available.
#1  0x01126136 in GLGraphicsStateGuardian::set_state_and_transform ()
No symbol table info available.
#2  0x02faa923 in CullBinStateSorted::draw ()
No symbol table info available.
#3  0x02ceda10 in CullResult::draw ()
No symbol table info available.
#4  0x031c2ad6 in GraphicsEngine::do_draw ()
No symbol table info available.
#5  0x031c4429 in GraphicsEngine::draw_bins ()
No symbol table info available.
#6  0x031c4768 in GraphicsEngine::draw_bins ()
No symbol table info available.
#7  0x031c759a in GraphicsEngine::WindowRenderer::do_frame ()
No symbol table info available.
#8  0x031d8b0e in GraphicsEngine::render_frame ()
No symbol table info available.
#9  0x00068a7b in PandaFramework::task_igloop ()
No symbol table info available.
#10 0x03251874 in GenericAsyncTask::do_task ()
No symbol table info available.
#11 0x03255cf4 in AsyncTask::unlock_and_do_task ()
No symbol table info available.
#12 0x0325f5f8 in AsyncTaskChain::service_one_task ()
No symbol table info available.
#13 0x0325ff26 in AsyncTaskChain::do_poll ()
No symbol table info available.
#14 0x0325ffdb in AsyncTaskManager::poll ()
No symbol table info available.
#15 0x00068a45 in PandaFramework::do_frame ()
No symbol table info available.
#16 0x00068c0c in PandaFramework::main_loop ()
No symbol table info available.
#17 0x00002d80 in main ()
No symbol table info available.
(gdb) 

#204

Darn it. Must be a bug in makepanda.
I’ve made it print some debug info now - can you try the new dmg?