Hi, I am running into a crash when using ATS 7.1.6. I have a custom plugin (using atscppapi). I am upgrading from 6.2.3 to 7.1.6. With no changes in my plugin, I see the crash in 7.1.6 but not in 6.2.1 or 6.2.3. The crash does not happen in 7.1.6 when my plugin is disabled.
Has there been a change in the APIs, that could cause this? Besides changing the atscppapi include path, I didn't have to make any other change to get my plugin compiled. I've provided the stack trace of the crash below. I would appreciate any pointers in resolving this issue. Thanks. Dk. PS: I've not filed an issue for this crash. I saw another crash during ssl handshake for which I opened an issue. My plugin was enabled when that crash happened. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00002add42bdd30d in nanosleep () at ../sysdeps/unix/syscall-template.S:84 84 ../sysdeps/unix/syscall-template.S: No such file or directory. (gdb) cont Continuing. Thread 8 "[ET_NET 5]" received signal SIGABRT, Aborted. [Switching to Thread 0x2add4a4fb700 (LWP 2200)] 0x00002add42b46428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt full #0 0x00002add42b46428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 resultvar = 0 pid = 2192 selftid = 2200 #1 0x00002add42b4802a in __GI_abort () at abort.c:89 save_stage = 2 act = { __sigaction_handler = { sa_handler = 0x0, sa_sigaction = 0x0 }, sa_mask = { __val = {0, 0, 0, 0, 0, 13582576, 15478824, 15451256, 5891240359206, 106377749987776, 47129922916352, 47129922873872, 219, 14558496, 47129922874208, 107339823010922} }, sa_flags = 1069290826, sa_restorer = 0x2add40b0f700 } sigs = { __val = {32, 0 <repeats 15 times>} } #2 0x00002add40aef6b3 in ink_abort ( message_format=message_format@entry=0x2add40b0f700 "%s:%d: failed assertion `%s`") at ink_error.cc:99 No locals. #3 0x00002add40ae9a52 in _ink_assert ( expression=expression@entry=0xde2520 "call_event == core_lock_retry_event", file=file@entry=0xde18c0 "PluginVC.cc", line=line@entry=219) at ink_assert.cc:37 No locals. #4 0x00000000005de20b in PluginVC::main_handler (this=0x61a0000552b8, event=<optimized out>, data=<optimized out>) at PluginVC.cc:219 __FUNCTION__ = "main_handler" call_event = 0x62c000015560 read_mutex_held = <optimized out> write_mutex_held = false #5 0x0000000000db2c4f in Continuation::handleEvent (data=0x62c000015560, event=1, this=<optimized out>) at I_Continuation.h:152 ---Type <return> to continue, or q <return> to quit--- No locals. #6 EThread::process_event (this=0x2add49d9f800, e=0x62c000015560, calling_code=<optimized out>) at UnixEThread.cc:140 c_temp = <optimized out> #7 0x0000000000db4905 in EThread::process_queue (this=this@entry =0x2add49d9f800, NegativeQueue=NegativeQueue@entry=0x2add4a4fad80) at UnixEThread.cc:175 e = 0x62c000015560 #8 0x0000000000db4f8f in EThread::execute_regular (this=0x2add49d9f800) at UnixEThread.cc:207 done_one = <optimized out> sleep_time = <optimized out> e = <optimized out> next_time = <optimized out> #9 0x0000000000db1979 in spawn_thread_internal (a=0x604000017c10) at Thread.cc:84 p = 0x604000017c10 #10 0x00002add41e566ba in start_thread (arg=0x2add4a4fb700) at pthread_create.c:333 __res = <optimized out> pd = 0x2add4a4fb700 now = <optimized out> unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {47129922877184, -3249103392643907113, 0, 140736747548991, 47129922916352, 0, -8695807448856821289, -8695784133922946601}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = <optimized out> pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> ---Type <return> to continue, or q <return> to quit--- __PRETTY_FUNCTION__ = "start_thread" #11 0x00002add42c1841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 No locals. (gdb)