Help with understanding error message.

Help with understanding error message.

Postby honoluludesktop » Tue Jun 07, 2011 11:57 pm

I have a plugin user that is getting unusual Ruby console error messages, and experiencing SketchUp failure. The plugin has been in use for some time now, and this is is the first time this kind of failure has been mentioned. Each date marks the beginning of each line in the error message.

I have no idea what the following suggest. Help, anyone?

6/6/11 7:13:11 PM [0x0-0x1f01f].com.google.sketchupfree8[284] Intrinsic Alchemy v3.3 Beta-0702 (Dynamic/Release)
6/6/11 7:13:11 PM [0x0-0x1f01f].com.google.sketchupfree8[284] Built by keyhole-build on Fri Jul 2 00:00:00 2010
6/6/11 7:13:13 PM SketchUp[284] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
6/6/11 7:13:13 PM SketchUp[284] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
6/6/11 7:13:17 PM [0x0-0x1f01f].com.google.sketchupfree8[284] objc[284]: Class SKTextPath is implemented in both /Applications/Google SketchUp 8/SketchUp.app/Contents/MacOS/SketchUp and /Applications/Google SketchUp 8/SketchUp.app/Contents/MacOS/../Frameworks/SAPI.framework/Versions/A/SAPI. One of the two will be used. Which one is undefined.
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] objc[284]: Class SKTextPath is implemented in both /Applications/Google SketchUp 8/SketchUp.app/Contents/MacOS/SketchUp and /Applications/Google SketchUp 8/SketchUp.app/Contents/MacOS/../Frameworks/slapi.framework/Versions/A/slapi. One of the two will be used. Which one is undefined.
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] SketchUp(284,0xa0582540) malloc: *** error for object 0xa068fdb0: pointer being freed was not allocated
6/6/11 7:13:18 PM [0x0-0x1f01f].com.google.sketchupfree8[284] *** set a breakpoint in malloc_error_break to debug
0
User avatar
honoluludesktop 
In Remembrance
 

Re: Help with understanding error message.

Postby honoluludesktop » Wed Jun 08, 2011 9:34 am

Bump, Any guesses?
0
User avatar
honoluludesktop 
In Remembrance
 

Re: Help with understanding error message.

Postby TIG » Wed Jun 08, 2011 10:06 am

So I deduce it's a MAC and the weird 'plist' errors seem to relate to a missing ';' ?
When you use Sketchup.read/write_defaults() these keys/values go into the PC's Registry or the MAC's 'plist'.
So I suspect that somehow one of your tool's entries is/was corrupted.
If it were a PC you could manually edit the Registry with 'regedit' and delete the entry - then the next time the tool runs a new entry will get added. Assuming there's no 'string' in the entry that's causing the corruption all should then work...
I assume the equivalent MAC tool is something like 'PlistEdit' ???
It may well be that the user needs to reinstall SUp on his MAC as the error might point to a deeper problem than something your tool does to the plist :?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Help with understanding error message.

Postby honoluludesktop » Wed Jun 08, 2011 11:23 am

TIG, Thanks. Yes, it is a Mac. My plugin uses the registry to store the plugin's user's options. Is there any reasonable chance that my plugin is causing the problems?

His problem has never happened on my PC, but because I do not have access to a Mac, I am unable to test my plugin on one. No other Mac user has reported this problem. It's happened on his machine at least two times with clean SU installs.

What about the first error message line that has a reference to another application Intrinsic Alchemy v3.3 Beta-0702. Google indicates that this is a game graphics development platform. Any guess why that is showing up in SketchUp's ruby console?

Could my plugin's register name be the same as one in Intrinsic Alchemy?
0
User avatar
honoluludesktop 
In Remembrance
 

Re: Help with understanding error message.

Postby TIG » Wed Jun 08, 2011 11:44 am

There's clearly something adrift in the MAC's plist.
Presumably your section name/keys are relatively sensible and unique - it goes into the Sketchup section as a section/key/value - so it shouldn't clash with other Apps. I guess there's nothing weird in your section-name or the key/values that might somehow corrupt the plist's text ?
It may well be that another app is messing with the plist and it's only being manifest in your tool...
Have you tried making another section/key set for him to try and see if that ameliorates the issue ?
I hope whatever you're writing to the plist has no ';' in it... it if did and these were somehow exposed to the other entries it could cause a miscount and errors ??
I suspect it's this 'Alchemy' tool breaking the plist and thereby your tool rather than your breaking it...
Your tool will be writing relatively simple entries, the 'Alchemy' thing might write much more complex stuff that then makes this error........
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Help with understanding error message.

Postby honoluludesktop » Wed Jun 08, 2011 12:01 pm

My section_name is honoluludesktop, I assumed very unique, and there is no ";" in the data string. I do use ":" however, to seperate the data. I have not tried making another section/key yet. Thanks for the advice. I will post my progress as it unfolds.
0
User avatar
honoluludesktop 
In Remembrance
 

Re: Help with understanding error message.

Postby driven » Wed Jun 08, 2011 12:59 pm

honoluludesktop wrote:What about the first error message line that has a reference to another application Intrinsic Alchemy v3.3 Beta-0702. Google indicates that this is a game graphics development platform. Any guess why that is showing up in SketchUp's ruby console?

Could my plugin's register name be the same as one in Intrinsic Alchemy?


this is part of SU Mac... possibly to do with 3D warehouse or PhotoTexture or license checking, it's always there, as is the pointer being freed not allocated.

if I run audit with and without yours this is the only error that shows.

08/06/2011 12:15:45 [0x0-0x18f18f].com.google.sketchupfree8[6416] /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/Dxf_In_v2.2.rb:823: warning: don't put space before argument parentheses
which is minor...

I don't get any messages about CFPropertyListCreateFromXMLData(): : Old-style plist parser: missing semicolon in dictionary. it may be a OSX 10.6 using a new style Plist parser, but it has actually skipped past that and continued loading so I doubt that's causing a crash.

if someone else with 10.6 could run console starts with and without your plugin and compare those results, it will show if it's yours...

I can't find you in my plist, maybe that's why it sort of works...

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: Help with understanding error message.

Postby honoluludesktop » Wed Jun 08, 2011 1:15 pm

Thanks, driven, I have asked the plugin user to attempt your suggestion. If it sort of works.....any suggestions how to handle my code so that it works?
0
User avatar
honoluludesktop 
In Remembrance
 

Re: Help with understanding error message.

Postby driven » Wed Jun 08, 2011 2:24 pm

by sort of works I mean that on some files I get the error messages, but it still outputs the 3d model correctly, on others it I get no errors or model.

a small set of 'known to work files' would be useful to try and debug, I've only had a 'play' so far, and don't often need dxf...
john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: Help with understanding error message.

Postby Dan Rathbun » Wed Jun 08, 2011 8:07 pm

Could this possibly only happen if the model has errors?

Perhaps run a Validity Check on the model before running the plugin? (Disregard if it's a import plugin.)

Could be his plist is corrupted. The user may need to delete it, and let Sketchup rebuild it.

Alchemy is also on the PC, but in the form of a DLL.

I would suggest sending your first post to Google thru the contact webform... or post to the Google Sketchup Technical Problems forum. A Googler Team member is likely to be the best help for this issue.
0
    I'm not here much anymore. But a PM will fire email notifications.
    User avatar
    Dan Rathbun 
    PluginStore Author
    PluginStore Author
     

    Re: Help with understanding error message.

    Postby honoluludesktop » Wed Jun 08, 2011 8:35 pm

    Thanks Dan, will follow up here with progress.
    0
    User avatar
    honoluludesktop 
    In Remembrance
     

    Re: Help with understanding error message.

    Postby mysterd429 » Wed Jun 08, 2011 10:49 pm

    honoluludesktop wrote:Thanks Dan, will follow up here with progress.


    Hi all. I'm the user in question. So, I literally just discovered that the crashing seems occur only when I push the escape key to dismiss the splash screen. I have not had any problems in the past few minutes, so this may not be an issue at all with the plugin. It seems to happen even if I don't have the plugin installed. The reason I wasn't getting this after reinstalling is that SU required me to pick a template, so the escape key didn't work. How about that?
    0

    mysterd429 
     

    SketchUcation One-Liner Adverts

    by Ad Machine » 5 minutes ago



    Ad Machine 
    Robot
     



     

    Return to Developers' Forum

    Who is online

    Users browsing this forum: No registered users and 6 guests

    Visit our sponsors: