#8 0xb6317719 in __xmlParserInputBufferCreateFilename () from /usr/lib/libxml2.so.2
#9 0xb63177cc in xmlParserInputBufferCreateFilename () from /usr/lib/libxml2.so.2
#10 0xb63a20f4 in xmlNewTextReaderFilename () from /usr/lib/libxml2.so.2
#11 0xb64c1fb9 in ?? () from /usr/lib/libgnomevfs-2.so.0
#12 0xb64c2556 in gnome_vfs_mime_get_value () from /usr/lib/libgnomevfs-2.so.0
#13 0xb64c10a5 in gnome_vfs_mime_get_icon () from /usr/lib/libgnomevfs-2.so.0
#14 0xb6637db4 in gnome_icon_lookup () from /usr/lib/libgnomeui-2.so.0
#15 0xb663838c in gnome_icon_lookup_sync () from /usr/lib/libgnomeui-2.so.0
#16 0x08520e4d in QGtkStylePrivate::getFilesystemIcon(QFileInfo const&) ()
#17 0x0870f5e2 in QFileIconProvider::icon(QFileInfo const&) const ()
#18 0x0866e4d1 in QFileInfoGatherer::getInfo(QFileInfo const&) const ()
#19 0x08663899 in QFileSystemModelPrivate::node(QString const&, bool) const ()
#20 0x08665455 in QFileSystemModel::setRootPath(QString const&) ()
#21 0x0861fdb7 in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate(QUnixPrintWidget*) ()
#22 0x08620184 in QUnixPrintWidget::QUnixPrintWidget(QPrinter*, QWidget*) ()
#23 0x0862020d in QPrintDialogPrivate::init() ()
#24 0x08620779 in QPrintDialog::QPrintDialog(QWidget*) ()
问题看起来比较像是Qt 调用 Gnome之后产生的
解决办法:调用 qtconfig(在Qt的安装路径的bin下面) 把GUI style换成一个非default的, 保存退出之后再次调用自己的程序就不再crash了