[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Crashes in designer & uic generated files
From:       Andras Mantia <amantia () virtualartisans ! com>
Date:       2003-01-09 12:39:05
[Download RAW message or body]

Hi,

 I've noticed that some dialog boxes are crashing if they contain KComboBox 
widgets. Eg. K3b's configure page, or Quanta's CSS Editor dialog is one of 
them. For K3B the backtrace shows that the crash in the following (uic 
generated) lines:
116:    m_comboAdvancedFilenamePattern = new KComboBox( FALSE, 
m_groupAdvancedFilenamePattern, "m_comboAdvancedFilenamePattern" );
117:    m_comboAdvancedFilenamePattern->setEditable( TRUE );

The BT is:

#6  0x40ecbdf3 in QComboBox::setEditable () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#7  0x081852f8 in base_K3bPatternOptionTab::base_K3bPatternOptionTab (
    this=0x85ab8b0, parent=0x858c008, name=0x8259cab "patternOptionTab", fl=0)
    at base_k3bpatternoptiontab.cpp:117


Quanta crashes in the same way:

131:   comboFontFamily = new KComboBox( FALSE, Widget8, "comboFontFamily" );
132:    comboFontFamily->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, 
(QSizePolicy::SizeType)0, 0, 0, 
comboFontFamily->sizePolicy().hasHeightForWidth() ) );
133:    comboFontFamily->setEditable( TRUE );


BT:
#4  0x41492a74 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x40fcedf3 in QComboBox::setEditable () from 
/usr/lib/qt3/lib/libqt-mt.so.3
#7  0x0810e83d in CSSEditSelectorS::CSSEditSelectorS (this=0x8afa258, 
    parent=0x8536160, name=0x8a8eb78 "Insert a new selector", modal=false, 
    fl=0) at selectoreditors.cpp:133

If I try to open the .ui files which are used as source of above ones, in 
designer I get a segmentation fault. 
The UI files are correct, at least I haven't modified the Quanta one since 
oct. 29.

I'm using KDE HEAD and QT Copy from the beginning of the week, and I compiled 
them just the same way as before (and I haven't had any problem before), so I 
think there should be a bug in kdewidgets (or somewhere in KComboBox code).
Can someone confirm this?

Andras
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic