pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
segfault in qt4-libs 4.6.1
Hi,
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 t.cc -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/libQtScript.so.4
(gdb) bt
#0 0x00007f7ffd764490 in QTJSC::JSObject::putDirectFunctionWithoutTransition
() from /usr/pkg/qt4/lib/libQtScript.so.4
#1 0x00007f7ffd7519b1 in QTJSC::FunctionPrototype::addFunctionProperties ()
from /usr/pkg/qt4/lib/libQtScript.so.4
#2 0x00007f7ffd6d1162 in QTJSC::JSGlobalObject::reset ()
from /usr/pkg/qt4/lib/libQtScript.so.4
#3 0x00007f7ffd830367 in QTJSC::JSGlobalObject::JSGlobalObject ()
from /usr/pkg/qt4/lib/libQtScript.so.4
#4 0x00007f7ffd830255 in QScript::GlobalObject::GlobalObject ()
from /usr/pkg/qt4/lib/libQtScript.so.4
#5 0x00007f7ffd7eb369 in QScriptEnginePrivate::QScriptEnginePrivate ()
from /usr/pkg/qt4/lib/libQtScript.so.4
#6 0x00007f7ffd7ec41c in QScriptEngine::QScriptEngine ()
from /usr/pkg/qt4/lib/libQtScript.so.4
#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.
Regards,
Sverre
Home |
Main Index |
Thread Index |
Old Index