I'm seeing a crash in Render in Image in 10.6 if I change the Texture Target from Rectangle to 2D and then turn Texture Mipmapping on, but only in some situations. The enclosed composition crashes reliably if I perform the following steps:

1. Launch Quartz Composer with only this composition open, and open the Viewer if not already open.
2. Open Input Parameters Inspector for the Render in Image Patch.
3. Change Texture Target from "Rectangle" to "2D".
4. Check "Texture Mipmapping" to turn it on.
5. Crash.

I'm away from home so can only test this on a MacBook with GMA 950 on 10.6. I wonder if anyone can reproduce it?


Reproduced on 10.6.1/Nvidia 8800GT (MBPro)

here's the relevant backtrace:

Process:         Quartz Composer [85346]
Path: /Developer/Applications/Quartz Composer.app/Contents/ MacOS/Quartz Composer
Identifier:      com.apple.QuartzComposer.editor
Version:         4.0 (103.1)
Build Info:      QuartzComposerEditor-1030100~1
Code Type:       X86-64 (Native)
Parent Process:  launchd [146]

Date/Time:       2009-09-17 09:48:42.986 -0400
OS Version:      Mac OS X 10.6.1 (10B504)
Report Version:  6

Interval Since Last Report:          623215 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  122 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID: FF942071- FBBF-4AC4-8319-46A08A3C2376

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000000ba
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0 com.apple.GeForce8xxxGLDriver 0x0000000200022cdd gldDestroyVertexArray + 17165 1 com.apple.GeForce8xxxGLDriver 0x0000000200022f16 gldDestroyVertexArray + 17734 2 com.apple.GeForce8xxxGLDriver 0x0000000200026965 gldUpdateDispatch + 1445 3 com.apple.GeForce8xxxGLDriver 0x0000000200032625 gldGetQueryInfo + 27653 4 GLEngine 0x00000001142e9e1d gleGenMipmaps + 194 5 GLEngine 0x00000001141e4ccf glTexImage2D_Exec + 957 6 com.apple.QuartzComposer 0x00007fff809ce2d0 - [QCImageTextureBuffer beginRenderTexture:colorSpace:virtualScreen:] + 1513 7 com.apple.QuartzComposer 0x00007fff80a10bd8 - [QCRenderInImage _executeSubpatches:arguments:] + 1916 8 com.apple.QuartzComposer 0x00007fff809b1e22 - [QCPatch(Customization) nextExecutionTimeForSubpatches:time:arguments:] + 107 9 com.apple.QuartzComposer 0x00007fff809b1d64 - [QCPatch(Customization) nextExecutionTime:time:arguments:] + 74 10 com.apple.QuartzComposer 0x00007fff809b1cc0 - [QCPatch(Private) _nextExecutionTime:arguments:] + 704 11 com.apple.QuartzComposer 0x00007fff809b1905 - [QCPatch(Private) __execute:arguments:] + 653 12 com.apple.QuartzComposer 0x00007fff809b15fd - [QCPatch(Private) _execute:arguments:] + 2289 13 com.apple.QuartzComposer 0x00007fff809b232b -[QCPort _execute:arguments:] + 419 14 com.apple.QuartzComposer 0x00007fff809b142e - [QCPatch(Private) _execute:arguments:] + 1826 15 com.apple.QuartzComposer 0x00007fff809b2051 - [QCPatch(Private) _executeSubpatches:arguments:] + 290 16 com.apple.QuartzComposer 0x00007fff809b1e64 - [QCPatch(Customization) nextExecutionTimeForSubpatches:time:arguments:] + 173 17 com.apple.QuartzComposer 0x00007fff809b1d64 - [QCPatch(Customization) nextExecutionTime:time:arguments:] + 74 18 com.apple.QuartzComposer 0x00007fff809b1cc0 - [QCPatch(Private) _nextExecutionTime:arguments:] + 704 19 com.apple.QuartzComposer 0x00007fff809b195a - [QCPatch(Private) __execute:arguments:] + 738 20 com.apple.QuartzComposer 0x00007fff809b15fd - [QCPatch(Private) _execute:arguments:] + 2289 21 com.apple.QuartzComposer 0x00007fff809af6cd -[QCContext nextExecutionTimeForPatch:time:arguments:] + 455 22 com.apple.QuartzComposer 0x00007fff809af504 - [QCGraphicsContext nextExecutionTimeForPatch:time:arguments:] + 39 23 com.apple.QuartzComposer 0x00007fff809af2d3 - [QCOpenGLContext nextExecutionTimeForPatch:time:arguments:] + 469 24 ...apple.QuartzComposer.editor 0x000000010000d5f2 0x100000000 + 54770 25 com.apple.QuartzComposer 0x00007fff809f706d -[QCView render:arguments:] + 379 26 com.apple.AppKit 0x00007fff857c938a -[NSView _drawRect:clip:] + 3390
...

Hard to tell if that's a QC bug or not... If I use an image with dimensions that are a power of two (512x512, for example), it's totally stable for me, otherwise it's hit or miss :/

On the plus side, MipMapping works as expected now!  very hot.

--
[ christopher wright ]
[email protected]
http://kineme.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to