[Fedora-trans-ar] Arabic issue #18: app.setFont(QFont("")) causes a run-time crash!

Munzir Taha munzirtaha at newhorizons.com.sa
Thu Feb 24 10:18:14 UTC 2005


# uname -a
Linux localhost 2.6.10-1mdk #1 Fri Jan 14 14:31:03 CET 2005 i686 AMD 
Athlon(tm) 64 Processor 3200+ unknown GNU/Linux

CODE: 

#include <QtGui>

int main(int argc, char *argv[])
{
        QApplication app(argc, argv);
        app.setFont(QFont(""));

        QHBoxWidget *hbox = new QHBoxWidget(0);
        QSpinBox *spinBox = new QSpinBox(hbox);

        spinBox->setValue(35);
        hbox->show();
        return app.exec();


}


PROBLEM:
A run-time crash with this message:
ASSERT: "(next == length && gp == current.num_glyphs) || logClusters[next] == 
gp" in file /usr/local/qt/src/gui/text/qtextlayout.cpp, line 1146
Aborted (core dumped)

A core file attached!

-- 
Munzir Taha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the OpenBugs Wiki page at
http://arabic-fedora.org/
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA




More information about the Fedora-trans-ar mailing list