On 24/03/15 04:19, Graham Dumpleton wrote: > > > On Tuesday, 24 March 2015 14:08:25 UTC+11, jcea wrote: > > 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?. > > > They are integers giving a length and location is on the stack, so > likely okay.
Of course you are right and I am blind at 4:36 in the morning :-). I think we have an issue here: """ [jcea@babylon5 /]$ less /usr/include/limits.h [...] #define _XOPEN_IOV_MAX 16 /* max # iovec/process with readv()/writev() */ [...] #define IOV_MAX _XOPEN_IOV_MAX """ Looks like in Solaris we have a limit of 16 iovec in writev. We are doing exactly 16... suspicious. -- 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
