Announcement

Collapse
No announcement yet.

CD4 chrashes when using node mat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CD4 chrashes when using node mat

    Hi there,

    impressive to see that you guys made node-based shading work for V-Ray in CD4 !!

    While doing my first tests I came across the issue that CD4 crashes whenever I load a large ( 64MB) bitmap into the b bitmap-generator input when it is connected to the diffuse color of the node material.
    I hope I described everything technically correct. Please see the screenshot where I loaded a small jpg just to show where I did put it.

    Many thanks for looking into this !
    Best,
    Sven

  • #2
    Hey SvenH,

    Does this happen when you load any large bitmap or with a specific one? I've just tested loading a 133mb bitmap and it seems fine on my end, but I might be missing something. Have you made any adjustments in the Bitmap's settings? Any additional details would be greatly appreciated!
    Nikoleta Garkova | chaos.com

    Comment


    • #3
      Hi SvenH, I couldn't reproduce the issue with a 16k png (85MB). Could you give some additional details on operating system, version of C4D, what type of image you are trying to load? It would be even better if you could provide us with a crash dump (instructions here - we will need the .dmp file as well).
      Deyan Hadzhiev
      Developer
      chaos.com

      Comment


      • #4
        Hi Deyan,

        here you go. This is all I could catch:
        File trouble causing file is from an Arroway library I guess. I added a screenshot. It is on disk ca. 64MB large
        Attached Files

        Comment


        • #5
          Does the crash occur when the file is used in a classic V-Ray Material?

          Also, could you check if you have similar directory in your user directory and send the bug report files inside?
          Code:
          ./Library/Preferences/MAXON/Maxon Cinema 4D <version>/_bugreports
          where <version> would be your Cinema 4D version followed by additional characters. For example the full directory would be something like:
          Code:
          /Users/johndoe/Library/Preferences/MAXON/Maxon Cinema 4D R23_2FE1299C/_bugreports
          Deyan Hadzhiev
          Developer
          chaos.com

          Comment


          • #6
            Hello Deyan,

            no this crash does not appear when I use the file in a classic material setup.
            My other crashreport is attached here. I have no other in the given directory, sorry.
            This one here is what CD4 wants to send to maxon
            Attached Files

            Comment


            • #7
              Hello SvenH ,

              I apologize for the delayed reply.

              Our developers checked the crash report and it seems like the crash could be related to the default Mac system limitations for open file descriptors.

              Could you open a terminal and execute the following code to see if C4D will crash again:
              Code:
              # This checks the current limits for the user
              launchctl limit maxfiles
              
              # This changes the current limits for the user
              sudo launchctl limit maxfiles 8192 20000
              Keep in mind that this is only for testing and changing the limits that way will not be persistent and will only last for the current session. Restarting your machine will reset this limit.
              Aleksandar Kasabov
              chaos.com

              Comment

              Working...
              X