[Varnish] #663: Varnish should auto-configure pthread support and VCC_CC

Varnish varnish-bugs at projects.linpro.no
Fri Mar 12 12:38:07 CET 2010


#663: Varnish should auto-configure pthread support and VCC_CC
--------------------------------------------------+-------------------------
 Reporter:  slink                                 |        Type:  enhancement
   Status:  new                                   |    Priority:  high       
Milestone:                                        |   Component:  build      
  Version:  trunk                                 |    Severity:  normal     
 Keywords:  errno, mt-safety, pthread, reentrant  |  
--------------------------------------------------+-------------------------

Comment(by slink):

 When I tested a specific VTC file to check errno behavior, I noticed that
 phk had already committed [4567]. Great:

 {{{
 ###  v1   debug| Child (13140) died signal=6 (core dumped)\n
 ###  v1   debug| Child (13140) Panic message: Assert error in
 wrk_herdtimer_thread(), cache_pool.c line 419:\n
 ###  v1   debug|   Condition(errno_is_multi_threaded != 0) not true.\n
 ###  v1   debug| thread = (wrk_herdtimer)\n
 ###  v1   debug| ident = -sfile,-hcritbit,no_waiter\n
 ###  v1   debug| Backtrace:\n
 ###  v1   debug|   8072b4d: /export/home/slink/Devel/varnish/trunk
 /varnish-cache/bin/varnishd/.libs/varnishd'pan_ic+0xa9 [0x8072b4d]\n
 ###  v1   debug|   807470e: /export/home/slink/Devel/varnish/trunk
 /varnish-cache/bin/varnishd/.libs/varnishd'wrk_herdtimer_thread+0x86
 [0x807470e]\n
 ###  v1   debug|   fedacd56: /lib/libc.so.1'_thrp_setup+0x7e
 [0xfedacd56]\n
 ###  v1   debug|   fedacfe0: /lib/libc.so.1'_lwp_start+0x0 [0xfedacfe0]\n
 ###  v1   debug| \n
 ###  v1   debug| \n
 ###  v1   debug| Child cleanup complete\n
 }}}

 I'll attach my VTC code anyway, just in case...

-- 
Ticket URL: <http://varnish-cache.org/ticket/663#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list