[kde-freebsd] New Port for Testing: Amarok2

Tobias Stadler TS.Stadler at gmx.de
Fri Aug 15 12:59:12 CEST 2008


Hi Kris,
I've encountered the same problem as with the port I created. Amarock crashes 
on sturtup, when cssyyparse form Kdelibs is called instead of the one from 
QtWebkit. See the attached krash file.

I've also updated ktorrent to 3.1.2. Maybe it will help you.

Tobias

On Thursday, 14. August 2008 22:20:27  Kris Moore wrote: 
> Hey all!
>
> Great working getting 4.1 into ports! I've been wanting to add Amarok2
> to PC-BSD 7 here for a while now, and I just finally sat down and made a
> port of it.
>
> The port seems to build and run just fine. If anybody else would like to
> try it out and provide any feedback, please feel free! I'm also not a
> port committer, so if anybody wants to approve this and merge it into
> ports, please be my guest.
>
> Thanks!
>
> --
> Kris Moore
> PC-BSD Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ktorrent3.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 3947 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20080815/92b9b85b/attachment-0001.bin 
-------------- next part --------------
Anwendung: Amarok (amarok), Signal SIGSEGV
[New Thread 0x88d66a0 (LWP 100216)]
[New Thread 0x88d6260 (LWP 100195)]
[New Thread 0x8102470 (LWP 100194)]
[New Thread 0x8102360 (LWP 100193)]
[New Thread 0x8102250 (LWP 100192)]
[New Thread 0x8101040 (LWP 100207)]
[Switching to Thread 0x88d66a0 (LWP 100216)]
[KCrash handler]
#6  0x28b69bde in DOM::CSSParser::lex (this=0x0) at tokenizer.cpp:660
#7  0x28b6a231 in DOM::CSSParser::lex (this=0x0, _yylval=0xbfbfac78)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/khtml/css/cssparser.cpp:2392
#8  0x28b846b0 in cssyylex (cssyylval=0xbfbfac78)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/khtml/css/parser.cpp:355
#9  0x28b84b6f in cssyyparse (parser=0xbfbfae14)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/khtml/css/parser.cpp:1936
#10 0x29ba01c9 in WebCore::CSSParser::parseSheet (this=0xbfbfae14, 
    sheet=0x87afd40, string=@0xbfbfaf00) at css/CSSParser.cpp:201
#11 0x29bd3c4a in WebCore::CSSStyleSheet::parseString (this=0x87afd40, 
    string=@0xbfbfaf00, strict=) at css/CSSStyleSheet.cpp:158
#12 0x29bb2237 in parseUASheet (
    characters=0x2a0442a0 "namespace \"http://www.w3.org/1999/xhtml\"; html { display: block } head { display: none } meta { display: none } title { display: none } link { display: none } style { display: none } script { display:"..., 
    size=8078) at css/CSSStyleSelector.cpp:342
#13 0x29bb2382 in WebCore::CSSStyleSelector::loadDefaultStyle ()
    at css/CSSStyleSelector.cpp:360
#14 0x29bd2061 in CSSStyleSelector (this=0x830ad60, doc=0x8673800, 
    userStyleSheet=@0x86738bc, styleSheets=0x88f2cc0, _strictParsing=true)
    at css/CSSStyleSelector.cpp:230
#15 0x29be4c26 in Document (this=0x8673800, impl=0x876e760, frame=0x8862680, 
    isXHTML=false) at dom/Document.cpp:317
#16 0x29c8e029 in HTMLDocument (this=0x8673800, implementation=0x876e760, 
    frame=0x8862680) at html/HTMLDocument.cpp:82
#17 0x29bf3d29 in WebCore::DOMImplementation::createDocument (this=0x876e760, 
    type=@0x8848940, frame=0x8862680, inViewSourceMode=false)
    at dom/DOMImplementation.cpp:399
#18 0x29ce316d in WebCore::FrameLoader::begin (this=0x8848800, 
    url=@0xbfbfb5a0, dispatch=false) at loader/FrameLoader.cpp:894
#19 0x29cf1b49 in WebCore::FrameLoader::init (this=0x8848800)
    at loader/FrameLoader.cpp:272
#20 0x29d1ce1a in WebCore::Frame::init (this=0x8862680) at page/Frame.cpp:217
#21 0x29e2c723 in QWebFramePrivate::init (this=0x877d220, qframe=0x8862600, 
    webcorePage=0x8865c40, frameData=0xbfbfb80c)
    at ../WebKit/qt/Api/qwebframe.cpp:98
#22 0x29e2e478 in QWebFrame (this=0x8862600, parent=0x88624a0, 
    frameData=0xbfbfb80c) at ../WebKit/qt/Api/qwebframe.cpp:172
#23 0x29e32a7b in QWebPagePrivate::createMainFrame (this=0x81c6140)
    at ../WebKit/qt/Api/qwebpage.cpp:199
#24 0x29e32b21 in QWebPage::mainFrame (this=0x88624a0)
    at ../WebKit/qt/Api/qwebpage.cpp:1028
#25 0x29e32b5e in QWebPage::setViewportSize (this=0x88624a0, size=@0xbfbfb918)
    at ../WebKit/qt/Api/qwebpage.cpp:1394
#26 0x29e32c4b in QWebPage::setView (this=0x88624a0, view=0x0)
    at ../WebKit/qt/Api/qwebpage.cpp:1058
#27 0x29e3301c in QWebPage (this=0x88624a0, parent=0x8648700)
    at ../WebKit/qt/Api/qwebpage.cpp:1002
#28 0x293e79de in WebContent (this=0x8648700, parent=0x8638168)
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/context/plasma/widgets/webcontent.cpp:59
#29 0x2f9ecba4 in WikipediaApplet::init (this=0x8638160)
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/context/applets/wikipedia/WikipediaApplet.cpp:64
#30 0x2939f689 in Plasma::Containment::addApplet (this=0x82fb300, 
    applet=0x8638160, pos=@0xbfbfbb68, delayInit=false)
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/context/plasma/containment.cpp:586
#31 0x2939f9da in Plasma::ContainmentPrivate::addApplet (this=0x82039a0, 
    name=@0xbfbfbcc4, args=@0xbfbfbcc0, appletGeometry=@0xbfbfbc68, id=0, 
    delayInit=)
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/context/plasma/containment.cpp:1265
#32 0x2939fa3b in Plasma::Containment::addApplet (this=0x82fb300, 
    name=@0xbfbfbcc4, args=@0xbfbfbcc0, appletGeometry=@0xbfbfbc68)
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/context/plasma/containment.cpp:523
#33 0x2f6ae7c4 in Context::ColumnContainment::updateSize (this=0x82fb300, 
    rect={xp = 0, yp = 0, w = 462, h = 644})
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/context/containments/ColumnContainment.cpp:249
#34 0x28142d97 in Context::ContextView::updateContainmentsGeometry (
    this=0x8680c40)
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/context/ContextView.cpp:445
#35 0x28142ed2 in Context::ContextView::resizeEvent (this=0x8680c40, 
    event=0xbfbfc304)
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/context/ContextView.cpp:416
#36 0x2ad684ad in QWidget::event (this=0x8680c40, event=0xbfbfc304)
    at kernel/qwidget.cpp:7167
#37 0x2b07f7cd in QFrame::event (this=0x8680c40, e=0xbfbfc304)
    at widgets/qframe.cpp:657
#38 0x2b10440c in QAbstractScrollArea::viewportEvent (this=0x8680c40, 
    e=0xbfbfc304) at widgets/qabstractscrollarea.cpp:947
#39 0x2b27763e in QGraphicsView::viewportEvent (this=0x8680c40, 
    event=0xbfbfc304) at graphicsview/qgraphicsview.cpp:2334
#40 0x2b105f4a in QAbstractScrollAreaFilter::eventFilter (this=0x86fa6f0, 
    o=0x86a0320, e=0xbfbfc304) at qabstractscrollarea_p.h:102
#41 0x2a627652 in QCoreApplicationPrivate::sendThroughObjectEventFilters (
    this=0x81cb0c0, receiver=0x86a0320, event=0xbfbfc304)
    at kernel/qcoreapplication.cpp:698
#42 0x2ad15166 in QApplicationPrivate::notify_helper (this=0x81cb0c0, 
    receiver=0x86a0320, e=0xbfbfc304) at kernel/qapplication.cpp:3796
#43 0x2ad1cc7e in QApplication::notify (this=0xbfbfe4b8, receiver=0x86a0320, 
    e=0xbfbfc304) at kernel/qapplication.cpp:3765
#44 0x28642423 in KApplication::notify (this=0xbfbfe4b8, receiver=0x86a0320, 
    event=0xbfbfc304)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#45 0x2a627285 in QCoreApplication::notifyInternal (this=0xbfbfe4b8, 
    receiver=0x86a0320, event=0xbfbfc304) at kernel/qcoreapplication.cpp:587
#46 0x2ad9592d in QWidgetPrivate::setGeometry_sys (this=0x81018c0, x=0, y=0, 
    w=442, h=584, isMove=true) at qcoreapplication.h:215
#47 0x2ad6199f in QWidget::setGeometry (this=0x86a0320, r=@0xbfbfc4e0)
    at kernel/qwidget.cpp:5726
#48 0x2b10495a in QAbstractScrollAreaPrivate::layoutChildren (this=0x8615800)
    at widgets/qabstractscrollarea.cpp:446
#49 0x2b10534e in QAbstractScrollArea::event (this=0x8680c40, e=0xbfbfc8f4)
    at widgets/qabstractscrollarea.cpp:861
#50 0x2b26c09a in QGraphicsView::event (this=0x8680c40, event=0xbfbfc8f4)
    at graphicsview/qgraphicsview.cpp:2273
#51 0x2ad15183 in QApplicationPrivate::notify_helper (this=0x81cb0c0, 
    receiver=0x8680c40, e=0xbfbfc8f4) at kernel/qapplication.cpp:3800
#52 0x2ad1cc7e in QApplication::notify (this=0xbfbfe4b8, receiver=0x8680c40, 
    e=0xbfbfc8f4) at kernel/qapplication.cpp:3765
#53 0x28642423 in KApplication::notify (this=0xbfbfe4b8, receiver=0x8680c40, 
    event=0xbfbfc8f4)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#54 0x2a627285 in QCoreApplication::notifyInternal (this=0xbfbfe4b8, 
    receiver=0x8680c40, event=0xbfbfc8f4) at kernel/qcoreapplication.cpp:587
#55 0x2ad9592d in QWidgetPrivate::setGeometry_sys (this=0x8615800, x=0, y=0, 
    w=442, h=584, isMove=true) at qcoreapplication.h:215
#56 0x2ad6199f in QWidget::setGeometry (this=0x8680c40, r=@0xbfbfca4c)
    at kernel/qwidget.cpp:5726
#57 0x2ad44842 in QWidgetItem::setGeometry (this=0x867b560, rect=@0xbfbfcb88)
    at qwidget.h:964
#58 0x2ad22f41 in QBoxLayout::setGeometry (this=0x86c39c0, r=@0xbfbfcc3c)
    at kernel/qboxlayout.cpp:869
#59 0x2ad40ac8 in QLayoutPrivate::doResize (this=0x86a9580, r=@0xbfbfcf40)
    at kernel/qlayout.cpp:636
#60 0x2ad4157a in QLayout::widgetEvent (this=0x86c39c0, e=0xbfbfcf34)
    at kernel/qlayout.cpp:660
#61 0x2ad15153 in QApplicationPrivate::notify_helper (this=0x81cb0c0, 
    receiver=0x86898a0, e=0xbfbfcf34) at kernel/qapplication.cpp:3791
#62 0x2ad1cc7e in QApplication::notify (this=0xbfbfe4b8, receiver=0x86898a0, 
    e=0xbfbfcf34) at kernel/qapplication.cpp:3765
#63 0x28642423 in KApplication::notify (this=0xbfbfe4b8, receiver=0x86898a0, 
    event=0xbfbfcf34)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#64 0x2a627285 in QCoreApplication::notifyInternal (this=0xbfbfe4b8, 
    receiver=0x86898a0, event=0xbfbfcf34) at kernel/qcoreapplication.cpp:587
#65 0x2ad9592d in QWidgetPrivate::setGeometry_sys (this=0x826b2e0, x=339, 
    y=0, w=442, h=584, isMove=true) at qcoreapplication.h:215
#66 0x2ad6199f in QWidget::setGeometry (this=0x86898a0, r=@0xbfbfd0ac)
    at kernel/qwidget.cpp:5726
#67 0x2b0dbdb6 in QSplitterPrivate::setGeo (this=0x8246820, sls=0x861b040, 
    p=339, s=442, allowCollapse=false) at widgets/qsplitter.cpp:675
#68 0x2b0de681 in QSplitterPrivate::doResize (this=0x8246820)
    at widgets/qsplitter.cpp:502
#69 0x2b0df198 in QSplitter::resizeEvent (this=0x865ce60)
    at widgets/qsplitter.cpp:1093
#70 0x2ad684ad in QWidget::event (this=0x865ce60, event=0xbfbfd534)
    at kernel/qwidget.cpp:7167
#71 0x2b0df5d0 in QSplitter::event (this=0x865ce60, e=0xbfbfd534)
    at widgets/qsplitter.cpp:1305
#72 0x2ad15183 in QApplicationPrivate::notify_helper (this=0x81cb0c0, 
    receiver=0x865ce60, e=0xbfbfd534) at kernel/qapplication.cpp:3800
#73 0x2ad1cc7e in QApplication::notify (this=0xbfbfe4b8, receiver=0x865ce60, 
    e=0xbfbfd534) at kernel/qapplication.cpp:3765
#74 0x28642423 in KApplication::notify (this=0xbfbfe4b8, receiver=0x865ce60, 
    event=0xbfbfd534)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#75 0x2a627285 in QCoreApplication::notifyInternal (this=0xbfbfe4b8, 
    receiver=0x865ce60, event=0xbfbfd534) at kernel/qcoreapplication.cpp:587
#76 0x2ad9592d in QWidgetPrivate::setGeometry_sys (this=0x8246820, x=0, y=67, 
    w=1120, h=584, isMove=true) at qcoreapplication.h:215
#77 0x2ad6199f in QWidget::setGeometry (this=0x865ce60, r=@0xbfbfd68c)
    at kernel/qwidget.cpp:5726
#78 0x2ad44842 in QWidgetItem::setGeometry (this=0x86e5740, rect=@0xbfbfd7c8)
    at qwidget.h:964
#79 0x2ad22f41 in QBoxLayout::setGeometry (this=0x8649cd0, r=@0xbfbfd87c)
    at kernel/qboxlayout.cpp:869
#80 0x2ad40ac8 in QLayoutPrivate::doResize (this=0x86a9b80, r=@0xbfbfd8f0)
    at kernel/qlayout.cpp:636
#81 0x2ad412fc in QLayout::activate (this=0x8649cd0)
    at kernel/qlayout.cpp:1208
#82 0x2ad41599 in QLayout::widgetEvent (this=0x8649cd0, e=0xbfbfdbf4)
    at kernel/qlayout.cpp:707
#83 0x2ad15153 in QApplicationPrivate::notify_helper (this=0x81cb0c0, 
    receiver=0x865ce00, e=0xbfbfdbf4) at kernel/qapplication.cpp:3791
#84 0x2ad1cc7e in QApplication::notify (this=0xbfbfe4b8, receiver=0x865ce00, 
    e=0xbfbfdbf4) at kernel/qapplication.cpp:3765
#85 0x28642423 in KApplication::notify (this=0xbfbfe4b8, receiver=0x865ce00, 
    event=0xbfbfdbf4)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#86 0x2a627285 in QCoreApplication::notifyInternal (this=0xbfbfe4b8, 
    receiver=0x865ce00, event=0xbfbfdbf4) at kernel/qcoreapplication.cpp:587
#87 0x2ad9592d in QWidgetPrivate::setGeometry_sys (this=0x8101ae0, x=0, y=23, 
    w=1120, h=677, isMove=true) at qcoreapplication.h:215
#88 0x2ad6199f in QWidget::setGeometry (this=0x865ce00, r=@0xbfbfdd7c)
    at kernel/qwidget.cpp:5726
#89 0x2b11878e in QWidgetAnimator::animate (this=0x83fd100, widget=0x865ce00, 
    _final_geometry=@0x83058e4, animate=false)
    at widgets/qwidgetanimator.cpp:143
#90 0x2b0748eb in QDockAreaLayout::apply (this=0x83058bc, animate=false)
    at widgets/qdockarealayout.cpp:2965
#91 0x2b09b118 in QMainWindowLayoutState::apply (this=0x8305810, 
    animated=false) at widgets/qmainwindowlayout.cpp:236
#92 0x2b09c8a1 in QMainWindowLayout::applyState (this=0x8305800, 
    newState=@0x8305810, animate=false) at widgets/qmainwindowlayout.cpp:2119
#93 0x2b09cb16 in QMainWindowLayout::setGeometry (this=0x8305800, 
    _r=@0xbfbfdeec) at widgets/qmainwindowlayout.cpp:1659
#94 0x2ad40ac8 in QLayoutPrivate::doResize (this=0x8288080, r=@0xbfbfdf60)
    at kernel/qlayout.cpp:636
#95 0x2ad412fc in QLayout::activate (this=0x8305800)
    at kernel/qlayout.cpp:1208
#96 0x2ad41599 in QLayout::widgetEvent (this=0x8305800, e=0x87baab0)
    at kernel/qlayout.cpp:707
#97 0x2ad15153 in QApplicationPrivate::notify_helper (this=0x81cb0c0, 
    receiver=0x81785f0, e=0x87baab0) at kernel/qapplication.cpp:3791
#98 0x2ad1cc7e in QApplication::notify (this=0xbfbfe4b8, receiver=0x81785f0, 
    e=0x87baab0) at kernel/qapplication.cpp:3765
#99 0x28642423 in KApplication::notify (this=0xbfbfe4b8, receiver=0x81785f0, 
    event=0x87baab0)
    at /usr/ports/x11/kdelibs4/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#100 0x2a627285 in QCoreApplication::notifyInternal (this=0xbfbfe4b8, 
    receiver=0x81785f0, event=0x87baab0) at kernel/qcoreapplication.cpp:587
#101 0x2a62873c in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x8105940) at qcoreapplication.h:215
#102 0x2a628a15 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1095
#103 0x2a6502b9 in postEventSourceDispatch (s=0x8198d00)
    at qcoreapplication.h:220
#104 0x2b9e6b29 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.0
#105 0x2b9e9d2b in g_main_context_check ()
   from /usr/local/lib/libglib-2.0.so.0
#106 0x2b9ea216 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.0
#107 0x2a650948 in QEventDispatcherGlib::processEvents (this=0x811d2e0, 
    flags=@0xbfbfe3c8) at kernel/qeventdispatcher_glib.cpp:325
#108 0x2ad9dd8d in QGuiEventDispatcherGlib::processEvents (this=0x811d2e0, 
    flags=@0xbfbfe3f8) at kernel/qguieventdispatcher_glib.cpp:204
#109 0x2a62663b in QEventLoop::processEvents (this=0xbfbfe460, 
    flags=@0xbfbfe434) at kernel/qeventloop.cpp:149
#110 0x2a6267b8 in QEventLoop::exec (this=0xbfbfe460, flags=@0xbfbfe468)
    at kernel/qeventloop.cpp:196
#111 0x2a628abb in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:849
#112 0x2ad146b5 in QApplication::exec () at kernel/qapplication.cpp:3330
#113 0x0804ca37 in main (argc=1, argv=0xbfbfe92c)
    at /usr/ports/audio/amarok2/work/amarok-1.86/src/main.cpp:126

Thread 5 (Thread 0x8102250 (LWP 100192)):
#0  0x2a7a7263 in __error () from /lib/libthr.so.3
#1  0x2a7a53f3 in pthread_cond_signal () from /lib/libthr.so.3
#2  0x2eced4bf in metronom_sync_loop () from /usr/local/lib/libxine.so

Thread 4 (Thread 0x8102360 (LWP 100193)):
#0  0x2a7a7263 in __error () from /lib/libthr.so.3
#1  0x2a7a53f3 in pthread_cond_signal () from /lib/libthr.so.3
#2  0x2ecfcc80 in ao_loop () from /usr/local/lib/libxine.so
#3  0x00000000 in ?? ()
#4  0x00000000 in ?? ()
#5  0x00000000 in ?? ()
#6  0x00000000 in ?? ()
#7  0x00000000 in ?? ()
#8  0x00000000 in ?? ()
#9  0x00000000 in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x0804ef58 in aboutData ()
#13 0x0804ef58 in aboutData ()
#14 0x0804ef58 in aboutData ()
#15 0x08315cb0 in ?? ()
#16 0x08315cac in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x2a7a59c4 in pthread_setcancelstate () from /lib/libthr.so.3
#0  0x2a7a7263 in __error () from /lib/libthr.so.3


More information about the kde-freebsd mailing list