2014-09-19 60 views
0

我从源安装了最后一个版本的root,从cern网站下载,我无法打开TBrowser,因为我在附件中附加的错误信息。我已经在根论坛的几个问题上寻找帮助,但没有找到任何对我有用或帮助我的东西。任何人都可以帮我调试这个问题吗?感谢您的任何答复根(cern)崩溃与libpng问题Fedora 20

libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
libpng warning: Application built with libpng-1.2.50 but running with 1.6.6 
Warning in <TASImage::GetMask>: No image 
Warning in <TASImage::GetMask>: No image 

*** Break *** segmentation violation 



=========================================================== 
There was a crash. 
This is the entire stack trace of all threads: 
=========================================================== 
#0 0x00007fc03ffe13ac in waitpid() from /lib64/libc.so.6 
#1 0x00007fc03ff675b2 in do_system() from /lib64/libc.so.6 
#2 0x00007fc040c92ec9 in TUnixSystem::StackTrace()() from /usr/local/lib/root/libCore.so 
#3 0x00007fc040c94aec in TUnixSystem::DispatchSignals(ESignals)() from /usr/local/lib/root/libCore.so 
#4 <signal handler called> 
#5 0x00007fc039960971 in asimage_init() from /usr/local/lib/root/libASImage.so 
#6 0x00007fc039961242 in destroy_asimage() from /usr/local/lib/root/libASImage.so 
#7 0x00007fc03999ebb4 in merge_layers() from /usr/local/lib/root/libASImage.so 
#8 0x00007fc039943da6 in TASImage::Merge(TImage const*, char const*, int, int)() from /usr/local/lib/root/libASImage.so 
#9 0x00007fc03b1dc35c in TGPictureButton::CreateDisabledPicture()() from /usr/local/lib/root/libGui.so 
#10 0x00007fc03b1d908c in TGPictureButton::DoRedraw()() from /usr/local/lib/root/libGui.so 
#11 0x00007fc03b1d68fc in TGButton::SetState(EButtonState, bool)() from /usr/local/lib/root/libGui.so 
#12 0x00007fc03b28b064 in TGTextEditor::Build()() from /usr/local/lib/root/libGui.so 
#13 0x00007fc03b28c345 in TGTextEditor::TGTextEditor(char const*, TGWindow const*, unsigned int, unsigned int)() from /usr/local/lib/root/libGui.so 
#14 0x00007fc03b548c73 in G__G__Gui3_385_0_2(G__value*, char const*, G__param*, int)() from /usr/local/lib/root/libGui.so 
#15 0x00007fc03f44137d in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int)() from /usr/local/lib/root/libCint.so 
#16 0x00007fc03f48c307 in G__execute_call() from /usr/local/lib/root/libCint.so 
#17 0x00007fc03f48c6c5 in G__call_cppfunc() from /usr/local/lib/root/libCint.so 
#18 0x00007fc03f40a16d in G__interpret_func() from /usr/local/lib/root/libCint.so 
#19 0x00007fc03f51d867 in G__getfunction() from /usr/local/lib/root/libCint.so 
#20 0x00007fc03f44412c in G__new_operator() from /usr/local/lib/root/libCint.so 
#21 0x00007fc03f41d72d in G__exec_statement() from /usr/local/lib/root/libCint.so 
#22 0x00007fc03f3e6dd6 in G__exec_tempfile_core() from /usr/local/lib/root/libCint.so 
#23 0x00007fc03f3e82be in G__exec_tempfile_fp() from /usr/local/lib/root/libCint.so 
#24 0x00007fc03f537c69 in G__process_cmd() from /usr/local/lib/root/libCint.so 
#25 0x00007fc040c62120 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*)() from /usr/local/lib/root/libCore.so 
#26 0x00007fc040c030ab in TApplication::ProcessLine(char const*, bool, int*)() from /usr/local/lib/root/libCore.so 
#27 0x00007fc040c28bdc in TROOT::ProcessLine(char const*, int*)() from /usr/local/lib/root/libCore.so 
#28 0x00007fc03b24d741 in TRootBrowser::ExecPlugin(char const*, char const*, char const*, int, int)() from /usr/local/lib/root/libGui.so 
#29 0x00007fc03b24e4f8 in TRootBrowser::InitPlugins(char const*)() from /usr/local/lib/root/libGui.so 
#30 0x00007fc03b24e938 in TRootBrowser::TRootBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*, bool)() from /usr/local/lib/root/libGui.so 
#31 0x00007fc03b24ee38 in TRootBrowser::NewBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*)() from /usr/local/lib/root/libGui.so 
#32 0x00007fc03b56af8a in G__G__Gui3_418_0_47(G__value*, char const*, G__param*, int)() from /usr/local/lib/root/libGui.so 
#33 0x00007fc03f44063b in Cint::G__CallFunc::Execute(void*)() from /usr/local/lib/root/libCint.so 
#34 0x00007fc040c5d3e1 in TCint::CallFunc_ExecInt(void*, void*) const() from /usr/local/lib/root/libCore.so 
#35 0x00007fc040c59861 in TMethodCall::Execute(void*, long&)() from /usr/local/lib/root/libCore.so 
#36 0x00007fc040c2cce2 in TPluginHandler::ExecPlugin(int, ...)() from /usr/local/lib/root/libCore.so 
#37 0x00007fc03b26c7b9 in TRootGuiFactory::CreateBrowserImp(TBrowser*, char const*, unsigned int, unsigned int, char const*)() from /usr/local/lib/root/libGui.so 
#38 0x00007fc040c0af0a in TBrowser::TBrowser(char const*, char const*, TBrowserImp*, char const*)() from /usr/local/lib/root/libCore.so 
#39 0x00007fc040cf00e0 in G__G__Base1_85_0_3(G__value*, char const*, G__param*, int)() from /usr/local/lib/root/libCore.so 
#40 0x00007fc03f44137d in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int)() from /usr/local/lib/root/libCint.so 
#41 0x00007fc03f48c307 in G__execute_call() from /usr/local/lib/root/libCint.so 
#42 0x00007fc03f48c6c5 in G__call_cppfunc() from /usr/local/lib/root/libCint.so 
#43 0x00007fc03f40a16d in G__interpret_func() from /usr/local/lib/root/libCint.so 
#44 0x00007fc03f51d867 in G__getfunction() from /usr/local/lib/root/libCint.so 
#45 0x00007fc03f4d4ee9 in G__define_var() from /usr/local/lib/root/libCint.so 
#46 0x00007fc03f41891c in G__exec_statement() from /usr/local/lib/root/libCint.so 
#47 0x00007fc03f3e6dd6 in G__exec_tempfile_core() from /usr/local/lib/root/libCint.so 
#48 0x00007fc03f3e82be in G__exec_tempfile_fp() from /usr/local/lib/root/libCint.so 
#49 0x00007fc03f537c69 in G__process_cmd() from /usr/local/lib/root/libCint.so 
#50 0x00007fc040c62120 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*)() from /usr/local/lib/root/libCore.so 
#51 0x00007fc040c030ab in TApplication::ProcessLine(char const*, bool, int*)() from /usr/local/lib/root/libCore.so 
#52 0x00007fc04081faa9 in TRint::HandleTermInput()() from /usr/local/lib/root/libRint.so 
#53 0x00007fc040c942b5 in TUnixSystem::CheckDescriptors()() from /usr/local/lib/root/libCore.so 
#54 0x00007fc040c94dda in TUnixSystem::DispatchOneEvent(bool)() from /usr/local/lib/root/libCore.so 
#55 0x00007fc040bf2956 in TSystem::InnerLoop()() from /usr/local/lib/root/libCore.so 
#56 0x00007fc040bf3500 in TSystem::Run()() from /usr/local/lib/root/libCore.so 
#57 0x00007fc040c0173f in TApplication::Run(bool)() from /usr/local/lib/root/libCore.so 
#58 0x00007fc040820bc7 in TRint::Run(bool)() from /usr/local/lib/root/libRint.so 
#59 0x0000000000400fec in main() 
=========================================================== 


The lines below might hint at the cause of the crash. 
If they do not help you then please submit a bug report at 
http://root.cern.ch/bugs. Please post the ENTIRE stack trace 
from above as an attachment in addition to anything else 
that might help us fixing this issue. 
=========================================================== 
#5 0x00007fc039960971 in asimage_init() from /usr/local/lib/root/libASImage.so 
#6 0x00007fc039961242 in destroy_asimage() from /usr/local/lib/root/libASImage.so 
#7 0x00007fc03999ebb4 in merge_layers() from /usr/local/lib/root/libASImage.so 
#8 0x00007fc039943da6 in TASImage::Merge(TImage const*, char const*, int, int)() from /usr/local/lib/root/libASImage.so 
#9 0x00007fc03b1dc35c in TGPictureButton::CreateDisabledPicture()() from /usr/local/lib/root/libGui.so 
#10 0x00007fc03b1d908c in TGPictureButton::DoRedraw()() from /usr/local/lib/root/libGui.so 
#11 0x00007fc03b1d68fc in TGButton::SetState(EButtonState, bool)() from /usr/local/lib/root/libGui.so 
#12 0x00007fc03b28b064 in TGTextEditor::Build()() from /usr/local/lib/root/libGui.so 
#13 0x00007fc03b28c345 in TGTextEditor::TGTextEditor(char const*, TGWindow const*, unsigned int, unsigned int)() from /usr/local/lib/root/libGui.so 
=========================================================== 
+0

您尝试重新链接您的TSAImage应用程序后升级libpng? – 2014-09-19 18:30:40

+0

感谢您的答复。你好解释我如何重新链接我的TASImage到正确的libpng? – pferra 2014-09-23 09:21:14

+0

我试图重现你的问题,Ub untu。在那里,“新的TBrowser”因无法找到libpng.16.so.16而失败。设置LD_LIBRARY_PATH指向包含libpng.16.so的目录似乎解决了这个问题(在Ubuntu上,我还需要它指向包含root的libCore.so的库),所以我的命令是LD_LIBRARY_PATH = $ HOME/root/lib/root:$ HOME/lib export LD_LIBRARY_PATH其中libCore.so位于第一个目录中,而libpng16位于第二个目录中。我不必做任何重新链接。 – 2014-09-23 18:16:31

回答

0

当您构建根(假设你从源代码安装),尝试运行与--disable-builtin-afterimage选项来配置。

+0

感谢您的回复,但该选项无济于事。 – pferra 2014-09-23 09:22:00

1

尝试在你的环境中设置LD_LIBRARY_PATH,以指向包含libpng16目录(例如,如果libpng16.so是/path/to/lib/libpng16.so,这样做:

$ LD_LIBRARY_PATH=/path/to/lib export LD_LIBRARY_PATH 
$ root 
root[0] new TBrowser 

这对我在Ubuntu上工作,虽然我还必须包括libCore.so路径与根安装。

+1

正在运行'LD_PRELOAD =/usr/lib64/libpng12.so.0.50.0 root'。 – 2015-02-13 10:48:17