Public bug reported:

Binary package hint: squid

While tried to implement videocache (http://cachevideos.com) I faced a
following bug. If /etc/squid/squid.conf includes following line:

url_rewrite_program /usr/bin/python /my_path_to/videocache/videocache.py

squid failed to start:

sympho build # squid -DN
Aborted (core dumped)

I rebuilded package without striping and got following backtrace:

(gdb) run -DN
Starting program: /usr/sbin/squid -DN
[Thread debugging using libthread_db enabled]

Program received signal SIGABRT, Aborted.
0x00007ffff6e85a75 in *__GI_raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
 in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff6e85a75 in *__GI_raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff6e895c0 in *__GI_abort () at abort.c:92
#2  0x00007ffff7f89205 in fatal (message=0x7ffff82da9e0 "The url_rewriter 
helpers are crashing too rapidly, need help!\n") at tools.c:405
#3  0x00007ffff7f89312 in fatalvf (fmt=<value optimized out>) at tools.c:436
#4  fatalf (fmt=<value optimized out>) at tools.c:425
#5  0x00007ffff7f45141 in helperServerFree (fd=14, data=<value optimized out>) 
at helper.c:655
#6  0x00007ffff7f26e4a in commCallCloseHandlers (fd=14) at comm.c:636
#7  0x00007ffff7f27b83 in comm_close (fd=14) at comm.c:788
#8  0x00007ffff7f44e38 in helperHandleRead (fd=14, data=0x7ffff83eaba8) at 
helper.c:731
#9  0x00007ffff7f2a9fb in comm_call_handlers (msec=<value optimized out>) at 
comm_generic.c:264
#10 do_comm_select (msec=<value optimized out>) at comm_epoll.c:195
#11 comm_select (msec=<value optimized out>) at comm_generic.c:390
#12 0x00007ffff7f5c6fc in main (argc=<value optimized out>, argv=<value 
optimized out>) at main.c:883
(gdb) s r
No symbol "r" in current context.
(gdb) i r
rax            0x0      0
rbx            0x7ffff82da9e0   140737357130208
rcx            0xffffffffffffffff       -1
rdx            0x6      6
rsi            0x772c   30508
rdi            0x772c   30508
rbp            0x7ffff83e1bc8   0x7ffff83e1bc8
rsp            0x7fffffffde28   0x7fffffffde28
r8             0x1      1
r9             0x0      0
r10            0x8      8
r11            0x202    514
r12            0x7ffff83a30a0   140737357951136
r13            0x7ffff83a3080   140737357951104
r14            0xe      14
r15            0x8      8
rip            0x7ffff6e85a75   0x7ffff6e85a75 <*__GI_raise+53>
eflags         0x202    [ IF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
(gdb) quit
A debugging session is active.

 Inferior 1 [process 30508] will be killed.

Quit anyway? (y or n) y

I believe that videocache helper is misconfigured but squid must handle
this situation correctly.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: squid 2.7.STABLE7-1ubuntu12
ProcVersionSignature: Ubuntu 2.6.32-27.49-generic 2.6.32.26+drm33.12
Uname: Linux 2.6.32-27-generic x86_64
Architecture: amd64
Date: Thu Dec 30 21:28:31 2010
EcryptfsInUse: Yes
ProcEnviron:
 LC_TIME=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=C
 SHELL=/bin/bash
SourcePackage: squid

** Affects: squid (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.
https://bugs.launchpad.net/bugs/695718

Title:
  squid SIGABRT on bad url_rewriter

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to