Apache OpenOffice (AOO) Bugzilla – Issue 22440
setup segfaults from SiBasic::Error() when -nogui passed in
Last modified: 2004-03-18 15:11:13 UTC
SiBasic::Error() does not check m_rEnv.HasVCL() (which returns false if -nogui is passed into setup from the command line) before running off to call InfoBox, which uses the VCL. Well, since -nogui was passed the VCL is not inited, and this causes setup to segfault in SalFrameData::Init(). Attached patch checks m_rEnv.HasVCL() and if TRUE, calls InfoBox, but if FALSE, prints the error out to stderr.
Created attachment 11243 [details] cd setup2, patch -p1 < /path/to/patchfile
committed to cws_srx645_ooo111fix1, approved by Nesshof on IRC
Hi Dirk, is this something you should give some attention?
setting to fixed, as already committed to ooo111fix1
Please verify.
Verified. Problem fixed.
Fixed.