Created attachment 54167 [details]
Libreoffice (all components including writer, spreadsheet, impress etc.) crashes in KDE4.7.2 (kubuntu 11.10) when Polyster style is enabled. With the default oxygen style it does not crash.
Steps to reproduce:
1. Enable Polyster style. May have to use package manager to install.
2. Open Libreoffice writer
3. It crashes
Current behavior: It crashes
Expected behavior: It should not crash.
Platform (if different from the browser): Kubuntu 11.10. KDE 4.7.2. 3.0.0-13-generic-pae kernel.
Browser: Opera/9.80 (X11; Linux i686; U; en) Presto/2.10.229 Version/11.60
Strace is usually useless for crashes. Please provide a backtrace from the crash (http://wiki.documentfoundation.org/BugReport#How_to_get_backtrace_.28on_Linux.29).
Created attachment 55584 [details]
As requested, backtrace is attached. Thanks.
The bug is in the style. Function PolyesterStyle::drawComplexControl() dereferences the widget pointer argument in the CC_ToolButton case even though Qt documentation says the argument is optional and can therefore be NULL. You'll need to report to the style developers.