nginx 1.1.15: crash

locojohn nginx-forum на nginx.us
Вс Фев 19 14:12:26 UTC 2012


#0  ngx_event_pipe_write_chain_to_temp_file (p=0x2238f88)
    at src/event/ngx_event_pipe.c:709
709	src/event/ngx_event_pipe.c: No such file or directory.
(gdb) fr 0
#0  ngx_event_pipe_write_chain_to_temp_file (p=0x2238f88)
    at src/event/ngx_event_pipe.c:709
709	in src/event/ngx_event_pipe.c
(gdb) p *p->busy->buf
$1 = {
  pos = 0x232f455 "Data></Cell>\r\n    <Cell ss:StyleID=\"s73\"><Data
ss:Type=\"Number\">-200</Data></Cell>\r\n    <Cell
ss:StyleID=\"s73\"><Data ss:Type=\"Number\">-500</Data></Cell>\r\n   
<Cell ss:StyleID=\"s74\"><Data ss:Type=\"Numb"..., last = 0x23331f0
"\200\264\273\364\234>\250\265\021@", file_pos = 0, 
  file_last = 0, 
  start = 0x232f1f0 "er 20' :  Vatos (27ton/20'). No OWS from B/L Date
26/08/10.</Data></Cell>\r\n    <Cell ss:StyleID=\"s79\"/>\r\n    <Cell
ss:StyleID=\"s79\"/>\r\n    <Cell ss:StyleID=\"s79\"/>\r\n    <Cell
ss:StyleID=\"s79\"/>\r\n    <"..., end = 0x23331f0
"\200\264\273\364\234>\250\265\021@", tag = 0x694380, 
  file = 0x0, shadow = 0x223a708, temporary = 1, memory = 0, mmap = 0, 
  recycled = 1, in_file = 0, flush = 0, sync = 0, last_buf = 0, 
  last_in_chain = 0, last_shadow = 1, temp_file = 0, num = 6}
(gdb) p *p->busy->next->buf
$2 = {
  pos = 0x2333200 "   <Cell ss:StyleID=\"s78\"><Data
ss:Type=\"String\">valid for freight collect. Max.  Payload per 20' : 
Vatos (27ton/20'). No OWS from B/L Date 26/08/10.</Data></Cell>\r\n   
<Cell ss:StyleID=\"s79\"/>\r\n    "..., 
  last = 0x2337200 "\t\r\n\t});\r\021@", file_pos = 0, file_last = 0, 
  start = 0x2333200 "   <Cell ss:StyleID=\"s78\"><Data
ss:Type=\"String\">valid for freight collect. Max.  Payload per 20' : 
Vatos (27ton/20'). No OWS from B/L Date 26/08/10.</Data></Cell>\r\n   
<Cell ss:StyleID=\"s79\"/>\r\n    "..., 
  end = 0x2337200 "\t\r\n\t});\r\021@", tag = 0x694380, file = 0x0, 
  shadow = 0x223a7c8, temporary = 1, memory = 0, mmap = 0, recycled = 1,

  in_file = 0, flush = 0, sync = 0, last_buf = 0, last_in_chain = 0, 
  last_shadow = 1, temp_file = 0, num = 7}
(gdb) p *p->busy->next->next->buf
$3 = {
  pos = 0x2337210 "31.03.2012</Data></Cell>\r\n    <Cell
ss:StyleID=\"s65\"><Data ss:Type=\"String\">1068-1</Data></Cell>\r\n   
<Cell ss:StyleID=\"s78\"><Data ss:Type=\"String\">valid for freight
collect. Max.  Payload per 20' :  "..., 
  last = 0x233b210 "ame) }\r\n\021@", file_pos = 0, file_last = 0, 
  start = 0x2337210 "31.03.2012</Data></Cell>\r\n    <Cell
ss:StyleID=\"s65\"><Data ss:Type=\"String\">1068-1</Data></Cell>\r\n   
<Cell ss:StyleID=\"s78\"><Data ss:Type=\"String\">valid for freight
collect. Max.  Payload per 20' :  "..., 
  end = 0x233b210 "ame) }\r\n\021@", tag = 0x694380, file = 0x0, 
  shadow = 0x223a888, temporary = 1, memory = 0, mmap = 0, recycled = 1,

  in_file = 0, flush = 0, sync = 0, last_buf = 0, last_in_chain = 0, 
  last_shadow = 1, temp_file = 0, num = 8}
(gdb) p *p->busy->next->next->next->buf
$4 = {
  pos = 0x233b220 ":StyleID=\"s77\"><Data
ss:Type=\"String\">01.02.2012</Data></Cell>\r\n    <Cell
ss:StyleID=\"s65\"><Data ss:Type=\"String\">31.03.2012</Data></Cell>\r\n
   <Cell ss:StyleID=\"s65\"><Data ss:Type=\"String\">1068-1</Da"...,
last = 0x233f218 "\361m\003", file_pos = 0, file_last = 0, 
  start = 0x233b220 ":StyleID=\"s77\"><Data
ss:Type=\"String\">01.02.2012</Data></Cell>\r\n    <Cell
ss:StyleID=\"s65\"><Data ss:Type=\"String\">31.03.2012</Data></Cell>\r\n
   <Cell ss:StyleID=\"s65\"><Data ss:Type=\"String\">1068-1</Da"..., end
= 0x233f220 "", tag = 0x694380, file = 0x0, shadow = 0x223aa28, 
  temporary = 1, memory = 0, mmap = 0, recycled = 1, in_file = 0, flush
= 0, 
  sync = 0, last_buf = 0, last_in_chain = 0, last_shadow = 1, temp_file
= 0, 
  num = 9}
(gdb) p *p->busy->next->next->next->next->buf
Cannot access memory at address 0x0
(gdb) p *p->out->buf
$5 = {pos = 0x0, last = 0x0, file_pos = 0, file_last = 327640, start =
0x0, 
  end = 0x0, tag = 0x694380, file = 0x223a5b8, shadow = 0x0, temporary =
0, 
  memory = 0, mmap = 0, recycled = 0, in_file = 1, flush = 0, sync = 0,

  last_buf = 0, last_in_chain = 0, last_shadow = 0, temp_file = 1, num =
0}
(gdb) p *p->out->next->buf
Cannot access memory at address 0x0


Я включил debug log, но пока segfault-ов не
наблюдается.  Думаю, в понедельник
появятся снова, как люди начнут активно
работать.

Спасибо за помощь,

Андрей.

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,222557,222655#msg-222655



Подробная информация о списке рассылки nginx-ru