Version: (using KDE KDE 3.2.0) Installed from: RedHat RPMs Compiler: gcc 2.96-113 on RH 7.3 OS: Linux Env is: Redhat 7.3, gcc 2.96-113, arts 1.2, qt-3.2.3, Kernel 2.4.22, glibc 2.2.5 All Apps crash immediatly after showing their main app window. gdb backtraces show that all of them crash within the khtmlview lib, although on different places. strace shows that all of them crash nearly after loading the default css stylesheets. Konqueror crashes in KHTMLView::scheduleRelayout KMail, Kontact crash in KHTMLView::RenderBlock::FloatingObject delete::Item
No crashes, using RH-7.3 and I build KDE from sources. Packaging bug?
Tommi, what version of qt are you using? Compiler (default gcc-2.96)? Optimization settings? No matter what I try, gcc-2.96 + qt-2.3.2 + kdelibs-3.2.0 (even with -O0) khtml crashes. As a matter of fact, building kdelibs-3.2.0 with anything but -O0 crashes the compiler.
Created attachment 4629 [details] Patch for gcc 2.96
Comment on attachment 4629 [details] Patch for gcc 2.96 As mentioned here in another bug Posting, the crappy gcc 2.96 throws an Internal Error: Floating Point Exception on khtml_caret_p.h, if -O2 Optimization is used. Building without Optimization makes this worse. It's the reason for my aforementioned probs. By applying this changes and building with -O2, it now seems to work.
Many thanks.
*** This bug has been marked as a duplicate of 67597 ***
The compiler doesn't crash now with the provided patch, but I'm still seeing konqueror crash (SEGFAULT) when trying to view *any* HTML page. I'll try adjusting the RPM_OPT_FLAGS away from the default: -O2 -march=i386 -mcpu=i686 to either just -O2 or even -O1 to see if it helps any.
I've used qt-copy, many versions of 3.2.x and 3.3.x and everything works fine. Compiler is gcc-2.96. Sometimes I build with -march=i686, usually without special flags (=-O2). If I have problems, I'll do complete make cvs-clean and rm -rf /opt/qt* /opt/kde* and rebuild all qt and kde-packages.
Built by me with "-O2 -D_GNU_SOURCE -fuse-cxa-atexit" as provisioned for gcc 2.96 in the spec File. Works fine.
> I'm still seeing konqueror crash (SEGFAULT) when trying to view *any* HTML page. Scratch that. Today the same rh73 box seems to be behaving better. No khtml crashes (yet).