On 23/03/15 02:13, Graham Dumpleton wrote: > My memory is that truss allows you to specify certain system > functions which you want verbose display of arguments and return > value. > > From memory: > > -v writev > > Can you see if you can get extra information that way about the > arguments?
[root@babylon5 /]# truss -t writev -v writev -p 29939 29940 """ /12: writev(10, 0x08146010, 76) Err#22 EINVAL /12: iov_base = 0xFE155AB8 iov_len = 4 /12: iov_base = 0xFE155ABC iov_len = 4 /12: iov_base = 0x080B3A7B iov_len = 18 /12: iov_base = 0x080B3A73 iov_len = 8 /12: iov_base = 0x080B3A8D iov_len = 16 /12: iov_base = 0x08144F28 iov_len = 9 /12: iov_base = 0x080B3A9D iov_len = 15 /12: iov_base = 0x08144F08 iov_len = 4 /12: iov_base = 0x080B3A4B iov_len = 13 /12: iov_base = 0x080B2628 iov_len = 1 /12: iov_base = 0x080B3AAC iov_len = 12 /12: iov_base = 0x081455C0 iov_len = 2 /12: iov_base = 0x080B3AB8 iov_len = 12 /12: iov_base = 0x081459C0 iov_len = 2 /12: iov_base = 0x080B3944 iov_len = 5 /12: iov_base = 0x08145810 iov_len = 226 /12: writev(9, 0xFE155E30, 2) = 750 /12: iov_base = 0x08148028 iov_len = 219 /12: iov_base = 0x08142010 iov_len = 531 """ Are those two first values, in the "0xFExxxxxx" range, normal?. The content of those memory areas looks weird. With GDB: """ (gdb) x/1xw 0xFE155AB8 0xfe155ab8: 0xfe155ad8 (gdb) x/1xw 0xFE155ABC 0xfe155abc: 0xfed7720b """ The rest of the IOVEC looks good, with content like: "GATEWAY_INTERFACE" "CGI/1.1" -- Jesús Cea Avión _/_/ _/_/_/ _/_/_/ [email protected] - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ Twitter: @jcea _/_/ _/_/ _/_/_/_/_/ jabber / xmpp:[email protected] _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
