Summary: | kimagemap editor crashes when I start it | ||
---|---|---|---|
Product: | [Applications] kimagemapeditor | Reporter: | GML <gmludo> |
Component: | general | Assignee: | Jan Schaefer <j_schaef> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | valentindietrich |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
GML
2006-04-07 23:55:55 UTC
Just to be entirely sure that the problem isn't old config files, create a new user, and try to run kimagemapeditor with that user. If it still crashes, you'll need to provide a debugging-enabled backtrace I've same bug with new user. How I can activate debugging backtrace ? I think debian offers debug-enabled packages, called 'kdelibs-dbg' or something similar. You'd have to install all of those (instead of your current KDE packages) and try again. I've installed kdelibs-dbg and kdewebdev-dbg. The backtrace : Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1506326848 (LWP 18724)] [KCrash handler] #6 0xa6b7b87a in qt_fillFontDef () from /usr/lib/libqt-mt.so.3 #7 0xa6b7f8a2 in QFontDatabase::font () from /usr/lib/libqt-mt.so.3 #8 0x080950dd in KImageMapEditor::getBackgroundImage (this=0x814a528) at kimagemapeditor.cpp:860 #9 0x08097861 in KImageMapEditor (this=0x814a528, parentWidget=0x8149258, parent=0x811a958, name=0x0) at kimagemapeditor.cpp:194 #10 0x08061fdc in KimeShell (this=0x811a958, name=0x0) at kimeshell.cpp:57 #11 0x08062779 in main (argc=0, argv=0x0) at main.cpp:70 #12 0xa7602eb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #13 0x08061051 in _start () at ../sysdeps/i386/elf/start.S:119 I've the same problem and the same debugging result! kde 3.5.2; Kernel: 2.6.15.6-kanotix-1 ; Kanotix (CeBit Preview) this happened after i updated xorg (to v7), but i'm not sure if the problem wasn't there before no, I had xorg 6.9 when kimagemapcreator began to crash. I've same bug with xorg 7.0. This bugs appears with kde 3.5.2 update. kimagemapeditor is crashing on launch for me too. I'm running Kanotix with 2.6.17 kernel. In my system (Debian testing/unstable, kernel 2.6.17.5, X.org 7.0, KDE-3.5.3, Debian Package 4:3.5.2-2 (testing/unstable)) kimagemapeditor also crashes right after it has been launched. Could you post the output and the backtrace of KIME when started from the console? Okay, I think I found the reason for the crash, as I could reproduce it now. It comes when a certain font is not installed on the system. I will fix this. SVN commit 621091 by schafer: Fixed a code line that can crash when the desired font is not installed. Removed the hard-coded font name Luxi Sans and take the default font instead. BUG:125145 M +5 -1 kimagemapeditor.cpp --- branches/KDE/3.5/kdewebdev/kimagemapeditor/kimagemapeditor.cpp #621090:621091 @@ -857,8 +857,12 @@ pix.fill(QColor(74,76,74)); QPainter p(&pix); - QFont font = QFontDatabase().font("Luxi Sans","Bold",fontSize); + QFont font; + font.setFamily("Sans"); + font.setPixelSize(fontSize); + font.setBold(true); p.setFont( font ); + p.setRasterOp(Qt::CopyROP); p.setPen(QPen(QColor(112,114,112),1)); |