linux启动openoffice报错Application Error Fatal exception: Signal 6

问题现象

在这里插入图片描述
nohup: ignoring input
Application Error

Fatal exception: Signal 6
Stack:
/opt/openoffice4/program/libuno_sal.so.3(+0x37c3a)[0x7fd9db818c3a]
/opt/openoffice4/program/libuno_sal.so.3(+0x37d6c)[0x7fd9db818d6c]
/opt/openoffice4/program/libuno_sal.so.3(+0x37e09)[0x7fd9db818e09]
/lib64/libc.so.6(+0x36400)[0x7fd9da44c400]
/lib64/libc.so.6(gsignal+0x37)[0x7fd9da44c387]
/lib64/libc.so.6(abort+0x148)[0x7fd9da44da78]
/opt/openoffice4/program/libvcl.so(+0x155781)[0x7fd9d6a76781]
/opt/openoffice4/program/libsofficeapp.so(+0x2356b)[0x7fd9db57756b]
/opt/openoffice4/program/libvcl.so(+0x17fed2)[0x7fd9d6aa0ed2]
/opt/openoffice4/program/libuno_sal.so.3(+0x36a02)[0x7fd9db817a02]
/opt/openoffice4/program/libuno_sal.so.3(+0x37dea)[0x7fd9db818dea]
/lib64/libc.so.6(+0x36400)[0x7fd9da44c400]
/lib64/libc.so.6(gsignal+0x37)[0x7fd9da44c387]
/lib64/libc.so.6(abort+0x148)[0x7fd9da44da78]
/lib64/libfontconfig.so.1(+0x1b405)[0x7fd9be7a5405]
/lib64/libfontconfig.so.1(+0x1b634)[0x7fd9be7a5634]
/lib64/libfontconfig.so.1(+0x1b93b)[0x7fd9be7a593b]
/lib64/libfontconfig.so.1(+0x1ba6b)[0x7fd9be7a5a6b]
/lib64/libfontconfig.so.1(FcFontMatch+0x6d)[0x7fd9be7a681d]
/opt/openoffice4/program/libvcl.so(+0x137319)[0x7fd9d6a58319]
/opt/openoffice4/program/libvcl.so(+0x1373aa)[0x7fd9d6a583aa]
/opt/openoffice4/program/libvcl.so(_ZN3psp16PrintFontManager20countFontconfigFontsERSt8hash_mapIN3rtl7OStringEiNS2_11OStringHashESt8equal_toIS3_EE+0x35)[0x7fd9d6a59bdf]
/opt/openoffice4/program/libvcl.so(_ZN3psp16PrintFontManager10initializeEv+0x247)[0x7fd9d6a651e7]
/opt/openoffice4/program/libvcl.so(_ZN3psp16PrintFontManager3getEv+0x49)[0x7fd9d6a660ab]
/opt/openoffice4/program/libvclplug_svp.so(+0x2a8f4)[0x7fd9c892b8f4]
/opt/openoffice4/program/libvcl.so(+0x25aa90)[0x7fd9d6b7ba90]
/opt/openoffice4/program/libvcl.so(+0x2615c6)[0x7fd9d6b825c6]
/opt/openoffice4/program/libvcl.so(_ZNK12OutputDevice14GetFontCharMapER11FontCharMap+0x33)[0x7fd9d6b82671]
/opt/openoffice4/program/libvcl.so(_ZNK12OutputDevice9HasGlyphsERK4FontRK6Stringtt+0x82)[0x7fd9d6b82748]
/opt/openoffice4/program/libvcl.so(+0x385722)[0x7fd9d6ca6722]
/opt/openoffice4/program/libvcl.so(+0x385808)[0x7fd9d6ca6808]
/opt/openoffice4/program/libvcl.so(_ZN11Application19MergeSystemSettingsER11AllSettings+0x4a)[0x7fd9d6a9d428]
/opt/openoffice4/program/libsvt.so(_ZN19SvtTabAppearanceCfg22SetApplicationDefaultsEP11Application+0x124)[0x7fd9d802ce58]
/opt/openoffice4/program/libsofficeapp.so(+0x2d52b)[0x7fd9db58152b]
/opt/openoffice4/program/libvcl.so(+0x1807b7)[0x7fd9d6aa17b7]
/opt/openoffice4/program/libvcl.so(_Z6SVMainv+0x1e)[0x7fd9d6aa1882]
/opt/openoffice4/program/libsofficeapp.so(soffice_main+0x9c)[0x7fd9db5a8fcc]
/opt/openoffice4/program/soffice.bin(main+0xb)[0x400f7b]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fd9da438555]
/opt/openoffice4/program/soffice.bin(__gxx_personality_v0+0xb9)[0x400eb9]
/opt/openoffice4/program/soffice: line 121: 21191 Aborted “ s d p r o g / sd_prog/ sdprog/sd_binary” “$@”

问题根源

项目需求用到openoffice进行 word转PDF完成word在线预览功能,当我调试完预览功能后发现 转换完的PDF中文出现了乱码,就在网上找帖子来解决中文乱码的问题 将 本地的fonts文件夹丢到了服务器的/usr/share/fonts下,再次启动openoffice服务时,就发现服务启动不了。将新加的fonts文件夹删除后,服务启动成功。
如果需求解决中文乱码,只需要将需要的单个字体文件放到 fonts文件夹下就可以了。

.

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值