You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Siddharth Wagh <si...@altior.com> on 2012/02/10 16:04:40 UTC
gunzip.c plugin error: failed assert
Hi all
I am trying to use gunzip plugin with the traffic server (v3.0.2) which loads fine, but gives the following error when web requests come in:
FATAL: InkAPI.cc:3195: failed assert 'idx >= 0'
Is this a known issue? I compared the gunzip.c file with the one in 3.1.1 release and find no major difference. I had faced the same problem with gzip.c, but a modified working plugin was available in this post:
http://www.mail-archive.com/dev@trafficserver.apache.org/msg03038.html
I am not able to find a similar patch for the gunzip file. Any pointers?
- Sid
Re: gunzip.c plugin error: failed assert
Posted by Leif Hedstrom <zw...@apache.org>.
On 2/23/12 10:28 AM, Siddharth Wagh wrote:
>
> Hello all,
>
> Here is the log in traffic.out file when the traffic server tries to
> access the gunzip plugin.
>
Out of curiosity, there are a couple of bugs with suggested fixes for the
gzip plugin. Assuming those have not been applied to trunk, did you try them
in your setup ?
- Leif
RE: gunzip.c plugin error: failed assert
Posted by Siddharth Wagh <si...@altior.com>.
Hello all,
Here is the log in traffic.out file when the traffic server tries to access the gunzip plugin.
[Feb 22 15:56:06.641] Manager {139756188534752} NOTE: [LocalManager::startProxy] Launching ts process
[TrafficServer] using root directory '/usr/local/ts302'
[Feb 22 15:56:06.652] Manager {139756188534752} NOTE: [LocalManager::pollMgmtProcessServer] New process connecting fd '9'
[Feb 22 15:56:06.652] Manager {139756188534752} NOTE: [Alarms::signalAlarm] Server Process born
[Feb 22 15:56:07.681] {47568418809888} STATUS: opened /usr/local/ts302/var/log/trafficserver/diags.log
[Feb 22 15:56:07.681] {47568418809888} NOTE: updated diags config
[Feb 22 15:56:07.689] Server {47568418809888} NOTE: cache clustering disabled
[Feb 22 15:56:07.703] Server {47568418809888} NOTE: cache clustering disabled
[Feb 22 15:56:07.733] Server {47568418809888} NOTE: logging initialized[7], logging_mode = 3
[Feb 22 15:56:07.734] Server {47568418809888} NOTE: loading plugin '/usr/local/ts302/libexec/trafficserver/gunzip.so'
[Feb 22 15:56:07.740] Server {47568418809888} NOTE: traffic server running
[Feb 22 15:56:07.740] Server {47568418809888} WARNING: bad configurations: no nameservers given
FATAL: InkAPI.cc:3195: failed assert `idx >= 0`
/usr/local/ts302/bin/traffic_server - STACK TRACE:
/usr/local/ts302/lib/libtsutil.so.3(ink_fatal_va+0x9d)[0x2b43623e06dd]
/usr/local/ts302/lib/libtsutil.so.3(ink_fatal+0x88)[0x2b43623e0838]
/usr/local/ts302/lib/libtsutil.so.3(_ink_assert+0x85)[0x2b43623ded85]
/usr/local/ts302/bin/traffic_server(TSMimeHdrFieldValueAppend+0x194)[0x4a9734]
/usr/local/ts302/libexec/trafficserver/gunzip.so(+0x1c53)[0x2b4370203c53]
/usr/local/ts302/bin/traffic_server(_ZN6HttpSM17state_api_calloutEiPv+0x525)[0x530cb5]
/usr/local/ts302/bin/traffic_server(_ZN6HttpSM14set_next_stateEv+0x1ea)[0x536d8a]
/usr/local/ts302/bin/traffic_server(_ZN6HttpSM32call_transact_and_set_next_stateEPFvPN12HttpTransact5StateEE+0x9f)[0x5208cf]
/usr/local/ts302/bin/traffic_server(_ZN6HttpSM32state_read_client_request_headerEiPv+0x5ab)[0x52b74b]
/usr/local/ts302/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0xe8)[0x536088]
/usr/local/ts302/bin/traffic_server[0x6829ab]
/usr/local/ts302/bin/traffic_server[0x6854d1]
/usr/local/ts302/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x2e2)[0x67dfe2]
/usr/local/ts302/bin/traffic_server(_ZN7EThread13process_eventEP5Eventi+0xb4)[0x6aa8b4]
/usr/local/ts302/bin/traffic_server(_ZN7EThread7executeEv+0x4c3)[0x6ab243]
/usr/local/ts302/bin/traffic_server[0x6a9702]
/lib64/libpthread.so.0[0x3378c068e0]
/lib64/libc.so.6(clone+0x6d)[0x33784e0c9d]
[Feb 22 15:56:07.834] Manager {139756188534752} ERROR: [LocalManager::pollMgmtProcessServer] Server Process terminated due to Sig 6: Aborted
The gunzip file in the latest stable release doesn't seem to have a fix for this as well.
I am using a Fedora 12 64-bit machine for traffic server.
Is there any working version available for gunzip.c? Since I am a newbie to using the traffic server, any help regarding this issue would be deeply appreciated.
Thanks,
Sid
From: Siddharth Wagh [mailto:siddharth.wagh@altior.com]
Sent: Monday, February 13, 2012 9:56 AM
To: users@trafficserver.apache.org
Subject: RE: gunzip.c plugin error: failed assert
Carlton,
I am not sure I understand. Have you made changes to the plugin in the latest release and want me to try it? Or were you going to attach a modified version of gunzip with your email?
- Sid
From: Zachary, Carlton - Hoboken [mailto:czachary@wiley.com]
Sent: Friday, February 10, 2012 10:11 AM
To: users@trafficserver.apache.org
Subject: RE: gunzip.c plugin error: failed assert
Ok,
Please try now.
From: Siddharth Wagh [mailto:siddharth.wagh@altior.com]
Sent: Friday, February 10, 2012 10:05 AM
To: users@trafficserver.apache.org
Subject: gunzip.c plugin error: failed assert
Hi all
I am trying to use gunzip plugin with the traffic server (v3.0.2) which loads fine, but gives the following error when web requests come in:
FATAL: InkAPI.cc:3195: failed assert 'idx >= 0'
Is this a known issue? I compared the gunzip.c file with the one in 3.1.1 release and find no major difference. I had faced the same problem with gzip.c, but a modified working plugin was available in this post:
http://www.mail-archive.com/dev@trafficserver.apache.org/msg03038.html
I am not able to find a similar patch for the gunzip file. Any pointers?
- Sid
RE: gunzip.c plugin error: failed assert
Posted by Siddharth Wagh <si...@altior.com>.
Carlton,
I am not sure I understand. Have you made changes to the plugin in the latest release and want me to try it? Or were you going to attach a modified version of gunzip with your email?
- Sid
From: Zachary, Carlton - Hoboken [mailto:czachary@wiley.com]
Sent: Friday, February 10, 2012 10:11 AM
To: users@trafficserver.apache.org
Subject: RE: gunzip.c plugin error: failed assert
Ok,
Please try now.
From: Siddharth Wagh [mailto:siddharth.wagh@altior.com]
Sent: Friday, February 10, 2012 10:05 AM
To: users@trafficserver.apache.org
Subject: gunzip.c plugin error: failed assert
Hi all
I am trying to use gunzip plugin with the traffic server (v3.0.2) which loads fine, but gives the following error when web requests come in:
FATAL: InkAPI.cc:3195: failed assert 'idx >= 0'
Is this a known issue? I compared the gunzip.c file with the one in 3.1.1 release and find no major difference. I had faced the same problem with gzip.c, but a modified working plugin was available in this post:
http://www.mail-archive.com/dev@trafficserver.apache.org/msg03038.html
I am not able to find a similar patch for the gunzip file. Any pointers?
- Sid
RE: gunzip.c plugin error: failed assert
Posted by "Zachary, Carlton - Hoboken" <cz...@wiley.com>.
Ok,
Please try now.
From: Siddharth Wagh [mailto:siddharth.wagh@altior.com]
Sent: Friday, February 10, 2012 10:05 AM
To: users@trafficserver.apache.org
Subject: gunzip.c plugin error: failed assert
Hi all
I am trying to use gunzip plugin with the traffic server (v3.0.2) which loads fine, but gives the following error when web requests come in:
FATAL: InkAPI.cc:3195: failed assert 'idx >= 0'
Is this a known issue? I compared the gunzip.c file with the one in 3.1.1 release and find no major difference. I had faced the same problem with gzip.c, but a modified working plugin was available in this post:
http://www.mail-archive.com/dev@trafficserver.apache.org/msg03038.html
I am not able to find a similar patch for the gunzip file. Any pointers?
- Sid