[Tellico-users] tellico on mac os x 10.6.2 (snow leopard)

Christophe Diericx christophe.diericx at gmail.com
Mon Feb 1 20:00:37 UTC 2010


Some details...

Could this be related to this:
http://old.nabble.com/-Tellico-users--crash-in-2.0pre2-when-saving-edited-entry-td25307849.html
?


Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff83964fe6 __kill + 10
1   libSystem.B.dylib             	0x00007fff83a05e32 abort + 83
2   QtCore                        	0x000000010230cff5
qt_message_output(QtMsgType, char const*) + 117
3   QtCore                        	0x000000010230d1d7
qt_message(QtMsgType, char const*, __va_list_tag*) + 183
4   QtCore                        	0x000000010230d39a qFatal(char
const*, ...) + 170
5                                 	0x0000000100181b5c
KSharedPtr<KService>::operator->() + 44
6                                 	0x00000001001807ab
Tellico::GUI::ImageWidget::~ImageWidget() + 155
7   QtCore                        	0x000000010235e95f
QObjectPrivate::deleteChildren() + 95
8   QtGui                         	0x000000010275e262 QWidget::~QWidget() + 498
9                                 	0x000000010017f076
Tellico::GUI::ImageFieldWidget::~ImageFieldWidget() + 38
10  QtCore                        	0x000000010235e95f
QObjectPrivate::deleteChildren() + 95
11  QtGui                         	0x000000010275dea2 QWidget::~QWidget() + 498
12  QtCore                        	0x000000010235e95f
QObjectPrivate::deleteChildren() + 95
13  QtGui                         	0x000000010275dea2 QWidget::~QWidget() + 498
14                                	0x00000001000538dd
Tellico::EntryEditDialog::slotReset() + 189 (entryeditdialog.cpp:112)
15                                	0x0000000100053aa3
Tellico::EntryEditDialog::setLayout(KSharedPtr<Tellico::Data::Collection>)
+ 195 (entryeditdialog.cpp:133)
16                                	0x000000010003a52e
Tellico::Controller::slotCollectionAdded(KSharedPtr<Tellico::Data::Collection>)
+ 238 (controller.cpp:126)
17                                	0x000000010003a8d0
Tellico::Controller::qt_metacall(QMetaObject::Call, int, void**) + 208
(controller.moc:108)
18  QtCore                        	0x000000010235fbab
QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 619
19                                	0x00000001000470f9
Tellico::Data::Document::signalCollectionAdded(KSharedPtr<Tellico::Data::Collection>)
+ 41 (document.moc:131)
20                                	0x000000010004cec3
Tellico::Data::Document::newDocument(int) + 163 (document.cpp:103)
21                                	0x000000010008cc82
Tellico::MainWindow::slotFileNew(int) + 386 (mainwindow.cpp:1015)
22                                	0x00000001000967bc
Tellico::MainWindow::qt_metacall(QMetaObject::Call, int, void**) + 364
(mainwindow.moc:174)
23  QtCore                        	0x000000010235fbab
QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 619
24  QtCore                        	0x000000010244466d
QSignalMapper::mapped(int) + 45
25  QtCore                        	0x0000000102444e45
QSignalMapper::map(QObject*) + 85
26  QtCore                        	0x0000000102445296
QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) + 182
27  QtCore                        	0x000000010235fbab
QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 619
28  QtGui                         	0x0000000102706831
QAction::triggered(bool) + 49
29  QtGui                         	0x0000000102707bd4
QAction::activate(QAction::ActionEvent) + 180
30  QtGui                         	0x0000000102ad9ac9
QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&,
QAction*, QAction::ActionEvent, bool) + 409
31  QtGui                         	0x0000000102adf804
QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) +
324
32  libkdeui.5.dylib              	0x000000010079eade
KMenu::mouseReleaseEvent(QMouseEvent*) + 94
33  QtGui                         	0x0000000102760b61
QWidget::event(QEvent*) + 2369
34  QtGui                         	0x0000000102adf23b
QMenu::event(QEvent*) + 107
35  QtGui                         	0x000000010270ca1d
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
36  QtGui                         	0x00000001027135f0
QApplication::notify(QObject*, QEvent*) + 7824
37  libkdeui.5.dylib              	0x00000001006afe2e
KApplication::notify(QObject*, QEvent*) + 142
38  QtCore                        	0x0000000102359d5c
QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
39  QtGui                         	0x000000010270cb9c
qt_sendSpontaneousEvent(QObject*, QEvent*) + 44
40  QtGui                         	0x00000001026c6440
qt_mac_handleMouseEvent(void*, void*, QEvent::Type, Qt::MouseButton) +
1328
41  QtGui                         	0x00000001026b7fef -[QCocoaPanel
sendEvent:] + 559
42  com.apple.AppKit              	0x00007fff86022e22 -[NSApplication
sendEvent:] + 4719
43  com.apple.AppKit              	0x00007fff85fb9796 -[NSApplication run] + 474
44  QtGui                         	0x00000001026cb9ef
QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
+ 1519
45  QtCore                        	0x0000000102431ee4
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
46  QtCore                        	0x00000001024321f4
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
47  QtGui                         	0x0000000102adcbb4
QMenu::exec(QPoint const&, QAction*) + 116
48  QtGui                         	0x0000000102b1e9f7
QToolButtonPrivate::popupTimerDone() + 1031
49  QtGui                         	0x0000000102b1f3b4
QToolButton::qt_metacall(QMetaObject::Call, int, void**) + 516
50  QtCore                        	0x000000010235fbab
QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 619
51  QtGui                         	0x0000000102a544f3
QAbstractButtonPrivate::emitPressed() + 51
52  QtGui                         	0x0000000102a546bb
QAbstractButton::mousePressEvent(QMouseEvent*) + 123
53  QtGui                         	0x0000000102b1fda8
QToolButton::mousePressEvent(QMouseEvent*) + 104
54  QtGui                         	0x0000000102760d2c
QWidget::event(QEvent*) + 2828
55  QtGui                         	0x0000000102a54958
QAbstractButton::event(QEvent*) + 40
56  QtGui                         	0x0000000102b1fd2f
QToolButton::event(QEvent*) + 63
57  QtGui                         	0x000000010270ca1d
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
58  QtGui                         	0x00000001027135f0
QApplication::notify(QObject*, QEvent*) + 7824
59  libkdeui.5.dylib              	0x00000001006afe2e
KApplication::notify(QObject*, QEvent*) + 142
60  QtCore                        	0x0000000102359d5c
QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
61  QtGui                         	0x000000010270cb9c
qt_sendSpontaneousEvent(QObject*, QEvent*) + 44
62  QtGui                         	0x00000001026c6440
qt_mac_handleMouseEvent(void*, void*, QEvent::Type, Qt::MouseButton) +
1328
63  com.apple.AppKit              	0x00007fff860ed68f -[NSWindow
sendEvent:] + 5409
64  QtGui                         	0x00000001026c007e -[QCocoaWindow
sendEvent:] + 206
65  com.apple.AppKit              	0x00007fff86022e22 -[NSApplication
sendEvent:] + 4719
66  com.apple.AppKit              	0x00007fff85fb9796 -[NSApplication run] + 474
67  QtGui                         	0x00000001026cb9ef
QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
+ 1519
68  QtCore                        	0x0000000102431ee4
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
69  QtCore                        	0x00000001024321f4
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
70  QtCore                        	0x000000010243381c
QCoreApplication::exec() + 188
71                                	0x0000000100085641 main + 3889 (main.cpp:95)
72                                	0x000000010000fa28 start + 52



2010/2/1 Christophe Diericx <christophe.diericx at gmail.com>:
> Here's where I'm now (in my quest to getting tellico to work on Snow
> Leopard / Mac OS X 10.6.2):
>
> I got to the point where tellico builds and starts succesfully, but it
> crashes (hard) when (for example) trying to open a collection or start
> a new one (from a template).
>
> What I did:
>
> (starting with the XCode tools and a fresh, up-to-date macports:
>
> sudo port install cmake
> sudo port install kdebase4 taglib exempi
> sudo chown -R mac ~/Library/Preferences/KDE
>
> I downloaded the tellico tarball from the website (tellico-2.1.1.tar.bz2)
>
> tar xvf tellico-2.1.1.tar.bz2
> cd tellico-2.1.1
> mkdir build
> cd build
> export QTDIR=/opt/local/libexec/qt4-mac
> export CMAKE_PREFIX_PATH=$QTDIR
> export PATH=$QTDIR/bin:$PATH
> export LD_LIBRARY_PATH=$QTDIR/lib
> cmake .. -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake
> -DLIBEXSLT_LIBRARIES=/opt/local/lib/libexslt.dylib
> -DLIBXSLT_INCLUDE_DIR=/opt/local/include
> -DLIBXSLT_LIBRARIES=/opt/local/lib/libxslt.dylib
> -DQT_QTSCRIPT_LIBRARY=/opt/local/libexec/qt4-mac/lib/QtScript.framework
> -DQT_QTUITOOLS_LIBRARY=QT_QTUITOOLS_LIBRARY-NOTFOUND
> -DCMAKE_BUILD_TYPE=debug -DCMAKE_SYSTEM_PREFIX_PATH=/opt/local
> make
> sudo make install
>
> Note that I added the explicit Qt paths to cmake because I have
> multiple versions of Qt on my system.
>
> Before starting tellico I had to issue the following to get DBUS up and running:
>
> sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
> launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>
> Otool seems to suggest the libs are ok:
>
> Christophe-Diericxs-iMac:MacOS mac$ otool -L tellico
> tellico:
>        /opt/local/lib/libkdeui.5.dylib (compatibility version 5.0.0, current
> version 5.3.0)
>        /opt/local/lib/libkio.5.dylib (compatibility version 5.0.0, current
> version 5.3.0)
>        /opt/local/lib/libkhtml.5.dylib (compatibility version 5.0.0, current
> version 5.3.0)
>        /opt/local/lib/libknewstuff2.4.dylib (compatibility version 4.0.0,
> current version 4.3.0)
>        /opt/local/lib/libsolid.4.dylib (compatibility version 4.0.0, current
> version 4.3.0)
>        /opt/local/lib/libqimageblitz.4.dylib (compatibility version 4.0.0,
> current version 4.0.0)
>        /opt/local/lib/libxml2.2.dylib (compatibility version 10.0.0, current
> version 10.6.0)
>        /opt/local/lib/libxslt.1.dylib (compatibility version 3.0.0, current
> version 3.26.0)
>        /opt/local/lib/libexslt.0.dylib (compatibility version 9.0.0, current
> version 9.15.0)
>        /opt/local/lib/libkabc.4.dylib (compatibility version 4.0.0, current
> version 4.3.0)
>        /opt/local/lib/libexempi.3.dylib (compatibility version 6.0.0,
> current version 6.1.0)
>        /opt/local/lib/libtag.1.dylib (compatibility version 1.0.0, current
> version 1.6.1)
>        /opt/local/lib/libkparts.4.dylib (compatibility version 4.0.0,
> current version 4.3.0)
>        /opt/local/lib/libkjs.4.dylib (compatibility version 4.0.0, current
> version 4.3.0)
>        /opt/local/lib/libktexteditor.4.dylib (compatibility version 4.0.0,
> current version 4.3.0)
>        /opt/local/libexec/qt4-mac/lib/QtSvg.framework/Versions/4/QtSvg
> (compatibility version 4.6.0, current version 4.6.1)
>        /opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork
> (compatibility version 4.6.0, current version 4.6.1)
>        /opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/QtXml
> (compatibility version 4.6.0, current version 4.6.1)
>        /opt/local/lib/libkdecore.5.dylib (compatibility version 5.0.0,
> current version 5.3.0)
>        /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/QtCore
> (compatibility version 4.6.0, current version 4.6.1)
>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 125.0.0)
>        /opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/QtDBus
> (compatibility version 4.6.0, current version 4.6.1)
>        /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
> (compatibility version 2.0.0, current version 152.0.0)
>        /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui
> (compatibility version 4.6.0, current version 4.6.1)
>        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
>
> When running with gdb I get (when crashing the application):
>
> ASSERT: "d" in file /opt/local/include/ksharedptr.h, line 126
>
> Program received signal SIGABRT, Aborted.
> 0x00007fff83964fe6 in __kill ()
>
> I'll (need to) investigate this a little further.
>
> If anyone has any ideas, please share!
>
> Christophe
>
> 2010/1/30 Christophe Diericx <christophe.diericx at gmail.com>
>>
>> While being an avid linux user for about 8 or 9 years (and still) I've bought myself an iMac with Mac OS X 10.6.2 (Snow Leopard) a month ago.
>> I've been missing Tellico (and a LOT of other things) heavily and I was wondering if anyone here knows how to get Tellico to compile on Snow Leopard.
>> I realize there's an outdated fink package (1.2.x) but
>> (1) it's really outdated ~~ and ~~
>> (2) fink `also` needs to be built from source atm on Mac OS X 10.6.x.
>> When `trying` to build the latest tarball with macports cmake the first problem is a missing kde4-config...
>> Does anyone have any insight as to how getting this to work? Do I need ~all~ of KDE4 (or just Qt and it's dependencies)
>> Thanks - a lot- for anyone who cares enough to answer.
>



More information about the tellico-users mailing list