Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift Ice/exceptions failure #3229

Open
bernardnormier opened this issue Dec 3, 2024 · 0 comments
Open

Swift Ice/exceptions failure #3229

bernardnormier opened this issue Dec 3, 2024 · 0 comments
Assignees
Milestone

Comments

@bernardnormier
Copy link
Member

From https://github.com/zeroc-ice/ice/actions/runs/12148042938/job/33875648330

[ running client/server with compact format test - 12/03/24 21:48:42 ]
- Config: ws,compress,ipv6,serialize,mx
(swift run -c release --skip-build TestDriver Ice_exceptions Server --Ice.Default.Host=::1 --Test.BasePort=14200 --Ice.Warn.Connections=1 --Ice.Default.Protocol=ws --Ice.Override.Compress=1 --Ice.ThreadPool.Server.Serialize=1 --Ice.IPv6=1 --Ice.PreferIPv6Address=1 --Ice.Admin.Endpoints="tcp -h \"::1\"" --Ice.Admin.InstanceName=Server --IceMX.Metrics.Debug.GroupBy=id --IceMX.Metrics.Parent.GroupBy=parent --IceMX.Metrics.All.GroupBy=none --Ice.ThreadPool.Server.Size=1 --Ice.ThreadPool.Server.SizeMax=3 --Ice.ThreadPool.Server.SizeWarn=0 --Ice.PrintAdapterReady=1)
(swift run -c release --skip-build TestDriver Ice_exceptions Client --Ice.Default.Host=::1 --Test.BasePort=14200 --Ice.Warn.Connections=1 --Ice.Default.Protocol=ws --Ice.Override.Compress=1 --Ice.ThreadPool.Server.Serialize=1 --Ice.IPv6=1 --Ice.PreferIPv6Address=1 --Ice.Admin.Endpoints="tcp -h \"::1\"" --Ice.Admin.InstanceName=Client --IceMX.Metrics.Debug.GroupBy=id --IceMX.Metrics.Parent.GroupBy=parent --IceMX.Metrics.All.GroupBy=none)
testing object adapter registration exceptions... ok
testing servant registration exceptions... ok
testing servant locator registration exceptions... ok
testing object factory registration exception... ok
testing stringToProxy... ok
testing checked cast... ok
catching exact types... ok
catching base types... ok
catching derived types... ok
catching unknown user exception... ok
testing memory limit marshal exception...ok
catching object not exist exception... ok
catching facet not exist exception... ok
catching operation not exist exception... ok
catching unknown local exception... ok
catching unknown non-Ice exception... ok
testing asynchronous exceptions... ok
catching exact types with AMI mapping... ok
catching derived types with new AMI mapping... ok
0   TestDriver                          0x00000001026c1e0c async_MainTY2_ + 68
1   TestDriver                          0x00000001026c1fb9 $sIetH_yts5Error_pIegHrzo_TR10async_MainTf3npf_nTQ0_ + 1
2   libswift_Concurrency.dylib          0x000000025b13909d _ZL22completeTaskAndReleasePN5swift12AsyncContextEPNS_10SwiftErrorE + 1
Error src/Ice/StreamSocket.cpp:215 ::Ice::ConnectionLostException connection lost: recv() returned zero

test in Ice/exceptions failed:

See crash diagnostics, in particular:

Thread 7 Crashed:
0   TestDriver                    	       0x104268fa4 std::__1::__hash_table<std::__1::__hash_value_type<void*, ICELocalObject* __weak>, std::__1::__unordered_map_hasher<void*, std::__1::__hash_value_type<void*, ICELocalObject* __weak>, std::__1::hash<void*>, std::__1::equal_to<void*>, true>, std::__1::__unordered_map_equal<void*, std::__1::__hash_value_type<void*, ICELocalObject* __weak>, std::__1::equal_to<void*>, std::__1::hash<void*>, true>, std::__1::allocator<std::__1::__hash_value_type<void*, ICELocalObject* __weak>>>::remove(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<void*, ICELocalObject* __weak>, void*>*>) + 72 (__hash_table:1855)
1   TestDriver                    	       0x104268900 std::__1::__hash_table<std::__1::__hash_value_type<void*, ICELocalObject* __weak>, std::__1::__unordered_map_hasher<void*, std::__1::__hash_value_type<void*, ICELocalObject* __weak>, std::__1::hash<void*>, std::__1::equal_to<void*>, true>, std::__1::__unordered_map_equal<void*, std::__1::__hash_value_type<void*, ICELocalObject* __weak>, std::__1::equal_to<void*>, std::__1::hash<void*>, true>, std::__1::allocator<std::__1::__hash_value_type<void*, ICELocalObject* __weak>>>::erase(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<void*, ICELocalObject* __weak>, void*>*>) + 12 (__hash_table:1804) [inlined]
2   TestDriver                    	       0x104268900 std::__1::unordered_map<void*, ICELocalObject* __weak, std::__1::hash<void*>, std::__1::equal_to<void*>, std::__1::allocator<std::__1::pair<void* const, ICELocalObject* __weak>>>::erase[abi:ne180100](std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<void*, ICELocalObject* __weak>, void*>*>>) + 12 (unordered_map:1326) [inlined]
3   TestDriver                    	       0x104268900 -[ICELocalObject dealloc] + 380 (LocalObject.mm:80)
4   TestDriver                    	       0x104198b80 ConnectionI.__deallocating_deinit + 16
5   libswiftCore.dylib            	       0x19162d3f8 _swift_release_dealloc + 56
6   libswiftCore.dylib            	       0x19162e44c bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 160
7   TestDriver                    	       0x10419b424 Current.__deallocating_deinit + 28
8   libswiftCore.dylib            	       0x19162d3f8 _swift_release_dealloc + 56
9   libswiftCore.dylib            	       0x19162e44c bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 160
10  TestDriver                    	       0x1041cf960 0x104178000 + 358752
11  libswiftCore.dylib            	       0x19162d3f8 _swift_release_dealloc + 56
12  libswiftCore.dylib            	       0x19162e44c bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 160
13  TestDriver                    	       0x1041cfa7c 0x104178000 + 359036
14  libswiftCore.dylib            	       0x19162d3f8 _swift_release_dealloc + 56
15  libswiftCore.dylib            	       0x19162e44c bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 160
16  libswift_Concurrency.dylib    	       0x25b139064 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 48
17  libswift_Concurrency.dylib    	       0x25b139035 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants