Giter VIP home page Giter VIP logo

specs's People

Contributors

shnywd avatar

Watchers

 avatar

specs's Issues

CentOS 6.4 at AWS

AWS東京リージョンの "CentOS 6.4 (x86_64) - Release Media" AMIを元に
squidをビルドしている。

ビルドしたsquidをインストールして起動しようとすると
Illigal Instruction
というエラーを表示して、落ちてしまう。

coreをgdb で確認したところ以下のようであった。

Core was generated by `/usr/local/squid/sbin/squid -k check'.
Program terminated with signal 4, Illegal instruction.
#0  getCurrentTime () at time.cc:50
50                          (double) current_time.tv_usec / 1000000.0;
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 libgcc-4.4.7-4.el6.x86_64 libstdc++-4.4.7-4.el6.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64
(gdb) backtrace
#0  getCurrentTime () at time.cc:50
#1  0x0000000000509fb5 in debugLogTime (format=0x71db60 "%s\n") at debug.cc:524
#2  _db_print (format=0x71db60 "%s\n") at debug.cc:124
#3  0x000000000050a5a9 in Debug::finishDebug () at debug.cc:761
#4  0x000000000059eb1e in PconnModule::PconnModule (this=0xb757b0)
    at pconn.cc:485
#5  0x000000000059eb98 in PconnModule::GetInstance () at pconn.cc:493
#6  0x000000000059ec38 in PconnPool::PconnPool (this=0x7fe8c8a11010,
    aDescr=<value optimized out>) at pconn.cc:387
#7  0x000000000053c566 in __static_initialization_and_destruction_0 ()
    at FwdState.cc:98
#8  global constructors keyed to _ZN8FwdState15CBDATA_FwdStateE() ()
    at FwdState.cc:1585
#9  0x00000000006f5226 in __do_global_ctors_aux ()
#10 0x00000000004aaebb in _init ()
#11 0x00007fffa29d0808 in ?? ()
#12 0x00000000006f51b5 in __libc_csu_init ()
#13 0x00007fe8c709bcb0 in __libc_start_main () from /lib64/libc.so.6
#14 0x00000000004ac299 in _start ()
(gdb)

エラーになっているのが

  • getCurrentTime () を呼んだばかりのところである。
  • (double) current_time.tv_usec を実行したところエラーになっている?

ところから、
ライブラリの参照、あるいはアーキテクチャ( x86, x64 )の違いによるものだと推測している

試行錯誤中

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.