Date: | Sat, 28 Mar 2009 21:57:58 -0400 |
---|---|
From: | Rishikesh Naik <rishinaik9@xxxxxxxxx> |
Subject: | [DynInst_API:] Stack protection error on ubuntu |
Hi All, I tried to create a simple mutator and mutatee programs. They compile fine. But, I am getting following error when I try to run it: main: symbol lookup error: /home/dyninst/dyninstAPI/src/i386-unknown-linux2.4/lib/libdyninstAPI_RT.so.1: undefined symbol: __stack_chk_fail_local
--SERIOUS-- #0: The process exited during startup. This is likely due to one of two reasons: A). The application is mis-built and unable to load. Try running the application outside of Dyninst and see if it loads properly.
B). libdyninstAPI_RT is mis-built. Try loadin --FATAL-- #68: Dyninst was unable to create the specified process --FATAL-- #68: create process failed bootstrap Segmentation fault I am using ubuntu system. If found out that there was some issue with stack protection. I then recompiled the dyninst API with DISABLE-STACK-PROT=true in make.config.local file in src/core directory. I also disabled stack randomization.
But I am still having same issue. One more thing , I get this error only when I use createProcess function. When I try to attach to existing process I get following error: process.C[2525]: Don't have runtime library handle I checked out the code at that line. it says to check if runtime library is loaded. But, I don't understand how to do that either. So, can anybody help me with this?
I am stuck at this really badly. Any help is appreciated. Thanks, Rishikesh |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | , (nil) |
---|---|
Next by Date: | Re: [DynInst_API:] Stack protection error on ubuntu, alok singh |
Previous by Thread: | Re: [DynInst_API:] ReplaceFunction doesn't work, Rishikesh Naik |
Next by Thread: | Re: [DynInst_API:] Stack protection error on ubuntu, alok singh |
Indexes: | [Date] [Thread] |