Develop

Ticket #1137 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

XCSoar freezes in FLY mode after a about a minute

Reported by: Turbo Owned by: max
Priority: highest Milestone:
Component: Other Version: 6.0
Keywords: Cc:

Description

When XCSoar (master) is started in FLY mode without GPS connection on Win7 it is freezing after about a minute...

Callstack:

C:UsersTurboCodeXCSoarmasteroutputPCinXCSoar-ns.exe [5944]

Thread [1] 5944.0x113c (Suspended : Container)

ntdll!LdrFindResourceEx_U() at 0x776764f4
ntdllZwEnumerateDriverEntries() at 0x77674cac
PurgeComm?() at 0x75f51ceb
SerialPort::Flush() at SerialPort?.cpp:164 0x4b888f
SerialPort::StopRxThread?() at SerialPort?.cpp:271 0x4b8b53
SerialPort::Close() at SerialPort?.cpp:219 0x4b8a0c
SerialPort::~SerialPort?() at SerialPort?.cpp:70 0x4b858e
DeviceDescriptor::Close() at Descriptor.cpp:108 0x4867f7
devShutdown() at device.cpp:417 0x48641e
devRestart() at device.cpp:426 0x486445
<...more frames...>

Thread [2] 5944.0x41c (Suspended : Container)

ntdll!LdrFindResourceEx_U() at 0x776764f4
ntdllZwEnumerateDriverEntries() at 0x77674cac
WaitCommEvent?() at 0x75f522d2
SerialPort::run() at SerialPort?.cpp:190 0x4b88f8
Thread::thread_proc() at Thread.cpp:137 0x477528
KERNEL32!AcquireSRWLockExclusive() at 0x75f11174
ntdllRtlInsertElementGenericTableAvl() at 0x7768b3f5
ntdllRtlInsertElementGenericTableAvl() at 0x7768b3c8
0x0

Thread [3] 5944.0x2ac (Suspended : Container)

ntdll!LdrFindResourceEx_U() at 0x776764f4
ntdllZwWriteVirtualMemory() at 0x77675e6c
WaitForSingleObjectEx?() at 0x7589179c
0x100
0x0

Thread [4] 5944.0x14fc (Suspended : Container)

ntdll!LdrFindResourceEx_U() at 0x776764f4
ntdllZwWriteVirtualMemory() at 0x77675e6c
WaitForSingleObjectEx?() at 0x7589179c
0x10c
0x0

Thread [5] 5944.0x770 (Suspended : Container)

ntdll!LdrFindResourceEx_U() at 0x776764f4
UnregisterPowerSettingNotification?() at 0x75ba8f8f
timeKillEvent() at 0x748f27b2
0x6d6ff6c
0x0

Thread [6] 5944.0x9b4 (Suspended : Container)

ntdll!LdrFindResourceEx_U() at 0x776764f4
ntdllZwWriteRequestData() at 0x77675e4c
ntdllRtlIsValidIndexHandle() at 0x7765ef27
KERNEL32!AcquireSRWLockExclusive() at 0x75f11174
ntdllRtlInsertElementGenericTableAvl() at 0x7768b3f5
ntdllRtlInsertElementGenericTableAvl() at 0x7768b3c8
0x0

Thread [7] 5944.0xf20 (Suspended : Container)

ntdll!LdrFindResourceEx_U() at 0x776764f4
ntdllZwYieldExecution() at 0x77675e7c
ntdllRtlLargeIntegerShiftLeft() at 0x7766067b
KERNEL32!AcquireSRWLockExclusive() at 0x75f11174
ntdllRtlInsertElementGenericTableAvl() at 0x7768b3f5
ntdllRtlInsertElementGenericTableAvl() at 0x7768b3c8
0x0

Thread [8] 5944.0x1464 (Suspended : User Request)

ntdllDbgUserBreakPoint() at 0x77663541
ntdllEtwEventWriteNoRegistration() at 0x776cd279
0x7074febe
0x0

Change History

comment:1 Changed 2 years ago by Turbo

Bisect leads to 05c392ba51c8e1216fccdfe773ccd586af91fe93 as the cause of this freeze

comment:2 Changed 2 years ago by Turbo

  • Owner set to max
  • Status changed from new to assigned
  • Version changed from 6.1 to 6.0
  • Milestone changed from XCSoar 6.1 to XCSoar 6.0.x

comment:3 Changed 2 years ago by Turbo

  • Status changed from assigned to closed
  • Resolution set to fixed

fixed in my current HEAD (commit a7dedcff2a8873ca9c2c145ca2269a3f61d8f225)

comment:4 Changed 2 years ago by Turbo

  • Milestone XCSoar 6.0.x deleted

Milestone XCSoar 6.0.x deleted

Note: See TracTickets for help on using tickets.