trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Register task threads before scheduling tasks

Open duke8253 opened this issue 3 years ago • 6 comments

As discussed yesterday in the meeting, this will replace #8708

duke8253 avatar Jul 26 '22 15:07 duke8253

[approve ci autest]

duke8253 avatar Jul 26 '22 20:07 duke8253

Hmm, not sure why this is failing the verify plugin tests with Test : Checking that ReturnCode == -2 - Failed , can't recreate it locally either.

duke8253 avatar Jul 26 '22 21:07 duke8253

In case it's helpful, it looks like the verify_global_plugin test fails with a seg fault:

https://ci.trafficserver.apache.org/job/Github_Builds/job/autest/1256/artifact/output/8981/sandbox/verify_global_plugin/_output/0-tr-Default/stream.all.txt

ERROR: verifying a plugin requires a plugin SO file path argument
traffic_server - STACK TRACE: 
/lib64/libpthread.so.0(+0x12ce0)[0x7f5e94630ce0]
traffic_server(_ZNK8APIHooks4headEv+0xc)[0x86fe58]
traffic_server(_ZNK15FeatureAPIHooksI17TSLifecycleHookIDLi9EE3getES0_+0x40)[0x8b0632]
traffic_server(_ZN12AutoStopCont9mainEventEiP5Event+0x2f)[0x8ae5fd]
traffic_server(_ZN12Continuation11handleEventEiPv+0xdd)[0x85f4bf]
traffic_server(_ZN7EThread13process_eventEP5Eventi+0x157)[0xd3b987]
traffic_server(_ZN7EThread15execute_regularEv+0x280)[0xd3bef2]
traffic_server(_ZN7EThread7executeEv+0x107)[0xd3c265]
traffic_server[0xd3aab8]
/lib64/libpthread.so.0(+0x81cf)[0x7f5e946261cf]
/lib64/libc.so.6(clone+0x43)[0x7f5e9375fd83]

bneradt avatar Jul 28 '22 17:07 bneradt

In case it's helpful, it looks like the verify_global_plugin test fails with a seg fault:

https://ci.trafficserver.apache.org/job/Github_Builds/job/autest/1256/artifact/output/8981/sandbox/verify_global_plugin/_output/0-tr-Default/stream.all.txt

ERROR: verifying a plugin requires a plugin SO file path argument
traffic_server - STACK TRACE: 
/lib64/libpthread.so.0(+0x12ce0)[0x7f5e94630ce0]
traffic_server(_ZNK8APIHooks4headEv+0xc)[0x86fe58]
traffic_server(_ZNK15FeatureAPIHooksI17TSLifecycleHookIDLi9EE3getES0_+0x40)[0x8b0632]
traffic_server(_ZN12AutoStopCont9mainEventEiP5Event+0x2f)[0x8ae5fd]
traffic_server(_ZN12Continuation11handleEventEiPv+0xdd)[0x85f4bf]
traffic_server(_ZN7EThread13process_eventEP5Eventi+0x157)[0xd3b987]
traffic_server(_ZN7EThread15execute_regularEv+0x280)[0xd3bef2]
traffic_server(_ZN7EThread7executeEv+0x107)[0xd3c265]
traffic_server[0xd3aab8]
/lib64/libpthread.so.0(+0x81cf)[0x7f5e946261cf]
/lib64/libc.so.6(clone+0x43)[0x7f5e9375fd83]

Yeah, it's weird that it says verifying a plugin requires a plugin SO file path argument, which sounds like it's missing the so file? Haven't got time to check it yet with the ci docker image, will find sometime next week.

duke8253 avatar Jul 28 '22 18:07 duke8253

[approve ci autest]

bryancall avatar Aug 01 '22 19:08 bryancall

[approve ci autest]

duke8253 avatar Aug 02 '22 15:08 duke8253

[approve ci]

duke8253 avatar Aug 29 '22 20:08 duke8253

hmm, I can't seem to get some of the ci builds to start ?

duke8253 avatar Aug 29 '22 20:08 duke8253

[approve ci autest]

duke8253 avatar Aug 29 '22 20:08 duke8253

Do we need this for 9.2.2 ?

zwoop avatar Jun 29 '23 18:06 zwoop