Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

What is metrics.dylib?

 Post Reply Post Reply
Author
Message
NiklasR View Drop Down
Member
Member


Joined: 2010 Dec 13
Location: Germany
Online Status: Offline
Posts: 2558
Post Options Post Options   Quote NiklasR Quote  Post ReplyReply Direct Link To This Post Topic: What is metrics.dylib?
    Posted: 2017 Nov 25 at 6:06am

User Information:

Cinema 4D Version:    
Platform:      
Language(s):       

---------

Hi! Just a quick question: We get a crash in metrics.dylib, probably caused by Python code. What kind of
plugins does metrics.dylib register? I have no clue, but knowing might give a hunch of what could have
caused the crash.

Thanks,
-Niklas
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1599
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Nov 27 at 5:27am
Hi Niklas,

the metrics module contains the user participation (the statistics about usage of C4D, if the user agrees for them to be collected). Actually this module contains nothing a 3rd party developer could interact with.

Can you provide us with some more details? Version of Cinema? A crash report or call stack?

Cheers,
Andreas
SDK Support Engineer
Back to Top
NiklasR View Drop Down
Member
Member


Joined: 2010 Dec 13
Location: Germany
Online Status: Offline
Posts: 2558
Post Options Post Options   Quote NiklasR Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Nov 27 at 6:08am
I only have the user crash report, he says he opened our plugin window and it crashed. Maybe this is
a rare one. I'm surprised about the amount of CRITICAL messages in the log. I doubt that this many
could originate from our plugin, seeing as

(1) the user said it crashed right after opening the plugin
(2) another crash the user reported was after longer usage of the plugin, and the report contains not a single Critical log entry

Here's the one crash inside metrics.dylib

_BugReport.txt (link to https://ufile.io/kehyl -- care, there's ads)



Edited by NiklasR - 2017 Nov 27 at 6:10am
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1599
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Nov 28 at 9:34am
Hi Niklas,

the CriticalStops are attempts to initialize a GeData with an unknown datatype with an ID below DA_CUSTOMDATATYPE. This may also happen, when setting (and by this initializing) an entry of a BaseContainer. Given the amount of installed 3rd party plugins, this may be a bit hard to track down.

If I find anything regarding the crash in metrics module, I'll get back to you.

Cheers,
Andreas
SDK Support Engineer
Back to Top
NiklasR View Drop Down
Member
Member


Joined: 2010 Dec 13
Location: Germany
Online Status: Offline
Posts: 2558
Post Options Post Options   Quote NiklasR Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Nov 28 at 5:32pm
Thanks Andreas -- meanwhile I'll try other means to track it down. :)
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.109 seconds.