Hi Alberto, >From your log for the successful run, it seems like you have multiple instances of Dyninst installed: one in /home/aolmo/soft/dyninst-9.3.2/install/lib/ and the other one in /usr/local/lib/. Do you know whether these two instances of Dyninst are the same version? I would recommend that you ensure that you compile your application and run your application with the exact same installation of Dyninst.
I am not sure whether this is the cause, but it is indeed strange that one application can find DyninstRT, but the other one cannot find it. Thanks, --Xiaozhu On Wed, Apr 25, 2018 at 2:02 AM, Alberto Olmo <aolmo....@gmail.com> wrote: > Hello Xiaozhu, > > I have doble checked and I don't get much more debug information than the > one I sent you in the last email. All I can see is this: > > Enabling DyninstAPI startup debug >> Enabling DyninstAPI startup debug >> Failed to set environment var to preload RT library >> --FATAL-- #68: Dyninst was unable to create the specified process >> --FATAL-- #68: create process failed bootstrap >> DynInst Exception: Process creation failed, Object name: my_app >> Creating process my_app in directory ./ >> [140571584620416]dynProcess.C[85]: stdin: 0, stdout: 1, stderr: 2 >> Failed to set environment var to preload RT library >> --FATAL-- #68: Dyninst was unable to create the specified process >> --FATAL-- #68: create process failed bootstrap >> DynInst Exception: Process creation failed, Object name: my_app > > > I have also attached to this email the same log (log.txt) in the event you > wanted to see it in a file as well as the logs from a successful Dyninst > execution with a synthetic app, that only counts the number of times a > function is called (mutator-counter-log.txt). > > What do you think it may be happening? > > Thank you very much for your help, > > > Alberto Olmo. > > > 2018-04-24 17:19 GMT+02:00 Alberto Olmo <aolmo....@gmail.com>: > >> Hi Xiaozhu, >> >> I currently don't have access to the machine where I have Dyninst >> installed. I will send the debugging log tomorrow if you don't mind, >> I am using a 64 bit CentOS 7, >> >> Thanks for your rapid response, >> >> >> >> Alberto Olmo. >> >> >> 2018-04-24 16:49 GMT+02:00 Xiaozhu Meng <xm...@cs.wisc.edu>: >> >>> Hi Alberto, >>> >>> What's your platform (windows or linux; 32bit or 64bit)? Could you send >>> me the debugging log from DYNINST_DEBUG_STARTUP=1? >>> >>> Thanks, >>> >>> --Xiaozhu >>> >>> On Tue, Apr 24, 2018 at 4:49 AM, Alberto Olmo <aolmo....@gmail.com> >>> wrote: >>> >>>> To whom it may concern, >>>> >>>> My name is Alberto, a student at the Universitat Autonoma de Barcelona, >>>> and I am currently trying to install the Dyninst API in order to use it in >>>> another application. I have been able to install version 9.3.2 and its >>>> dependencies and test it with a small program which counts the number of >>>> times a function is called. It works correctly. >>>> >>>> However, now I am trying to use it in another application which (I >>>> think) needs to call BPatch::processCreate and I get the following errors: >>>> >>>> Failed to set environment var to preload RT library >>>>> --FATAL-- #68: Dyninst was unable to create the specified process >>>>> --FATAL-- #68: create process failed bootstrap >>>> >>>> DynInst Exception: Process creation failed, Object name: my_app >>>> >>>> >>>> >>>> I do have exported variables *DYNINSTAPI_RT_LIB* and >>>> *DYNINST_API_RT_LIB* to point to *libdyninstAPI_RT.so* (I think >>>> depending on the Dyninst version one or the other is needed) as well as set >>>> the flag *DYNINST_DEBUG_STARTUP=1* to get more information about the >>>> problem. >>>> >>>> I have also tried with older versions but the error I get is exactly >>>> the same, >>>> >>>> What would you recommend me that I try? >>>> >>>> I would really appreciate any help you could provide me, >>>> Thank you very much in advance and sorry for the inconveniences, >>>> >>>> Alberto Olmo. >>>> >>>> >>>> _______________________________________________ >>>> Dyninst-api mailing list >>>> Dyninst-api@cs.wisc.edu >>>> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api >>>> >>> >>> >> >
_______________________________________________ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api