Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Miscellany
Thursday, September 9th, 2010 at 9:39:53am MDT 

  1. Here's the 95% CPU loop.
  2.  
  3. (gdb) fin
  4. Run till exit from #0  strfind (haystack=<value optimized out>, hslen=4096, needle=0x408844 "\r\n\r\n", ndlen=4) at uhttpd-utils.c:83
  5. 0x00402428 in uh_mainloop (conf=0x7fb38f04, serv_fds={fds_bits = {8, 0 <repeats 31 times>}}, max_fd=4) at uhttpd.c:390
  6. 390     uhttpd.c: No such file or directory.
  7.         in uhttpd.c
  8. Value returned is $2 = 0x0
  9. (gdb) s
  10. 402     in uhttpd.c
  11. (gdb)
  12. uh_tcp_recv (cl=0x41e008, buf=0x41a5a0 "", len=0) at uhttpd-utils.c:171
  13. 171     uhttpd-utils.c: No such file or directory.
  14.         in uhttpd-utils.c
  15. (gdb)
  16. 166     in uhttpd-utils.c
  17. (gdb)
  18. 171     in uhttpd-utils.c
  19. (gdb)
  20. 181     in uhttpd-utils.c
  21. (gdb)
  22. uh_mainloop (conf=0x7fb38f04, serv_fds={fds_bits = {8, 0 <repeats 31 times>}}, max_fd=4) at uhttpd.c:375
  23. 375     uhttpd.c: No such file or directory.
  24.         in uhttpd.c
  25. (gdb)
  26. 405     in uhttpd.c
  27. (gdb)
  28. 378     in uhttpd.c
  29. (gdb)
  30. 382     in uhttpd.c
  31. (gdb)
  32. 378     in uhttpd.c
  33. (gdb)
  34. 382     in uhttpd.c
  35. (gdb)
  36. 378     in uhttpd.c
  37. (gdb)
  38. 381     in uhttpd.c
  39. (gdb)
  40. 385     in uhttpd.c
  41. (gdb)
  42. 388     in uhttpd.c
  43. (gdb)
  44. uh_tcp_peek (cl=0x41e008, buf=0x41a5a0 "", len=4095) at uhttpd-utils.c:152
  45. 152     uhttpd-utils.c: No such file or directory.
  46.         in uhttpd-utils.c
  47. (gdb)
  48. 153     in uhttpd-utils.c
  49. (gdb)
  50. uh_tcp_recv (cl=0x41e008, buf=0x41a5a0 "", len=4095) at uhttpd-utils.c:171
  51. 171     in uhttpd-utils.c
  52. (gdb)
  53. 166     in uhttpd-utils.c
  54. (gdb)
  55. 171     in uhttpd-utils.c
  56. (gdb)
  57. 181     in uhttpd-utils.c
  58. (gdb)
  59. 184     in uhttpd-utils.c
  60. (gdb)
  61. 188     in uhttpd-utils.c
  62. (gdb)
  63. 190     in uhttpd-utils.c
  64. (gdb)
  65. 195     in uhttpd-utils.c
  66. (gdb)
  67. uh_tcp_peek (cl=0x41e008, buf=0x41a5a0 "", len=<value optimized out>) at uhttpd-utils.c:156
  68. 156     in uhttpd-utils.c
  69. (gdb)
  70. 163     in uhttpd-utils.c
  71. (gdb)
  72. uh_mainloop (conf=0x7fb38f04, serv_fds={fds_bits = {8, 0 <repeats 31 times>}}, max_fd=4) at uhttpd.c:390
  73. 390     uhttpd.c: No such file or directory.
  74.         in uhttpd.c
  75. (gdb)
  76. strfind (haystack=0x41a5a0 "", hslen=4096, needle=0x408844 "\r\n\r\n", ndlen=4) at uhttpd-utils.c:87
  77. 87      uhttpd-utils.c: No such file or directory.
  78.         in uhttpd-utils.c
  79. (gdb)

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

worth-right