pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

segfault in qt4-libs 4.6.1


I just upgraded pkgsrc on my laptop (running NetBSD current amd64) and I 
noticed that amarok would no longer build.  I've tracked the problem down to 
what looks like an error in qt4-libs-4.6.1nb2.  The following program

#include <QtCore/QCoreApplication>
#include <QtScript/QScriptEngine>

int main(int argc, char **argv)
    QCoreApplication app( argc, argv );
    QScriptEngine engine;

built with

g++ -I/usr/pkg/qt4/include -L/usr/pkg/qt4/lib \
-Wl,-R/usr/pkg/qt4/lib -lQtScript

results in a segfault:

Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ffd764490 in QTJSC::JSObject::putDirectFunctionWithoutTransition
    () from /usr/pkg/qt4/lib/
(gdb) bt
#0  0x00007f7ffd764490 in QTJSC::JSObject::putDirectFunctionWithoutTransition
    () from /usr/pkg/qt4/lib/
#1  0x00007f7ffd7519b1 in QTJSC::FunctionPrototype::addFunctionProperties ()
   from /usr/pkg/qt4/lib/
#2  0x00007f7ffd6d1162 in QTJSC::JSGlobalObject::reset ()
   from /usr/pkg/qt4/lib/
#3  0x00007f7ffd830367 in QTJSC::JSGlobalObject::JSGlobalObject ()
   from /usr/pkg/qt4/lib/
#4  0x00007f7ffd830255 in QScript::GlobalObject::GlobalObject ()
   from /usr/pkg/qt4/lib/
#5  0x00007f7ffd7eb369 in QScriptEnginePrivate::QScriptEnginePrivate ()
   from /usr/pkg/qt4/lib/
#6  0x00007f7ffd7ec41c in QScriptEngine::QScriptEngine ()
   from /usr/pkg/qt4/lib/
#7  0x0000000000400b42 in main ()

In addition, my current version of amarok segfaults on startup.

I'll try to make some headway on this later but if, in the meantime, somebody 
has a fix or a suggestion, I would be most happy to test it.


Home | Main Index | Thread Index | Old Index