I've tried to shrink qmenubar.cpp but when I removed all comments, it stopped crashing. Also, it doesn't crash if I remove almost any function before QMenuBar::calculateRects. You can get qt2.1 snapshot from ftp://ftp.troll.no/qt/snapshots/qt-2.1.0-snapshot-20000317.tar.gz or ftp://ftp.kde.org/kde/snapshots/current/qt-x11-2.1.0-beta2.tar.gz igor