rbenjamin / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
0 stars 0 forks source link

namebench fails to start on 10.5.8 #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Double-click namebench

What is the expected output? What do you see instead?

Program should bring up a GUI. Instead, it stays at ~90% cpu and doesn't open a 
window.

Starting it from a terminal, I get

$ /Applications/namebench.app/Contents/MacOS/namebench 
2009-12-27 14:50:07.252 namebench[10543:10b] Resource directory is 
/Applications/namebench.app/Contents/Resources
2009-12-27 14:50:07.432 namebench[10543:10b] Using configuration: 
/Applications/namebench.app/Contents/Resources/namebench.cfg
2009-12-27 14:50:07.485 namebench[10543:10b] Discovering sources
2009-12-27 14:50:07.490 namebench[10543:10b] Searching for usable data sources
- konqueror: no matches in 
['/Users/thakis/.kde4/share/apps/konqueror/konq_history', 
'/Users/thakis/.kde/share/apps/konqueror/konq_history']
- seamonkey: no matches in ['/Users/thakis/Library/Application 
Support/Seamonkey/Profiles/*/history.dat', 
'/Users/thakis/.mozilla/seamonkey/*/history.dat', 
'/Users/thakis/.mozilla/default/*/history.dat']
* Reading /Users/thakis/Library/Application 
Support/Firefox/Profiles/q8hdl9uu.default/places.sqlite
* Reading /Users/thakis/Library/Application 
Support/Google/Chrome/Default/History
- squid: no matches in ['/usr/local/squid/logs/access.log', 
'/var/log/squid/access_log']
* Reading /Users/thakis/Library/Preferences/Opera Preferences/global_history.dat
- epiphany: no matches in ['/Users/thakis/.gnome2/epiphany/ephy-history.xml']
* Reading /Users/thakis/Library/Safari/History.plist
- internet_explorer: no matches in []
* Reading /Users/thakis/Library/Application Support/Chromium/Default/History
^C^C^C^C^C^Z
[1]+  Stopped                 
/Applications/namebench.app/Contents/MacOS/namebench
thakis-macbookpro:~/src/chrome-git/src thakis$ kill -9 %1

Since it looks like it's hanging reading the chromium history, I deleted it and 
tried again:

$ /Applications/namebench.app/Contents/MacOS/namebench 
2009-12-27 14:51:37.000 namebench[10557:10b] Resource directory is 
/Applications/namebench.app/Contents/Resources
2009-12-27 14:51:37.176 namebench[10557:10b] Using configuration: 
/Applications/namebench.app/Contents/Resources/namebench.cfg
2009-12-27 14:51:37.222 namebench[10557:10b] Discovering sources
2009-12-27 14:51:37.225 namebench[10557:10b] Searching for usable data sources
- konqueror: no matches in 
['/Users/thakis/.kde4/share/apps/konqueror/konq_history', 
'/Users/thakis/.kde/share/apps/konqueror/konq_history']
- seamonkey: no matches in ['/Users/thakis/Library/Application 
Support/Seamonkey/Profiles/*/history.dat', 
'/Users/thakis/.mozilla/seamonkey/*/history.dat', 
'/Users/thakis/.mozilla/default/*/history.dat']
* Reading /Users/thakis/Library/Application 
Support/Google/Chrome/Default/History
* Reading /Users/thakis/Library/Application 
Support/Firefox/Profiles/q8hdl9uu.default/places.sqlite
- squid: no matches in ['/usr/local/squid/logs/access.log', 
'/var/log/squid/access_log']
* Reading /Users/thakis/Library/Preferences/Opera Preferences/global_history.dat
- epiphany: no matches in ['/Users/thakis/.gnome2/epiphany/ephy-history.xml']
* Reading /Users/thakis/Library/Safari/History.plist
    c   c^C^C^C^C^C^C^C^C^X^Z
[1]+  Stopped                 
/Applications/namebench.app/Contents/MacOS/namebench
thakis-macbookpro:~/src/chrome-git/src thakis$ kill %1

So I guess it takes a while processing bookmarks (over a couple minutes, then I 
grew impatient). If this is expected behavior, there 
should be a progress indicator somewhere. If not, tell me what further 
information you need.

What version of the product are you using? On what operating system?

$ /Applications/namebench.app/Contents/MacOS/namebench --version
2009-12-27 14:57:09.270 namebench[10575:10b] Resource directory is 
/Applications/namebench.app/Contents/Resources
2009-12-27 14:57:09.442 namebench[10575:10b] Using configuration: 
/Applications/namebench.app/Contents/Resources/namebench.cfg
Usage: namebench [options]

namebench: error: no such option: --version

Huh.

$ cat /Applications/namebench.app/Contents/Info.plist | grep -C 1 -i version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
--
    <string>org.opensource.namebench</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
--
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0.5</string>
--
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.0.5</string>

I'm running OS X 10.5.8.

Please provide any additional information below.

Original issue reported on code.google.com by thakis@chromium.org on 27 Dec 2009 at 10:58

GoogleCodeExporter commented 9 years ago
Thanks for confirming that this is a real-world issue. Marking as dupe.

Original comment by tstromb...@google.com on 27 Dec 2009 at 11:25