Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 547 in cherokee: Undefined Cherokee Crash

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Aug 19, 2009, 9:31 AM

Post #1 of 14 (1282 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash

Status: Accepted
Owner: ----
Labels: Type-Defect

New issue 547 by ste...@konink.de: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

What steps will reproduce the problem?
1. no clue

Attachments:
cherokee-crash.txt 20.7 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Aug 20, 2009, 10:13 AM

Post #2 of 14 (1242 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Updates:
Status:

Comment #1 on issue 547 by alobbs: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

Does it happen often?

The back-trace doesn't provide much information. We'll have to investigate
further on
this issue.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Aug 20, 2009, 10:18 AM

Post #3 of 14 (1233 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #2 on issue 547 by ste...@konink.de: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

Yes it does happen often.

The only odd thing seems to be:

Thread 7 (Thread 0x7fcee62e0910 (LWP 11566)):
#0 0x00007fcef1af605f in waitpid () from /lib/libc.so.6
No symbol table info available.
#1 0x00007fcef1a92791 in ?? () from /lib/libc.so.6
No symbol table info available.
#2 0x00007fcef1a92b0c in system () from /lib/libc.so.6
No symbol table info available.
#3 0x00007fcef27655cd in cherokee_server_handle_panic (srv=0x1cb2a30) at
server.c:1795
re = <value optimized out>
cmd = {buf = 0x2033bd0 "/opt/cherokee/bin/cherokee-panic 11552",
size = 42,
len = 38}
#4 0x00000000004015dc in signals_handler (sig=-512, si=0x7fcee62df9dc,
context=0x0)
at main_worker.c:146
No locals.
#5 <signal handler called>
No symbol table info available.
#6 0x00007fcef1b1ffcf in writev () from /lib/libc.so.6
No symbol table info available.
#7 0x00007fcef29a0b15 in cherokee_socket_writev (socket=0x20199a8,
vector=0x7fcee62dff60, vector_len=<value optimized out>,
pcnt_written=0xffffffffffffffff) at socket.c:894
re = <value optimized out>
i = <value optimized out>
ret = <value optimized out>
cnt = <value optimized out>
__func__ = "cherokee_socket_writev"
#8 0x00007fcef2762f15 in cherokee_connection_send_header_and_mmaped
(conn=0x2019960)
at connection.c:816
re = 0
ret = <value optimized out>
bufs = {{iov_base = 0x201d100, iov_len = 326}, {iov_base =
0x7fcef2c32000,
iov_len = 3604}}
__func__ = "cherokee_connection_send_header_and_mmaped"
#9 0x00007fcef276aeda in process_active_connections (thd=0x1f11260) at
thread.c:1156
re = <value optimized out>
ret = <value optimized out>
len = 424
i = (cherokee_list_t *) 0x2019960
tmp = (cherokee_list_t *) 0x1f113a0
srv = (cherokee_server_t *) 0x1cb2a30
__func__ = "process_active_connections"
#10 0x00007fcef276b67e in cherokee_thread_step_MULTI_THREAD (thd=0x1f11260,
dont_block=false) at thread.c:1785
ret = ret_ok
can_block = false
srv = <value optimized out>
fdwatch_msecs = 1000
#11 0x00007fcef276bd5a in thread_routine (data=<value optimized out>) at
thread.c:98
thread = (cherokee_thread_t *) 0x1f11260
#12 0x00007fcef23372c7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x00007fcef1b2738d in clone () from /lib/libc.so.6
No symbol table info available.
#14 0x0000000000000000 in ?? ()
No symbol table info available.




--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Aug 27, 2009, 2:32 PM

Post #4 of 14 (1228 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #3 on issue 547 by ste...@konink.de: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

==15703== Conditional jump or move depends on uninitialised value(s)
==15703== at 0x4E51C64: entry_update_fd (iocache.c:453)
==15703== by 0x4E51F4F: fetch_info_cb (iocache.c:475)
==15703== by 0x4E5B91D: cherokee_cache_get (cache.c:143)
==15703== by 0x4E51F8E: iocache_get (iocache.c:505)
==15703== by 0x4E4AA9E: cherokee_io_stat (util.c:1516)
==15703== by 0x82110A5: cherokee_handler_common_new
(handler_common.c:145)
==15703== by 0x50763E0: cherokee_connection_create_handler
(connection.c:2134)
==15703== by 0x5081091: process_active_connections (thread.c:980)
==15703== by 0x5081B17: cherokee_thread_step_MULTI_THREAD (thread.c:1785)
==15703== by 0x50821E9: thread_routine (thread.c:98)
==15703== by 0x54A12C6: start_thread (in /lib64/libpthread-2.10.1.so)
==15703== by 0x5D0838C: clone (in /lib64/libc-2.10.1.so)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 4, 2009, 2:15 AM

Post #5 of 14 (1215 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Updates:
Status: WaitingQA
Owner: alobbs
Labels: Priority-Critical OpSys-All Component-Logic

Comment #4 on issue 547 by alobbs: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

I believe we fixed this issue in Cherokee 0.99.24.
Stefan, could you please confirm?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 5, 2009, 1:57 PM

Post #6 of 14 (1201 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Updates:
Status: Accepted

Comment #5 on issue 547 by ste...@konink.de: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

We are still having this one:

As attached.

Attachments:
crash.txt 19.7 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 6, 2009, 5:01 PM

Post #7 of 14 (1204 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #6 on issue 547 by ste...@konink.de: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

This is the variant using the newerrors branch. I have excluded it is
related to too
few fds.

Attachments:
newtrace.txt 12.3 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 7, 2009, 5:39 AM

Post #8 of 14 (1204 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #7 on issue 547 by alobbs: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

I cannot see anything in the second trace. It looks like a valgrind issue:

==============
valgrind: m_scheduler/scheduler.c:832 (handle_syscall): Assertion
'VG_(is_running_thread)(tid)' failed.
==============


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 8, 2009, 12:55 PM

Post #9 of 14 (1177 views)
Permalink
Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #8 on issue 547 by ste...@konink.de: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

I have also compiled glibc with debugging; interesting result... :( maybe
not...

#6 0x00007ff4a25ebfcf in __libc_writev (fd=82, vector=0x7ff49cfa4ef0,
count=2)
at ../sysdeps/unix/sysv/linux/writev.c:56
oldtype = 0
result = <value optimized out>
#7 0x00007ff4a34830af in cherokee_socket_writev (socket=0x1d54798,
vector=0x7ff49cfa4ef0, vector_len=2, pcnt_written=0x7ff49cfa4f10)
at socket.c:895
re = 0
i = 115
ret = ret_ok
cnt = 140688688142782
__func__ = "cherokee_socket_writev"
#8 0x00007ff4a322eacf in cherokee_connection_send_header_and_mmaped (
conn=0x1d54750) at connection.c:816
re = 0
ret = 30754640
nvec = 2
bufs = {{iov_base = 0x1d55a20, iov_len = 328}, {
iov_base = 0x7ff493660000, iov_len = 26395}}
__func__ = "cherokee_connection_send_header_and_mmaped"
#9 0x00007ff4a323baa1 in process_active_connections (thd=0x19c8a90)
at thread.c:1156
re = 1
ret = ret_ok
len = 398
i = (cherokee_list_t *) 0x1d54750
tmp = (cherokee_list_t *) 0x19c8bd0
conns_freed = 0
conn = (cherokee_connection_t *) 0x1d54750
srv = (cherokee_server_t *) 0x196aa30
__func__ = "process_active_connections"


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Nov 11, 2009, 10:49 AM

Post #10 of 14 (959 views)
Permalink
Re: Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #9 on issue 547 by ste...@konink.de: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

#
Thread 16 (Thread 0x7fc80a73a910 (LWP 9803)):
#
#0 0x00007fc811d4dc7f in waitpid () from /lib/libc.so.6
#
No symbol table info available.
#
#1 0x00007fc811ceb341 in do_system () from /lib/libc.so.6
#
No symbol table info available.
#
#2 0x00007fc811ceb6bc in system () from /lib/libc.so.6
#
No symbol table info available.
#
#3 0x00007fc8129ba5cd in cherokee_server_handle_panic (srv=0x1e92a30) at
server.c:1800
#
re = <value optimized out>
#
cmd = {buf = 0x232bb90 "/opt/cherokee/bin/cherokee-panic 9798",
size = 41,
len = 37}
#
#4 0x0000000000401684 in signals_handler (sig=-512, si=0x7fc80a7399dc,
context=0x0)
at main_worker.c:147
#
No locals.
#
#5 <signal handler called>
#
No locals.
#
#6 0x00007fc811d7733f in writev () from /lib/libc.so.6
#
No symbol table info available.
#
#7 0x00007fc812bf8035 in cherokee_socket_writev (socket=0x22348c8,
vector=0x7fc80a739f50, vector_len=<value optimized out>,
pcnt_written=0xffffffffffffffff)
#
at socket.c:896
#
re = <value optimized out>
#
i = <value optimized out>
#
ret = <value optimized out>
#
cnt = <value optimized out>
#
__func__ = "cherokee_socket_writev"
#
#8 0x00007fc8129b7f65 in cherokee_connection_send_header_and_mmaped
(conn=0x2234880)
at connection.c:822
#
re = 0
#
ret = <value optimized out>
#
bufs = {{iov_base = 0x2237ca0, iov_len = 322}, {iov_base =
0x7fc812fc2000,
iov_len = 6904}}
#
__func__ = "cherokee_connection_send_header_and_mmaped"
#
#9 0x00007fc8129bfdd2 in process_active_connections (thd=0x1eaa490) at
thread.c:1172
#
re = <value optimized out>
#
ret = <value optimized out>
#
len = 394
#
i = (cherokee_list_t *) 0x2234880
#
tmp = (cherokee_list_t *) 0x1eaa5d0
#
srv = (cherokee_server_t *) 0x1e92a30
#
__func__ = "process_active_connections"
#
#10 0x00007fc8129c05b8 in cherokee_thread_step_MULTI_THREAD (thd=0x1eaa490,
dont_block=false) at thread.c:1801
#
ret = ret_ok
#
can_block = false
#
srv = <value optimized out>
#
fdwatch_msecs = 1000
#
#11 0x00007fc8129c0c7a in thread_routine (data=<value optimized out>) at
thread.c:98
#
thread = (cherokee_thread_t *) 0x1eaa490
#
#12 0x00007fc81258c287 in start_thread () from /lib/libpthread.so.0
#
No locals.
#
#13 0x00007fc811d7e5bd in clone () from /lib/libc.so.6
#
No symbol table info available.
#
#14 0x0000000000000000 in ?? ()
#
No symbol table info available.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 11, 2009, 11:04 AM

Post #11 of 14 (839 views)
Permalink
Re: Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #10 on issue 547 by sare...@gmail.com: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

We've seen similar Crashing/Panicking since Cherokee 0.99.32

What steps will reproduce the problem?
1. Compile & Upgrade to Cherokee 0.99.32 or .33
2. Restart Cherokee
3. Access site and watch Cherokee panic and restart over and over from
terminal.

It seems roughly every other request causes the panic/crash and restart.
When it
happens the browser immediately displays a site not responding error page.
Upon
refresh it'll either happen again or load the page. Of course all extra
page elements
(stylesheets, images, js, etc) have the same rate of success, resulting in
a barely
functioning site.

Currently downgraded to 0.99.31, which works fine. Had the same errors with
both
0.99.32 and 0.99.33. System is 64-bit CentOS 5.3 within xen virtual server,
site is a
standard php/mysql based forum. Have been using Cherokee since 0.99.17.

Attached the backtrace.

Attachments:
cherokee_backtrace.txt 20.9 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 11, 2009, 12:39 PM

Post #12 of 14 (839 views)
Permalink
Re: Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #11 on issue 547 by alobbs: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

The relevant part is:

=====================
#5 <signal handler called>
No symbol table info available.
#6 0x0000003521608293 in pthread_mutex_lock () from /lib64/libpthread.so.0
No symbol table info available.
#7 0x00007f15219904d4 in cherokee_logger_writer_get_buf (writer=<value
optimized out>, buf=0x467f9de8) at logger_writer.c:340
No locals.
#8 0x00007f1521980cfe in report_error (buf=0x467f9e30) at error_log.c:122
writer_log = <value optimized out>
writer = (cherokee_logger_writer_t *) 0x6542f0
#9 0x00007f1521980f0a in cherokee_error_log (type=<value optimized out>,
filename=<value optimized out>, line=<value optimized out>,
error_num=<value optimized out>) at error_log.c:354
ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x467f9f00,
reg_save_area = 0x467f9e40}}
error_str = {
buf = 0x6d10d0 "[11/12/2009 18:27:44.750] (error) handler_fcgi.c:120 -
PHP Fatal error: Call to undefined function vbflush() in
/var/www/forums/cron.php on line 61\n\n", size = 152,
len = 150}
#10 0x00007f152071c10d in read_from_fcgi (cgi=0x6d0750, buffer=0x6d07d0) at
handler_fcgi.c:120
ret = <value optimized out>
read = 288
__func__ = "read_from_fcgi"
#11 0x00007f1520719536 in cherokee_handler_cgi_base_add_headers (cgi=0x0,
outbuf=0x6cfa60) at handler_cgi_base.c:1075
=====================

Thanks for reporting!

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 19, 2009, 3:25 AM

Post #13 of 14 (815 views)
Permalink
Re: Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Updates:
Status: Fixed

Comment #12 on issue 547 by alobbs: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

This bug is already fixed in Cherokee 0.99.37

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 19, 2009, 5:10 PM

Post #14 of 14 (815 views)
Permalink
Re: Issue 547 in cherokee: Undefined Cherokee Crash [In reply to]

Comment #13 on issue 547 by sare...@gmail.com: Undefined Cherokee Crash
http://code.google.com/p/cherokee/issues/detail?id=547

Yes, I noticed everything was working great since upgrading to .37 the
other day,
thanks!!

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.