Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Enhanced Virtual Hosting causes panic #775

Borkason opened this Issue Mar 24, 2013 · 4 comments


None yet
1 participant

Borkason commented Mar 24, 2013

Original author: keitha...@gmail.com (January 10, 2011 12:38:33)

What steps will reproduce the problem?

  1. Set up a working static virtual host
  2. Change it to an "Enhanced Document Host" and use a variable (like ${domain})
  3. Watch cherokee panic

Please provide any additional information below.

Attached is my cherokee.conf, I have a directory: /var/www/web/testing/ with my web files, and I have " testing.web" in my /etc/hosts. If I use the static route (/var/www/web/testing) everything works great, as soon as I use a dynamic one (/var/www/${tld}/testing or /var/www/web/${domain} or /var/www/${tld}/${domain}) cherokee panics when I go to visit the page.

Original issue: http://code.google.com/p/cherokee/issues/detail?id=1108


Borkason commented Mar 24, 2013

From keitha...@gmail.com on January 11, 2011 10:06:46
To expand on this, I have Compiled cherokee with tracing, and these are the logs from when cherokee panics now:

11/01/2011 10:03:56.663 server.c:1849 - Could not execute the Panic handler: '/usr/share/cherokee/cherokee-panic 1716', status 255
/usr/lib/libcherokee-base.so.0(cherokee_error_log+0xa0) [0x7fc07b0cc1f0]
/usr/lib/libcherokee-server.so.0(cherokee_server_handle_panic+0xc7) [0x7fc07ae8f527]
/usr/sbin/cherokee-worker() [0x401554]
/lib/libpthread.so.0(+0xfb40) [0x7fc07aa68b40]
/usr/lib/cherokee/libplugin_extensions.so(+0x10af) [0x7fc077e7d0af]
/usr/lib/libcherokee-server.so.0(cherokee_rule_list_match+0x65) [0x7fc07ae8e225]
/usr/lib/libcherokee-server.so.0(+0x17b63) [0x7fc07ae95b63]
/usr/lib/libcherokee-server.so.0(cherokee_thread_step_MULTI_THREAD+0x25e) [0x7fc07ae9679e]
/usr/lib/libcherokee-server.so.0(+0x18eda) [0x7fc07ae96eda]
/lib/libpthread.so.0(+0x7971) [0x7fc07aa60971]
/lib/libc.so.6(clone+0x6d) [0x7fc07a22c92d]

I should point out that cherokee is installed from Ubuntu PPAs (well, installed from PPA then recompiled from latest source from website)


Borkason commented Mar 24, 2013

From ste...@konink.de on January 11, 2011 10:12:42
While you are busy could you do the following:

gdb cherokee-worker
(upon error:)


Borkason commented Mar 24, 2013

From alobbs on January 13, 2011 21:53:58
I have not been able to reproduce the issue.
Could you please clarify on how to reproduce it? Any special request?


Borkason commented Mar 24, 2013

From alobbs on February 06, 2011 15:34:57
We need more information on how to reproduce this problem. Could you please provide it?

@Borkason Borkason closed this Mar 25, 2013

@Borkason Borkason reopened this Mar 29, 2013

@Borkason Borkason closed this Apr 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment