Comments (2)
Is this on a 32 or 64-bit platform? It's possible we've just failed to include <sys/types.h>
.
from folly.
That's alpine 3.19 (docker) on arm64.
Alpine support is basically broken anyways on that platform. I get over a hundred of failed tests (mainly due to segfaults), even though stack size is set generously. From these tests probably the aligned malloc and thread tests are worth taking a look:
# The following tests FAILED:
# 336 - atomic_shared_ptr_test.AtomicSharedPtr.DeterministicTest (SEGFAULT)
# 354 - core_cached_shared_ptr_test.CoreCachedSharedPtr.AtomicCoreCachedSharedPtr (SEGFAULT)
# 403 - dynamic_bounded_queue_test.DynamicBoundedQueue.enqDeq (SEGFAULT)
# 420 - unbounded_queue_test.UnboundedQueue.enqDeq (SEGFAULT)
# 474 - executor_test.ManualExecutor.getViaDoesNotDeadlock (SEGFAULT)
# 484 - fiber_io_executor_test.FiberIOExecutorTest.event_base (SEGFAULT)
# 487 - global_executor_test.GlobalExecutorTest.GlobalImmutableIOExecutor (SEGFAULT)
# 489 - global_executor_test.GlobalExecutorTest.GlobalIOExecutor (SEGFAULT)
# 501 - threaded_executor_test.ThreadedExecutorTest.exception (SEGFAULT)
# 514 - priority_unbounded_blocking_queue_test.PriorityUnboundedBlockingQueueTest.concurrent_push_pop (SEGFAULT)
# 520 - unbounded_blocking_queue_test.UnboundedBlockingQueue.concurrentPushPop (SEGFAULT)
# 564 - lock_free_ring_buffer_test.LockFreeRingBuffer.writesNeverFail (SEGFAULT)
# 616 - async_file_writer_test.AsyncFileWriter.flush (SEGFAULT)
# 640 - glog_formatter_test.GlogFormatter.logThreadNameChanged (Failed)
# 755 - callback_lifetime_test.CallbackLifetimeTest.thenReturnsValue (SEGFAULT)
# 756 - callback_lifetime_test.CallbackLifetimeTest.thenReturnsValueThrows (SEGFAULT)
# 757 - callback_lifetime_test.CallbackLifetimeTest.thenReturnsFuture (SEGFAULT)
# 758 - callback_lifetime_test.CallbackLifetimeTest.thenReturnsFutureThrows (SEGFAULT)
# 759 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesExnReturnsValueMatch (SEGFAULT)
# 760 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesExnReturnsValueMatchThrows (SEGFAULT)
# 761 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesExnReturnsValueWrong (SEGFAULT)
# 762 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesExnReturnsValueWrongThrows (SEGFAULT)
# 763 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesExnReturnsFutureMatch (SEGFAULT)
# 764 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesExnReturnsFutureMatchThrows (SEGFAULT)
# 765 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesExnReturnsFutureWrong (SEGFAULT)
# 766 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesExnReturnsFutureWrongThrows (SEGFAULT)
# 767 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesWrapReturnsValue (SEGFAULT)
# 768 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesWrapReturnsValueThrows (SEGFAULT)
# 769 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesWrapReturnsFuture (SEGFAULT)
# 770 - callback_lifetime_test.CallbackLifetimeTest.thenErrorTakesWrapReturnsFutureThrows (SEGFAULT)
# 884 - interrupt_test.Interrupt.futureWithinTimedOut (SEGFAULT)
# 885 - interrupt_test.Interrupt.semiFutureWithinTimedOut (SEGFAULT)
# 947 - retrying_test.RetryingTest.policyCappedJitteredExponentialBackoff (SEGFAULT)
# 948 - retrying_test.RetryingTest.policyCappedJitteredExponentialBackoffUnsafe (SEGFAULT)
# 951 - retrying_test.RetryingTest.policySleepDefaults (SEGFAULT)
# 952 - retrying_test.RetryingTest.largeRetries (SEGFAULT)
# 1011 - via_test.ViaFixture.threadHops (SEGFAULT)
# 1012 - via_test.ViaFixture.chainVias (SEGFAULT)
# 1014 - via_test.ViaFixture.viaAssignment (SEGFAULT)
# 1018 - via_test.Via.viaThenGetWasRacy (SEGFAULT)
# 1019 - via_test.Via.callbackRace (SEGFAULT)
# 1025 - via_test.Via.viaRaces (SEGFAULT)
# 1043 - wait_test.Wait.waitWithDuration (SEGFAULT)
# 1044 - wait_test.Wait.multipleWait (SEGFAULT)
# 1045 - wait_test.Wait.WaitPlusThen (SEGFAULT)
# 1046 - wait_test.Wait.cancelAfterWait (SEGFAULT)
# 1060 - window_test.Window.parallel (SEGFAULT)
# 1061 - window_test.Window.parallelWithError (SEGFAULT)
# 1062 - window_test.Window.allParallelWithError (SEGFAULT)
# 1263 - AsyncUDPSocketTest.AsyncSocketIntegrationTest.PingPong (SEGFAULT)
# 1264 - AsyncUDPSocketTest.AsyncSocketIntegrationTest.PingPongNotify (SEGFAULT)
# 1265 - AsyncUDPSocketTest.AsyncSocketIntegrationTest.PingPongNotifyMmsg (SEGFAULT)
# 1266 - AsyncUDPSocketTest.AsyncSocketIntegrationTest.PingPongRecvTosDisabled (SEGFAULT)
# 1267 - AsyncUDPSocketTest.AsyncSocketIntegrationTest.PingPongRecvTos (SEGFAULT)
# 1268 - AsyncUDPSocketTest.*/ConnectedAsyncSocketIntegrationTest.ConnectedPingPong/* (SEGFAULT)
# 1269 - AsyncUDPSocketTest.AsyncSocketIntegrationTest.PingPongPauseResumeListening (SEGFAULT)
# 1280 - AsyncUDPSocketTest.AsyncUDPSocketTest.TestDetachAttach (SEGFAULT)
# 1301 - EventBaseLocalTest.EventBaseLocalTest.DestructorStressTest (SEGFAULT)
# 1308 - HHWheelTimerTest.HHWheelTimerTest.ReschedTest (Failed)
# 1309 - HHWheelTimerTest.HHWheelTimerTest.DeleteWheelInTimeout (Failed)
# 1317 - HHWheelTimerTest.HHWheelTimerTest.Level1 (Failed)
# 1320 - NotificationQueueTest.NotificationQueueTest.ConsumeUntilDrained (SEGFAULT)
# 1321 - NotificationQueueTest.NotificationQueueTest.ConsumeUntilDrainedStress (SEGFAULT)
# 1322 - NotificationQueueTest.NotificationQueueTest.SendOneEventFD (SEGFAULT)
# 1323 - NotificationQueueTest.NotificationQueueTest.PutMessagesEventFD (SEGFAULT)
# 1324 - NotificationQueueTest.NotificationQueueTest.MultiConsumerEventFD (SEGFAULT)
# 1328 - NotificationQueueTest.NotificationQueueTest.SendOnePipe (SEGFAULT)
# 1329 - NotificationQueueTest.NotificationQueueTest.PutMessagesPipe (SEGFAULT)
# 1330 - NotificationQueueTest.NotificationQueueTest.MultiConsumerPipe (SEGFAULT)
# 1334 - NotificationQueueTest.NotificationQueueTest.UseAfterFork (SEGFAULT)
# 1353 - RequestContextTest.RequestContextTest.AccessAllThreadsDestructionGuard (SEGFAULT)
# 1355 - RequestContextTest.RequestContextTryGetTest.TryGetTest (SEGFAULT)
# 1358 - ScopedEventBaseThreadTest.ScopedEventBaseThreadTest.example (SEGFAULT)
# 1359 - ScopedEventBaseThreadTest.ScopedEventBaseThreadTest.named_example (SEGFAULT)
# 1360 - ScopedEventBaseThreadTest.ScopedEventBaseThreadTest.default_manager (SEGFAULT)
# 1361 - ScopedEventBaseThreadTest.ScopedEventBaseThreadTest.custom_manager (SEGFAULT)
# 1362 - ScopedEventBaseThreadTest.ScopedEventBaseThreadTest.eb_dtor_in_io_thread (SEGFAULT)
# 1363 - ScopedEventBaseThreadTest.ScopedEventBaseThreadTest.keepalive (SEGFAULT)
# 1524 - arena_test.Arena.Clear (Failed)
# 1675 - baton_test.Baton.pingpongBlocking (SEGFAULT)
# 1676 - baton_test.Baton.pingpongNonblocking (SEGFAULT)
# 1679 - baton_test.Baton.timedWaitTimeoutSystemClockBlocking (SEGFAULT)
# 1680 - baton_test.Baton.timedWaitTimeoutSystemClockNonblocking (SEGFAULT)
# 1681 - baton_test.Baton.timedWaitSystemClockBlocking (SEGFAULT)
# 1682 - baton_test.Baton.timedWaitSystemClockNonblocking (SEGFAULT)
# 1685 - baton_test.Baton.timedWaitTimeoutSteadyClockBlocking (SEGFAULT)
# 1686 - baton_test.Baton.timedWaitTimeoutSteadyClockNonblocking (SEGFAULT)
# 1687 - baton_test.Baton.timedWaitSteadyClockBlocking (SEGFAULT)
# 1688 - baton_test.Baton.timedWaitSteadyClockNonblocking (SEGFAULT)
# 1700 - lifo_sem_test.LifoSemTest.pingpong (SEGFAULT)
# 1701 - lifo_sem_test.LifoSemTest.mutex (SEGFAULT)
# 1705 - lifo_sem_test.LifoSemTest.shutdown_multi (SEGFAULT)
# 1796 - thread_name_test.ThreadName.getCurrentThreadName (Subprocess aborted)
# 1801 - small_locks_test.SmallLocks.SpinLockCorrectness (SEGFAULT)
# 1987 - deterministic_schedule_test.DeterministicSchedule.buggyAdd (SEGFAULT)
# 1988 - deterministic_schedule_test.DeterministicSchedule.globalInvariants (SEGFAULT)
# 2108 - fbvector_test.fbvector.clause233613Ambiguity (Failed)
# 2109 - fbvector_test.fbvector.clause2336111Ambiguity (Failed)
# 2111 - fbvector_test.fbvector.clause23364Ambiguity (Failed)
# 2112 - fbvector_test.fbvector.composition (SEGFAULT)
# 2113 - fbvector_test.fbvector.worksWithStdString (SEGFAULT)
# 2115 - fbvector_test.fbvector.moveConstruction (Failed)
# 2116 - fbvector_test.fbvector.emplace (SEGFAULT)
# 2118 - fbvector_test.fbvector.uniquePtr (SEGFAULT)
# 2131 - fbvector_test.FBVector.zeroInit (Failed)
# 2247 - futex_test.Futex.basicDeterministic (SEGFAULT)
# 2280 - locks_test.SpinLock.Correctness (SEGFAULT)
# 2333 - memory_test.alignedMalloc.examples (Failed)
# 2423 - random_test.Random.MultiThreaded (SEGFAULT)
# 2702 - synchronized_test.SynchronizedTimedTest/*.Timed (SEGFAULT)
# 2703 - synchronized_test.SynchronizedTimedWithConstTest/*.TimedShared (SEGFAULT)
# Errors while running CTest
from folly.
Related Issues (20)
- [powerpc] Some build errors and test results: issues to be addressed – threading, endianness HOT 22
- Build failure with Fedora 40's GCC 14.0.1
- Eroor
- Sweep: write an app with main.py
- [MSVC] Folly failed due to error C7555: use of designated initializers requires at least '/std:c++20' HOT 1
- EventBaseAtomicNotificationQueue - Check Failed
- Broken check for std::ranges?
- v2024.02.19 branch FTBFS / glog was not included correctly
- loadUnaligned and strict aliasing
- Question: What does * and *+ mean for a lambda? HOT 2
- a test failure in ScopeGuardTest.cpp due to missing "const" specifier on VS2022
- 'folly/portability/Config.h' file not found
- 'cstdlib' file not found
- Installing with cmake
- Support glog 0.7.0
- Build Error on Debian 12: mixing character types in fmt HOT 2
- How should I run folly on riscv64? HOT 4
- illegal identifier _T and _A at fbvector at line 1567
- Linker error trying to build on XCode M1 Mac Using Conda or Macports HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from folly.