lawrence191 / simbl

Automatically exported from code.google.com/p/simbl
0 stars 0 forks source link

Could not find object file "/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-normal/i386/NSAlert_SIMBL.o" #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am the author of MenuBarHider (http://github.com/Crazor/MenuBarHider).

This plugin simly issues SetSystemUIMode() to hide the menu bar. Since this has 
to be done for every app, I have the following code to the info.plist:

    <key>SIMBLTargetApplications</key>
    <array>
        <dict>
            <key>BundleIdentifier</key>
            <string>*</string>
        </dict>
    </array>

This works good, but users reported that Eclipse 32 and 64 bit crash on load. I 
tracked the crash down to the following error:

warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/i386/NSAlert_SIMBL.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/NSAlert_SIMBL.m".

warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/i386/SIMBL-4A64B91627DFD16A.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/SIMBL.m".

warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/i386/SIMBLPlugin.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/SIMBLPlugin.m".

So either SIMBL tries to warn be about a version mismatch 
(http://code.google.com/p/simbl/source/browse/src/SIMBL.m#247, which I don't 
suppose, since I don't specify any versions) or an error happens when loading 
the bundle (http://code.google.com/p/simbl/source/browse/src/SIMBL.m#277).

Anyway, the error sheet can't be shown for some reason.

The issue on our side is https://github.com/Crazor/MenuBarHider/issues#issue/3

Original issue reported on code.google.com by crazor on 7 Nov 2010 at 10:18

GoogleCodeExporter commented 8 years ago
Does the application actually crash or are you just seeing some warnings in the 
log?

As an aside, loading SIMBL into ever application isn't really a fabulous idea.  
If you want to mess with something like menubar hiding, look at 
http://code.google.com/p/blacktree-nocturne. This needs no plugin.

Original comment by ms...@gmail.com on 7 Nov 2010 at 10:59

GoogleCodeExporter commented 8 years ago
It crashes.

Nocturne doesn't seem helpful, it can't auto-hide the Menu Bar.

Original comment by crazor on 7 Nov 2010 at 11:33

GoogleCodeExporter commented 8 years ago

Original comment by ms...@gmail.com on 12 Jul 2011 at 6:22

GoogleCodeExporter commented 8 years ago
Why are you marking this as invalid? Just because you don't like plugins that 
run in every app?

Original comment by crazor on 13 Jul 2011 at 4:29

GoogleCodeExporter commented 8 years ago
It can't be reproduced by me and it has been idle for months.

Original comment by ms...@gmail.com on 13 Jul 2011 at 10:25

GoogleCodeExporter commented 8 years ago
This bug is still active and is REALLY ANNOYING.

In xCode, and various other Applications, there are varying degrees of 
crashiness and excessive logging...

For example, sometimes when building a WebKit enabled app in xCode, I have to 
literally take SIMBL out of the plugins folder, and restart to be able to 
compile...

"sharedlibrary apply-load-rules all
warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/x86_64/NSAlert_SIMBL.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/NSAlert_SIMBL.m".

warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/x86_64/SIMBL-4A64B91627DFD16A.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/SIMBL.m".

warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/x86_64/SIMBLPlugin.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/SIMBLPlugin.m"."

Why are these dev-local, relative PATHS mentioned anywhere in a distributed 
binary?  Poor project setup or incorrect compile options, no doubt.  

And I'll check after I post this.. but can we please silence the...

"SIMBL Agent: warning: failed to get scripting definition from 
/Users/username/Library/......; it may not be scriptable."

as well as..

"Performance: Please update this scripting addition to supply a value for 
ThreadSafe for each event handler...."

Original comment by a...@mrgray.com on 30 Aug 2011 at 8:25

GoogleCodeExporter commented 8 years ago
If you want to fix the object issue, propose a change.

Those other console messages are gone if you ran the installer correctly.

Original comment by ms...@gmail.com on 31 Aug 2011 at 1:38

GoogleCodeExporter commented 8 years ago
I get this message in the Xcode debug console when I run my cocoa app. How can 
this be fixed? Why are these errors happening. I am running Mountain Lion and 
the lates SIMBL 0.9.9

This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys001
sharedlibrary apply-load-rules all
[Switching to process 36848 thread 0x0]
warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/x86_64/NSAlert_SIMBL.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/NSAlert_SIMBL.m".

warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/x86_64/SIMBL-4A64B91627DFD16A.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/SIMBL.m".

warning: Could not find object file 
"/Users/mike/Projects/simbl/build/SIMBL.build/Deployment/SIMBL.build/Objects-nor
mal/x86_64/SIMBLPlugin.o" - no debug information available for 
"/Users/mike/Projects/simbl/src/SIMBLPlugin.m".

warning: Could not find object file 
"/Users/gnz/XcodeProject/ColorfulSidebar2/ColorfulSidebar/build/ColorfulSidebar.
build/Release/ColorfulSidebar.build/Objects-normal/x86_64/CVZCSController.o" - 
no debug information available for 
"/Users/gnz/XcodeProject/ColorfulSidebar2/ColorfulSidebar/CVZCSController.m".

Original comment by WyattBi...@gmail.com on 4 Oct 2012 at 4:13

GoogleCodeExporter commented 8 years ago
+1 on this, it's irritating. Since installing SIMBL I'm getting the same issues 
in xcode and none of my apps are debugging.

Original comment by gavin.wi...@fishrod.co.uk on 10 Jan 2013 at 5:57

GoogleCodeExporter commented 8 years ago
Correcting this will probably solve the problem 
http://code.google.com/p/simbl/source/browse/pkg/SIMBL.pmdoc/01simbl.xml?name=SI
MBL-0.9.9

Original comment by gavin.wi...@fishrod.co.uk on 10 Jan 2013 at 5:59