文書の過去の版を表示しています。


Errors

CINT

  • Macro 中で #include <cstdio> を書いていると CINT で複数回実行すると、プログラムを閉じる時に segmentation violation が起きる。なんで?とにかく、macro 中で #include <cstdio> を使ってはいけないようだ。関数などのコメントアウトの仕方を変えると、エラーの内容が変わるのでデバッグ仕辛いので注意。複数回 macro を実行する場合は #include に注意。
  • TH1::Fit(fitfunc,“R+”) で使用する fitfunc の具体的定義は macro の一番初めに書かないと segmentation violation が起きたり、
    Error: Cint::G__CallFunc::SetArgArray() must be initialized with 'Cint::G__CallFunc::SetFunc(G__ClassInfo* cls,char* fname,char* args,long* poffset)' first

    となったり、

     *** Break *** segmentation violation
    ===========================================================
    There was a crash.
    This is the entire stack trace of all threads:
    ===========================================================
    #0  0x00007f1e1d6c727c in __libc_waitpid (pid=15528, stat_loc=stat_loc
    entry=0x7ffdde5e5be0, options=options
    entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31

    となったりする。

softwares/root/errors.1535622384.txt.gz · 最終更新: 2018/08/30 18:46 by kobayash
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0