------- Comment From [email protected] 2016-03-03 11:18 EDT------- With current procps 3.11 I get a clean output for ltrace ps ending with: readproc(0x1000d321b10, 0x10030788, 0, 2261) = 0x10030788 __snprintf_chk(0x3fff8d2b0090, 240, 1, -1) = 5 strlen("20693") = 5 fwrite("20693", 5, 1, 0x3fff8d7917b8) = 1 dev_to_tty(0x3fff8d2b0090, 240, 0x8802, 0x50d5) = 5 strlen("pts/2") = 5 fwrite(" pts/2", 6, 1, 0x3fff8d7917b8) = 1 __snprintf_chk(0x3fff8d2b0090, 240, 1, -1) = 8 strlen("00:00:00") = 8 fwrite(" 00:00:00", 12, 1, 0x3fff8d7917b8) = 1 escape_command(0x3fff8d2b0090, 0x10030788, 0x20000, 0x3fffe167ff44) = 6 strlen("ltrace") = 6 fwrite(" ltrace\n0", 8, 1, 0x3fff8d7917b820693 pts/2 00:00:00 ltrace ) = 1 readproc(0x1000d321b10, 0x10030788, 0, 0x72746c20) = 0x10030788 __snprintf_chk(0x3fff8d2b0090, 240, 1, -1) = 5 strlen("20694") = 5 fwrite("20694", 5, 1, 0x3fff8d7917b8) = 1 dev_to_tty(0x3fff8d2b0090, 240, 0x8802, 0x50d6) = 5 strlen("pts/2") = 5 fwrite(" pts/2", 6, 1, 0x3fff8d7917b8) = 1 __snprintf_chk(0x3fff8d2b0090, 240, 1, -1) = 8 strlen("00:00:00") = 8 fwrite(" 00:00:00", 12, 1, 0x3fff8d7917b8) = 1 escape_command(0x3fff8d2b0090, 0x10030788, 0x20000, 0x3fffe167ff44) = 2 strlen("ps") = 2 fwrite(" ps\n00:00", 4, 1, 0x3fff8d7917b820694 pts/2 00:00:00 ps ) = 1 readproc(0x1000d321b10, 0x10030788, 0, 0xa737020) = 0 closeproc(0x1000d321b10, 0x10030788, 0x8000, 1) = 0x3fff8d790cd8 __fpending(0x3fff8d7917b8, 0, 1, 0) = 0 ferror(0x3fff8d7917b8) = 0 fclose(0x3fff8d7917b8) = 0 __fpending(0x3fff8d7916d8, 0, 0, 0) = 0 ferror(0x3fff8d7916d8) = 0 fclose(0x3fff8d7916d8) = 0 +++ exited (status 0) +++
and the behaviour of ltrace ls changed as it is not any more looping but taking a sigsegv Agree this is not satisfactory -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
