[GitHub] trafficserver issue #1625: HttpSM::state_cache_open_write crash

2017-04-02 Thread scw00
Github user scw00 commented on the issue:

https://github.com/apache/trafficserver/issues/1625
  
version?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] trafficserver issue #1625: HttpSM::state_cache_open_write crash

2017-03-31 Thread meeramn
GitHub user meeramn opened an issue:

https://github.com/apache/trafficserver/issues/1625

HttpSM::state_cache_open_write crash

The following stack trace indicates crash in state_cache_open_write and 
this needs to be addressed.

There was crash while trying to seed contents with cachestatus, which can 
send http requests concurrently and with the pase of 1k requests per sec. 

(gdb) bt
#0  0x2ac86f99 in HttpSM::state_cache_open_write 
(this=0x2aaabd046800, event=1109, data=0xb04f) at HttpSM.cc:2413
#1  0x2ac971fd in HttpSM::main_handler (this=0x2aaabd046800, 
event=1109, data=0xb04f) at HttpSM.cc:2571
#2  0x2ac6c772 in Continuation::handleEvent 
(data=0xb04f, event=1109, this=) at 
../../iocore/eventsystem/I_Continuation.h:153
#3  HttpCacheSM::open_write (allow_multiple=false, retry=, 
pin_in_cache=, old_info=, request=, url=, key=0x2aaabd048428, this=0x2aaabd048370)
at HttpCacheSM.cc:321
#4  HttpCacheSM::state_cache_open_write (this=0x2aaabd048370, event=2, 
data=0x2aaae6411180) at HttpCacheSM.cc:201
#5  0x2ae7e4e0 in Continuation::handleEvent (data=0x2aaae6411180, 
event=2, this=) at I_Continuation.h:153
#6  EThread::process_event (this=0x2aaab1a08000, e=0x2aaae6411180, 
calling_code=2) at UnixEThread.cc:128
#7  0x2ae7f4e9 in EThread::execute (this=0x2aaab1a08000) at 
UnixEThread.cc:207
#8  0x2ae7dec6 in spawn_thread_internal (a=0x2aaab09c0a90) at 
Thread.cc:86
#9  0x2d6afaa1 in start_thread (arg=0x2b85a700) at 
pthread_create.c:301
#10 0x2e8b893d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:115
(gdb) quit


Part of the issue here is that write_fail_action=2 doesn’t seem to work 
at all.






---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---