Forum > QT
Updated to KDE 4.5.2 now Apps Crash
sfeinst:
I use PCLinuxOS. The latest update installed KDE 4.5.2 (if there's more to a version number, let me know the command and I will update with accurate information). Since doing that, all my Lazarus apps built for qt crash. I had to rebuild Lazarus for gtk2 in order to get it to load. Some of my apps crash right away, some take a couple of clicks on the UI.
I downloaded the latest SVN build and am using that not the packaged Lazarus that comes with PCLOS (since it is an older version of freepascal and Lazarus).
Does the LCL need to be updated or is there some build option I can use to have this work?
Thanks for any pointers.
zeljko:
Please provide more details about your installation:
1.Is is 32 or 64 bit ?
2.What's qt version ?
3.What's KDE theme ? -> try to start lazarus without startlazarus command from terminal .... like
./lazarus -style plastique and see if it crash in that case.
4.Provide some debug info
sfeinst:
1. 32 bit
2. 4.7.0
3. Oxygen is my current theme, if I don't use startlazarus and pass plastique, it doesn't crash. If I pass oxygen instead of plastique, it crashes.
4.
Here's what appears on the terminal when it crashes:
[steve@localhost lazarus]$ ./lazarus -style oxygen
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/steve/.lazarus"
SecondaryConfigPath="/etc/lazarus"
TMainIDE.DoLoadLFM Creating designer for hidden component of /home/steve/data/code/pascal/rgxrename/frmrename.pas
TMainIDE.DoOpenProjectFile RenameForm:TRenameForm TDesigner
TApplication.HandleException Access violation
Stack trace:
$B5818188
QWidget::repaint: Recursive repaint detected
lazarus.pp - unhandled exception
QPaintDevice: Cannot destroy paint device that is being painted
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
zeljko:
Thanks for info, but debug output isn't good.Please do next:
Rebuild lazarus with -g and then start lazarus via gdb:
gdb ./lazarus
run
**when error occurs write bt and press enter.
Now copy complete backtrace from terminal here.
zeljko:
Forget about my last comment. I've just installed PCLinuxOS and doing update to kde-4.5.2, so I'll debug problem (and probably fix).
Navigation
[0] Message Index
[#] Next page