Opened 8 years ago

Closed 7 years ago

#3935 closed defect (worksforme)

Vidalia from Mac OS X Tor Browser Bundle 2.2.32-3-dev crashes on startup

Reported by: sjmurdoch Owned by: chiiph
Priority: Very High Milestone:
Component: Applications/Tor bundles/installation Version:
Severity: Keywords:
Cc: erinn Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Tor Browser Bundle 2.2.32-3-dev-osx-i386-en-US crashes for me on startup:

Process:         Vidalia [90872]
Path:            /Users/sjm217/Desktop/TorBrowser_en-US.app/Contents/MacOS/Vidalia.app/Contents/MacOS/Vidalia
Identifier:      net.vidalia-project.vidalia
Version:         0.2.14 (0.2.14)
Code Type:       X86 (Native)
Parent Process:  launchd [200]

Date/Time:       2011-09-05 17:57:17.256 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          111037 sec
Crashes Since Last Report:           6
Per-App Interval Since Last Report:  9 sec
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      0323F1D4-08C1-4B5B-9279-3AE6F80EEE2C

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   QtGui                         	0x20122c66 QAbstractButton::isCheckable() const + 6
1   libqtaccessiblewidgets.dylib  	0x1b445f50 QAccessibleButton::QAccessibleButton(QWidget*, QAccessible::Role) + 112
2   libqtaccessiblewidgets.dylib  	0x1b440942 AccessibleFactory::create(QString const&, QObject*) + 866
3   QtGui                         	0x00af0995 QAccessible::queryAccessibleInterface(QObject*) + 453
4   QtGui                         	0x0059ad9e QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) + 398
5   QtGui                         	0x006063ea QWidgetPrivate::show_helper() + 330
6   QtGui                         	0x00606a63 QWidget::setVisible(bool) + 1139
7   QtGui                         	0x00606248 QWidgetPrivate::showChildren(bool) + 328
8   QtGui                         	0x006062ff QWidgetPrivate::show_helper() + 95
9   QtGui                         	0x00606a63 QWidget::setVisible(bool) + 1139
10  QtGui                         	0x00606248 QWidgetPrivate::showChildren(bool) + 328
11  QtGui                         	0x006062ff QWidgetPrivate::show_helper() + 95
12  QtGui                         	0x00606a63 QWidget::setVisible(bool) + 1139
13  net.vidalia-project.vidalia   	0x000d2c1f QApplication::isLeftToRight() + 2447
14  net.vidalia-project.vidalia   	0x000bf241 QMap<QString, QString>::key(QString const&) const + 1363
15  net.vidalia-project.vidalia   	0x0000aea4 QWidget::show() + 32
16  net.vidalia-project.vidalia   	0x000c4e6a QMap<QString, QString>::key(QString const&) const + 24956
17  net.vidalia-project.vidalia   	0x000b6f14 ZImageView::~ZImageView() + 2210
18  net.vidalia-project.vidalia   	0x00005b12 QBasicAtomicInt::ref() + 290
19  net.vidalia-project.vidalia   	0x00005a39 QBasicAtomicInt::ref() + 73

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x95513382 kevent + 10
1   libSystem.B.dylib             	0x95513a9c _dispatch_mgr_invoke + 215
2   libSystem.B.dylib             	0x95512f59 _dispatch_queue_invoke + 163
3   libSystem.B.dylib             	0x95512cfe _dispatch_worker_thread2 + 240
4   libSystem.B.dylib             	0x95512781 _pthread_wqthread + 390
5   libSystem.B.dylib             	0x955125c6 start_wqthread + 30

Thread 2:
0   libSystem.B.dylib             	0x95512412 __workq_kernreturn + 10
1   libSystem.B.dylib             	0x955129a8 _pthread_wqthread + 941
2   libSystem.B.dylib             	0x955125c6 start_wqthread + 30

Thread 3:
0   libSystem.B.dylib             	0x954ecb5a semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x9551a6e1 _pthread_cond_wait + 1066
2   libSystem.B.dylib             	0x9556326c pthread_cond_timedwait + 47
3   QtCore                        	0x012a8924 QWaitCondition::wait(QMutex*, unsigned long) + 244
4   net.vidalia-project.vidalia   	0x0006b44d void qMetaTypeDeleteHelper<UPNPControl::UPNPState>(UPNPControl::UPNPState*) + 5241
5   QtCore                        	0x0130c2ab QThreadPrivate::start(void*) + 187
6   libSystem.B.dylib             	0x9551a259 _pthread_start + 345
7   libSystem.B.dylib             	0x9551a0de thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x1b445eeb  ecx: 0x00c8549b  edx: 0x00e295e8
  edi: 0x016523d0  esi: 0x02186f00  ebp: 0xbfffee88  esp: 0xbfffee88
   ss: 0x0000001f  efl: 0x00010286  eip: 0x20122c66   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000004

I'm using Mac OS X 10.6.8 on a Intel Core 2 Duo MacBook Pro. This crash happens every time I launch it.

Child Tickets

Change History (9)

comment:1 Changed 8 years ago by rransom

Cc: erinn added
Owner: changed from erinn to chiiph
Priority: normalcritical
Status: newassigned

See also #3934 for a possible duplicate with a more informative crash dump.

comment:2 Changed 8 years ago by sjmurdoch

I get the same result with the 64 bit version, TorBrowser-2.2.32-3-dev-osx-x86_64-en-US. However, Vidalia is still 32 bit here:

$ file TorBrowser_en-US\ 2.app/Contents/MacOS/Vidalia.app/Contents/MacOS/Vidalia
TorBrowser_en-US 2.app/Contents/MacOS/Vidalia.app/Contents/MacOS/Vidalia: Mach-O executable i386

comment:3 Changed 8 years ago by sjmurdoch

gdb gave some warning messages along the lines of

objc[91096]: Class QCocoaColorPanelDelegate is implemented in both /Users/sjm217/Downloads/TorBrowser_en-US.app/Contents/MacOS/Vidalia.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui and /Library/Frameworks/QtGui.framework/Versions/4/QtGui. One of the two will be used. Which one is undefined.

I removed /Library/Frameworks/Qt*, and now the bundle works. This is fine for me, but could be a problem for other users who have Qt installed. Is there some way for Tor Browser Bundle to link to the supplied Qt, or work with a pre-installed Qt?

comment:4 Changed 8 years ago by erinn

Steven, which version of Qt did you have installed? otool -L implies that Vidalia is linking against the Qt libraries in the "proper" way:

MacOS/Vidalia:
	@executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2)
	@executable_path/../Frameworks/QtXml.framework/Versions/4/QtXml (compatibility version 4.6.0, current version 4.6.2)
	@executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.6.0, current version 4.6.2)
	@executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2)

Did you have 4.7 by any chance?

comment:5 Changed 8 years ago by rransom

4093#comment:5 is relevant to this ticket.

comment:6 in reply to:  4 Changed 8 years ago by sjmurdoch

Replying to erinn:

Did you have 4.7 by any chance?

4.6.3, I believe.

comment:7 Changed 8 years ago by Sebastian

Can you see if it works now, sjm?

comment:8 Changed 7 years ago by sjmurdoch

Hi Sebastian,

TBB does work, but I already deleted my Qt install, so my laptop's no longer in the state which was causing the problem. Sorry.

Steven.

comment:9 Changed 7 years ago by Sebastian

Resolution: worksforme
Status: assignedclosed

I'll close this as worksforme then. Please someone reopen if you can reproduce the issue

Note: See TracTickets for help on using tickets.