{"action":"created","issue":{"url":"https://api.github.com/repos/dmtcp/dmtcp/issues/61","labels_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/61/comments","events_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/61/events","html_url":"https://github.com/dmtcp/dmtcp/issues/61","id":69142355,"number":61,"title":"Failing on --enable-m32 in CentOS 7 and CentOS 6.6","user":{"login":"gc00","id":1207321,"avatar_url":"https://avatars.githubusercontent.com/u/1207321?v=3","gravatar_id":"","url":"https://api.github.com/users/gc00","html_url":"https://github.com/gc00","followers_url":"https://api.github.com/users/gc00/followers","following_url":"https://api.github.com/users/gc00/following{/other_user}","gists_url":"https://api.github.com/users/gc00/gists{/gist_id}","starred_url":"https://api.github.com/users/gc00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc00/subscriptions","organizations_url":"https://api.github.com/users/gc00/orgs","repos_url":"https://api.github.com/users/gc00/repos","events_url":"https://api.github.com/users/gc00/events{/privacy}","received_events_url":"https://api.github.com/users/gc00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-17T13:46:36Z","updated_at":"2015-04-18T21:35:18Z","closed_at":null,"body":"These are probably two different bugs, but I'll start them as a single issue for now.\r\nIn CentOS 7, do:  `./configure --enable-m32` and make and `dmtcp_launch test/dmtcp1`.\r\n`dmtcp_launch' correctly execs into `dtmcop1`.  Within DmtcpWorker, I see:\r\n(gdb) where\r\n#0  0xffffce30 in ?? ()\r\n#1  0xf7e9e19e in initialize_libc_wrappers () at syscallsreal.c:265\r\n#2  0xf7e50bfa in dmtcp_prepare_wrappers () at dmtcpworker.cpp:145\r\n#3  0xf7ea0719 in _real_dup2 (oldfd=827, newfd=827) at syscallsreal.c:649\r\n#4  0xf7e90a31 in jalib::dup2 (oldfd=827, newfd=827) at ../jalib/jalib.cpp:97\r\n#5  0xf7e91669 in jassert_internal::jassert_init () at ../jalib/jassert.cpp:124\r\n#6  0xf7e90893 in jalib_init (jalibFuncPtrs=..., \r\n    elfInterpreter=0xf7eacb5d \"/lib64/ld-linux-x86-64.so.2\", stderrFd=827, \r\n    jassertLogFd=828, dmtcp_fail_rc=99) at ../jalib/jalib.cpp:57\r\n#7  0xf7e86a47 in initializeJalib () at jalibinterface.cpp:70\r\n#8  0xf7e5165f in dmtcp::DmtcpWorker::DmtcpWorker (\r\n    this=0xf7ece18d <dmtcp::DmtcpWorker::theInstance>) at dmtcpworker.cpp:313\r\n#9  0xf7e52ce4 in __static_initialization_and_destruction_0 (__initialize_p=1, \r\n    __priority=65535) at dmtcpworker.cpp:306\r\n#10 0xf7e52d26 in _GLOBAL__sub_I_dmtcpworker.cpp(void) () at dmtcpworker.cpp:632\r\n#11 0xf7fec47e in _dl_init_internal () from /lib/ld-linux.so.2\r\n#12 0xf7fde05f in _dl_start_user () from /lib/ld-linux.so.2\r\nNOTE:\r\n(gdb) frame 1\r\n#1  0xf7e9e19e in initialize_libc_wrappers () at syscallsreal.c:265\r\n265\t    FOREACH_DMTCP_WRAPPER(GET_FUNC_ADDR);\r\n\r\n\r\nSeparately, in the second bug, on CentOS 6.6, with --enable-m32, it fails on restart.  If address space randomization is turned off, then this bug goes away.  With address space randomization turned on, and using the latest DMTCP (with the first bug fix from issue #56) and also with mtcp_check_vdso() being invoked, it still dumps core."},"comment":{"url":"https://api.github.com/repos/dmtcp/dmtcp/issues/comments/94202940","html_url":"https://github.com/dmtcp/dmtcp/issues/61#issuecomment-94202940","issue_url":"https://api.github.com/repos/dmtcp/dmtcp/issues/61","id":94202940,"user":{"login":"gc00","id":1207321,"avatar_url":"https://avatars.githubusercontent.com/u/1207321?v=3","gravatar_id":"","url":"https://api.github.com/users/gc00","html_url":"https://github.com/gc00","followers_url":"https://api.github.com/users/gc00/followers","following_url":"https://api.github.com/users/gc00/following{/other_user}","gists_url":"https://api.github.com/users/gc00/gists{/gist_id}","starred_url":"https://api.github.com/users/gc00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gc00/subscriptions","organizations_url":"https://api.github.com/users/gc00/orgs","repos_url":"https://api.github.com/users/gc00/repos","events_url":"https://api.github.com/users/gc00/events{/privacy}","received_events_url":"https://api.github.com/users/gc00/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T21:35:18Z","updated_at":"2015-04-18T21:35:18Z","body":"The bug is now in the range 1d6c4d1a59b1e137d6ca726453edf35a04acca0e..84601e31651e1819c54ce39b97b7b8a456cb3af6 (from 12/25/13 to 2/16/14)."}}