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

Mailing List Archive: Cherokee: dev

Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable

 

 

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


codesite-noreply at google

Oct 15, 2009, 10:28 AM

Post #1 of 8 (61 views)
Permalink
Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable

Status: New
Owner: ste...@konink.de
Labels: Type-Defect Priority-Medium Component-Logic Usability

New issue 602 by ste...@konink.de: segfault on use of advanced virtual
hosting and subdomain1 variable
http://code.google.com/p/cherokee/issues/detail?id=602

0x006400ac in memcpy () from /lib/libc.so.6
(gdb) bt
#0 0x006400ac in memcpy () from /lib/libc.so.6
#1 0x005543aa in cherokee_buffer_add (buf=0x91ffcf3, txt=0x91f9323
"subdomain1}", size=153182208) at buffer.c:195
#2 0x005553ed in cherokee_template_parse (tem=0x920f4bc,
incoming=0x91f92cc) at template.c:197
#3 0x00922de2 in cherokee_generic_evhost_configure (evhost=0x920f4a8,
config=0x91f91b8) at gen_evhost.c:124
#4 0x0044dc1d in configure_virtual_server_property (conf=0x91f91b8,
data=0x920ee38) at virtual_server.c:620
#5 0x00560963 in cherokee_config_node_while (conf=0x91f8f48, func=0x44d6e0
<configure_virtual_server_property>, data=0x920ee38) at config_node.c:226
#6 0x0044c86c in cherokee_virtual_server_configure (vserver=0x920ee38,
prio=10, config=0x91f8f48) at virtual_server.c:844
#7 0x0044b2ea in add_vserver (conf=0x91f8f48, data=0x91f55c0) at
server.c:1205
#8 0x00560963 in cherokee_config_node_while (conf=0x91f8ef8, func=0x44b260
<add_vserver>, data=0x91f55c0) at config_node.c:226
#9 0x00449864 in configure_server (srv=0x91f55c0) at server.c:1570
#10 0x00449ab2 in cherokee_server_read_config_file (srv=0x91f55c0,
fullpath=0x80497dc "/opt/cherokee/etc/cherokee/cherokee.conf") at
server.c:1641
#11 0x080491cd in main (argc=1, argv=Cannot access memory at address
0x3fffe58f
) at main_worker.c:236

--
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.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 15, 2009, 2:57 PM

Post #2 of 8 (56 views)
Permalink
Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable [In reply to]

Updates:
Owner: ---
Labels: -Priority-Medium Priority-Critical

Comment #1 on issue 602 by alobbs: segfault on use of advanced virtual
hosting and subdomain1 variable
http://code.google.com/p/cherokee/issues/detail?id=602

I'd need to know the 'Dynamic Document Root' value, and request you perform.

--
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.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 15, 2009, 3:01 PM

Post #3 of 8 (56 views)
Permalink
Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable [In reply to]

Comment #2 on issue 602 by ste...@konink.de: segfault on use of advanced
virtual hosting and subdomain1 variable
http://code.google.com/p/cherokee/issues/detail?id=602

I did:

/storage/${domain}.${tld}/${subdomain1}

(Yes, I know I did something wrong with tld)

The error was at startup. (So config parsing)

--
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.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 16, 2009, 9:30 AM

Post #4 of 8 (51 views)
Permalink
Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable [In reply to]

Comment #3 on issue 602 by alobbs: segfault on use of advanced virtual
hosting and subdomain1 variable
http://code.google.com/p/cherokee/issues/detail?id=602

Weird, it does not fail at my end..
Please, could someone else give it a try?

--
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.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 16, 2009, 9:34 AM

Post #5 of 8 (51 views)
Permalink
Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable [In reply to]

Comment #4 on issue 602 by ste...@konink.de: segfault on use of advanced
virtual hosting and subdomain1 variable
http://code.google.com/p/cherokee/issues/detail?id=602

If you enable/disable the button under it. Will it work/fail for you?

--
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.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 16, 2009, 9:40 AM

Post #6 of 8 (51 views)
Permalink
Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable [In reply to]

Comment #5 on issue 602 by ste...@konink.de: segfault on use of advanced
virtual hosting and subdomain1 variable
http://code.google.com/p/cherokee/issues/detail?id=602

I'm on 64bit now, where I am unable to make it fail yet.

--
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.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 16, 2009, 9:43 AM

Post #7 of 8 (51 views)
Permalink
Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable [In reply to]

Comment #6 on issue 602 by ste...@konink.de: segfault on use of advanced
virtual hosting and subdomain1 variable
http://code.google.com/p/cherokee/issues/detail?id=602

Anways:

cherokee_buffer_add (&token, token1+2, (token2-token1)-2);

What you do there, is that legal? Token is a cherokee_buffter_t.

--
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.octality.com
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Oct 16, 2009, 10:26 AM

Post #8 of 8 (51 views)
Permalink
Issue 602 in cherokee: segfault on use of advanced virtual hosting and subdomain1 variable [In reply to]

Comment #7 on issue 602 by alobbs: segfault on use of advanced virtual
hosting and subdomain1 variable
http://code.google.com/p/cherokee/issues/detail?id=602

Sure. It appends to token (buffer) token1(char *) skipping the two first
chars "${" the length of the variable name
minus the final "}" char.

--
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.octality.com
http://lists.octality.com/listinfo/cherokee-dev

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


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.