Also answering on Mark's question.

$ pwd
/Users/mnaganov/chrome/src/xcodebuild/Release/Chromium.app/Contents/MacOS
$ ls -l
total 40
-rwxr-xr-x  1 mnaganov  eng  16472 Oct 16 01:25 Chromium
$ echo $PATH
/opt/local/bin:/opt/local/sbin:/Users/mnaganov/depot_tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin/g4bin
$ ./Chromium
<<< this way, it fails >>>

$ gdb ./Chromium
(gdb) pwd
Working directory
/Users/mnaganov/chrome/src/xcodebuild/Release/Chromium.app/Contents/MacOS.
(gdb) show paths
Executable and object file path:
/opt/local/bin:/opt/local/sbin:/Users/mnaganov/depot_tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin/g4bin:/sbin:/bin:/usr/sbin:/usr/bin
(gdb) r
Starting program:
/Users/mnaganov/chrome/src/xcodebuild/Release/Chromium.app/Contents/MacOS/Chromium
<<< this way, it runs just fine >>>

Here is the value of 'path' when running from Terminal:
/Users/mnaganov/chrome/src/xcodebuild/Release/Chromium.app/Contents/MacOS/./Chromium

When I run it under gdb, the path is printed two times:
/Users/mnaganov/chrome/src/xcodebuild/Release/Chromium.app/Contents/MacOS/Chromium
/Users/mnaganov/chrome/src/xcodebuild/Release/Chromium.app/Contents/Versions/4.0.223.1/Chromium
Helper.app/Contents/MacOS/Chromium Helper

On Fri, Oct 16, 2009 at 02:10, Thomas Van Lenten <[email protected]> wrote:
> How exactly are you launching it?  ie-what are you typing into the terminal.
>  it might be the executable path change last night.
> TVL
>
> On Thu, Oct 15, 2009 at 6:07 PM, Mikhail Naganov <[email protected]>
> wrote:
>>
>> Hi all,
>>
>> Starting from today, I can't run Chromium from Terminal, unless I'm
>> running it under gdb. I'm getting the following bunch of error
>> messages (on a Release build):
>>
>> 2009-10-16 01:58:30.040 Chromium[48250:10b] *** Assertion failure in
>> -[BrowserWindowController initWithWindowNibPath:owner:],
>> /SourceCache/AppKit/AppKit-949.54/AppKit.subproj/NSWindowController.m:107
>> 2009-10-16 01:58:30.042 Chromium[48250:10b] An uncaught exception was
>> raised
>> 2009-10-16 01:58:30.043 Chromium[48250:10b] Invalid parameter not
>> satisfying: windowNibPath
>> 2009-10-16 01:58:30.043 Chromium[48250:10b] *** Terminating app due to
>> uncaught exception 'NSInternalInconsistencyException', reason:
>> 'Invalid parameter not satisfying: windowNibPath'
>> 2009-10-16 01:58:30.044 Chromium[48250:10b] Stack: (
>>   2417545195,
>>   2485780027,
>>   2417544651,
>>   2463723204,
>>   2433132475,
>>   36896176,
>>   36889665,
>>   36840062,
>>   36542144,
>>   36543780,
>>   36611717,
>>   36618850,
>>   36622599,
>>   36646971,
>>   35731773
>> )
>> Trace/BPT trap
>>
>> If I launch Chromium from Finder, XCode, or under gdb in Terminal, it
>> works fine. I've done a clean rebuild of Chromium, and I'm seeing this
>> behavior on two machines. Does anyone have a similar problem, or maybe
>> have a clue what goes wrong?
>>
>> >>
>
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to