madesjardins / Obq_Shaders

Obq_Shaders for Arnold
53 stars 9 forks source link

shaders with sdk 4.2.9, crashes #4

Closed ilayshp closed 9 years ago

ilayshp commented 9 years ago

Hello Have you test shaders with sdk 4.2.9 got crashes from c4d

CINEMA_4D_Crash_Report_WINDOWS
{
    Call_Stacks
    {
        Call_Stack_Thread_9072
        {
            ai.dll: AiMakeRay + 0x14315 (SP: 0x000000FE404BE248, PC: 0x000000FE24583155)
            ai.dll: AiTrace + 0x1d81 (SP: 0x000000FE404BE260, PC: 0x000000FE245B7101)
            Obq_Shaders__Core__v307.dll:    0x000007FDF10FEC4C (SP: 0x000000FE404BE800, PC: 0x000007FDF10FEC4C)
            ai.dll: AiShaderEvalParamFuncArray + 0xa85 (SP: 0x000000FE404BEBE0, PC: 0x000000FE242EE3F5)
            ai.dll: AiShaderEvalParamFuncArray + 0x593 (SP: 0x000000FE404BEC30, PC: 0x000000FE242EDF03)
            ai.dll: AiShaderEvalParamFuncRGB + 0x114 (SP: 0x000000FE404BED00, PC: 0x000000FE244DF3B4)
            ai.dll: AiNodeGetStrAtString + 0x5a9 (SP: 0x000000FE404BED70, PC: 0x000000FE244E3359)
            ai.dll: AiShaderEvalParamFuncArray + 0xa85 (SP: 0x000000FE404BF340, PC: 0x000000FE242EE3F5)
            ai.dll: AiTrace + 0xe5d (SP: 0x000000FE404BF390, PC: 0x000000FE245B61DD)
            ai.dll: AiMsgDebug + 0x50cc (SP: 0x000000FE404BF930, PC: 0x000000FE244AB0EC)
            ai.dll: AiMsgDebug + 0x4233 (SP: 0x000000FE404BFC20, PC: 0x000000FE244AA253)
            ai.dll: AiShaderGlobalsEdgeLength + 0x198a (SP: 0x000000FE404BFD40, PC: 0x000000FE244ED01A)
            MSVCR90.dll:    endthreadex + 0x47 (SP: 0x000000FE404BFD90, PC: 0x00000000650F2FDF)
            MSVCR90.dll:    endthreadex + 0xe8 (SP: 0x000000FE404BFDC0, PC: 0x00000000650F3080)
            KERNEL32.DLL:   BaseThreadInitThunk + 0x1a (SP: 0x000000FE404BFDF0, PC: 0x000007FE29351832)
            ntdll.dll:  RtlUserThreadStart + 0x21 (SP: 0x000000FE404BFE20, PC: 0x000007FE2D0AD609)
            Registers
            {
                rax: 0x0000000100001237 rbx: 0x000000fe25381f90 rcx: 0x0000000000000005 rdx: 0xfffffffffffffffe
                rdi: 0x0000000000000001 rsi: 0x0000000000000100 rbp: 0x000000fe404be2a0 rsp: 0x000000fe404be248
                r8: 0x00000000000010e5 r9: 0x000000006af9ba6e r10: 0x000000fe25626a80 r11: 0x0000000000000019
                r12: 0x00000000cc0ca123 r13: 0x00000000000000ad r14: 0x00000000fffffffe r15: 0x000000fe40ef5c10
                eflags: 0x0000000000010202 rip: 0x000000fe24583155 cs: 0x0000000000000033 ds: 0x000000000000002b
                es: 0x000000000000002b fs: 0x0000000000000053 gs: 0x000000000000002b ss: 0x000000000000002b
                ContextFlags: 0x000000000010001f MxCsr: 0x0000000000001fa8 dr0: 0x0000000000000000 dr1: 0x0000000000000000
                dr2: 0x0000000000000000 dr3: 0x0000000000000000 dr6: 0x0000000000000000 dr7: 0x0000000000000000
                xmm0: 0x00000000000000000000000042884e80 xmm1: 0x0000000000000000000000003f442000 xmm2: 0x000000000000000000000000c0362f92 xmm3: 0x000000000000000000000000bf11bfa8
                xmm4: 0x00000000bef91a863ee472b141c80000 xmm5: 0x00000000be5042d03e4716203c12cb00 xmm6: 0x00000000000000003ff49ac5fb8b8000 xmm7: 0x00000000000000000000000038d1b717
                xmm8: 0x0000000000000000000000003f7d70a4 xmm9: 0x00000000000000000000000000000000 xmm10: 0x0000000000000000000000003dcccccd xmm11: 0x0000000000000000000000003df8f5aa
                xmm12: 0x0000000000000000000000003f800000 xmm13: 0x000000000000000000000000bc09e4b0 xmm14: 0x000000000000000000000000409ffffe xmm15: 0x0000000000000000000000003fe00000

            }
            Variables
            {
                ThreadName = unknown
            }
        }
madesjardins commented 9 years ago

Hello, It probably needs to be recompiled with the latest Arnold build, I'll try

to do it tomorrow, thanks.

MaD On Sep 29, 2015 11:16 PM, "ilayshp" notifications@github.com wrote:

Hello Have you test shaders with sdk 4.2.9 got crashes from c4d

CINEMA_4D_Crash_Report_WINDOWS { Call_Stacks { Call_Stack_Thread_9072 { ai.dll: AiMakeRay + 0x14315 (SP: 0x000000FE404BE248, PC: 0x000000FE24583155) ai.dll: AiTrace + 0x1d81 (SP: 0x000000FE404BE260, PC: 0x000000FE245B7101) Obq_ShadersCorev307.dll: 0x000007FDF10FEC4C (SP: 0x000000FE404BE800, PC: 0x000007FDF10FEC4C) ai.dll: AiShaderEvalParamFuncArray + 0xa85 (SP: 0x000000FE404BEBE0, PC: 0x000000FE242EE3F5) ai.dll: AiShaderEvalParamFuncArray + 0x593 (SP: 0x000000FE404BEC30, PC: 0x000000FE242EDF03) ai.dll: AiShaderEvalParamFuncRGB + 0x114 (SP: 0x000000FE404BED00, PC: 0x000000FE244DF3B4) ai.dll: AiNodeGetStrAtString + 0x5a9 (SP: 0x000000FE404BED70, PC: 0x000000FE244E3359) ai.dll: AiShaderEvalParamFuncArray + 0xa85 (SP: 0x000000FE404BF340, PC: 0x000000FE242EE3F5) ai.dll: AiTrace + 0xe5d (SP: 0x000000FE404BF390, PC: 0x000000FE245B61DD) ai.dll: AiMsgDebug + 0x50cc (SP: 0x000000FE404BF930, PC: 0x000000FE244AB0EC) ai.dll: AiMsgDebug + 0x4233 (SP: 0x000000FE404BFC20, PC: 0x000000FE244AA253) ai.dll: AiShaderGlobalsEdgeLength + 0x198a (SP: 0x000000FE404BFD40, PC: 0x000000FE244ED01A) MSVCR90.dll: endthreadex + 0x47 (SP: 0x000000FE404BFD90, PC: 0x00000000650F2FDF) MSVCR90.dll: endthreadex + 0xe8 (SP: 0x000000FE404BFDC0, PC: 0x00000000650F3080) KERNEL32.DLL: BaseThreadInitThunk + 0x1a (SP: 0x000000FE404BFDF0, PC: 0x000007FE29351832) ntdll.dll: RtlUserThreadStart + 0x21 (SP: 0x000000FE404BFE20, PC: 0x000007FE2D0AD609) Registers { rax: 0x0000000100001237 rbx: 0x000000fe25381f90 rcx: 0x0000000000000005 rdx: 0xfffffffffffffffe rdi: 0x0000000000000001 rsi: 0x0000000000000100 rbp: 0x000000fe404be2a0 rsp: 0x000000fe404be248 r8: 0x00000000000010e5 r9: 0x000000006af9ba6e r10: 0x000000fe25626a80 r11: 0x0000000000000019 r12: 0x00000000cc0ca123 r13: 0x00000000000000ad r14: 0x00000000fffffffe r15: 0x000000fe40ef5c10 eflags: 0x0000000000010202 rip: 0x000000fe24583155 cs: 0x0000000000000033 ds: 0x000000000000002b es: 0x000000000000002b fs: 0x0000000000000053 gs: 0x000000000000002b ss: 0x000000000000002b ContextFlags: 0x000000000010001f MxCsr: 0x0000000000001fa8 dr0: 0x0000000000000000 dr1: 0x0000000000000000 dr2: 0x0000000000000000 dr3: 0x0000000000000000 dr6: 0x0000000000000000 dr7: 0x0000000000000000 xmm0: 0x00000000000000000000000042884e80 xmm1: 0x0000000000000000000000003f442000 xmm2: 0x000000000000000000000000c0362f92 xmm3: 0x000000000000000000000000bf11bfa8 xmm4: 0x00000000bef91a863ee472b141c80000 xmm5: 0x00000000be5042d03e4716203c12cb00 xmm6: 0x00000000000000003ff49ac5fb8b8000 xmm7: 0x00000000000000000000000038d1b717 xmm8: 0x0000000000000000000000003f7d70a4 xmm9: 0x00000000000000000000000000000000 xmm10: 0x0000000000000000000000003dcccccd xmm11: 0x0000000000000000000000003df8f5aa xmm12: 0x0000000000000000000000003f800000 xmm13: 0x000000000000000000000000bc09e4b0 xmm14: 0x000000000000000000000000409ffffe xmm15: 0x0000000000000000000000003fe00000

        }
        Variables
        {
            ThreadName = unknown
        }
    }

— Reply to this email directly or view it on GitHub https://github.com/obliquefx/Obq_Shaders/issues/4.

ilayshp commented 9 years ago

Hello Thank you I forgot to add, mostly crashes at surface shaders. Bug-report is for Atmosphere shader

AndrewHazelden commented 9 years ago

Hi ilayshp and Marc-Antoine.

The Atmosphere and several other shaders also crash on Maya / MtoA too. I suspect the root issue is something that is specific to the shaders XSI-ism's or SPDL based PPG code that isn't initialized in the purely .mtd metadata based initialization setup of the OBQ shaders in Cinema4D.

ilayshp commented 9 years ago

Hello to all Seems i resolved it I made mistake, I change setup > atmosphere's out was linked kd_color of standard node/material, i forgot that atmosphere is surface node. So relink as main node Next, i or owner of git can close this issue