------- Comment From thierry.fa...@fr.ibm.com 2016-03-22 10:23 EDT-------
Would you mind checking that patch:
diff -urN ltrace-0.7.3/sysdeps/linux-gnu/ppc/plt.c 
ltrace-0.7.3.new/sysdeps/linux-gnu/ppc/plt.c
--- ltrace-0.7.3/sysdeps/linux-gnu/ppc/plt.c    2016-03-22 10:18:14.713800825 
-0400
+++ ltrace-0.7.3.new/sysdeps/linux-gnu/ppc/plt.c        2016-03-22 
10:14:59.565267626 -0400
@@ -782,7 +782,7 @@
/* In UNRESOLVED state, the RESOLVED_VALUE in fact contains
* the PLT entry value.  */
if (value == libsym->arch.resolved_value)
-               return CBS_CONT;
+               return CBS_STOP;
debug(DEBUG_PROCESS, "pid=%d PLT got resolved to value %#"PRIx64,
proc->pid, value);

This patch allows the following commands to pass:
* make check
===  Summary ===

# of expected passes            219

* ltrace ps, ltrace ls  ---> +++ exited (status 0) +++

* ltrace make

make[1]: Leaving directory '/home/ubuntu/WORK/ltrace-0.7.3.new'
--- SIGCHLD (Child exited) ---
chdir("/home/ubuntu/WORK/ltrace-0.7.3.n"...)     = 0
exit(0 <no return ...>
+++ exited (status 0) +++

------- Comment From thierry.fa...@fr.ibm.com 2016-03-22 10:26 EDT-------
Changing state for patch testing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1547152

Title:
  ltrace is throwing segfault while running any of the userspace command

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1547152/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to