Application crash when you close a program that is connecting in win7(SP1)
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 467
- PR merge metrics
- No merged PRs in 30d
Description
Description
Application crash when you close a program that is connecting in win7(SP1)
Stack info
Error info like this
0000000180065a5f
00000001800bea1a
0000000180065 map info
0001:000642b0 ?decapsulate_tls_plain@KeyContext@ProtoContext@openvpn@@AEAA_NAEAVPacket@23@@Z 00000001800652b0 f i ovpncli:ovpncli.cpp.obj
0001:000644f0 ?decompress@CompressLZOAsym@openvpn@@UEAAXAEAV?$BufferAllocatedType@EVthread_unsafe_refcount@openvpn@@@2@@Z 00000001800654f0 f i ovpncli:ovpncli.cpp.obj
0001:00064590 ?decompress@CompressStub@openvpn@@UEAAXAEAV?$BufferAllocatedType@EVthread_unsafe_refcount@openvpn@@@2@@Z 0000000180065590 f i ovpncli:ovpncli.cpp.obj
0001:00064620 ?decompress@CompressStubV2@openvpn@@UEAAXAEAV?$BufferAllocatedType@EVthread_unsafe_refcount@openvpn@@@2@@Z 0000000180065620 f i ovpncli:ovpncli.cpp.obj
0001:000646c0 ?decompress_work@CompressLZOAsym@openvpn@@QEAAXAEAV?$BufferAllocatedType@EVthread_unsafe_refcount@openvpn@@@2@@Z 00000001800656c0 f i ovpncli:ovpncli.cpp.obj
0001:000647b0 ?decrypt@?$Crypto@UMbedTLSCryptoAPI@openvpn@@@AEAD@openvpn@@UEAA?AW4Type@Error@3@AEAV?$BufferAllocatedType@EVthread_unsafe_refcount@openvpn@@@3@_JPEBE@Z 00000001800657b0 f i ovpncli:ovpncli.cpp.obj
0001:00064ae0 ?decrypt@?$CryptoCHM@UMbedTLSCryptoAPI@openvpn@@@openvpn@@UEAA?AW4Type@Error@2@AEAV?$BufferAllocatedType@EVthread_unsafe_refcount@openvpn@@@2@_JPEBE@Z 0000000180065ae0 f i ovpncli:ovpncli.cpp.obj
0001:00064af0 ?decrypt@?$CryptoTLSCryptInstance@UMbedTLSCryptoAPI@openvpn@@@openvpn@@UEAA_KPEBEPEAE_K02@Z 0000000180065af0 f i ovpncli:ovpncli.cpp.obj
0001:00064b50 ?decrypt@?$DecryptCHM@UMbedTLSCryptoAPI@openvpn@@@openvpn@@QEAA?AW4Type@Error@2@AEAV?$BufferAllocatedType@EVthread_unsafe_refcount@openvpn@@@2@_J@Z 0000000180065b50 f i ovpncli:ovpncli.cpp.obj
0001:00064ea0 ?decrypt@KeyContext@ProtoContext@openvpn@@QEAAXAEAV?$BufferAllocatedType@EVthread_unsafe_refcount@openvpn@@@3@@Z 0000000180065ea0 f i ovpncli:ovpncli.cpp.obj
00000001800be map info
0001:000bd1b0 ?untag_open_meta_tag@OptionList@openvpn@@CAXAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z 00000001800be1b0 f i ovpncli:ovpncli.cpp.obj
0001:000bd270 ?unwrap_tls_crypt_wkc@KeyContext@ProtoContext@openvpn@@AEAA_NAEAV?$BufferType@E@3@@Z 00000001800be270 f i ovpncli:ovpncli.cpp.obj
0001:000bd7b0 ?up_heap@?$timer_queue@U?$chrono_time_traits@UAsioClock@openvpn@@U?$wait_traits@UAsioClock@openvpn@@@asio@@@detail@asio@@@detail@asio@@AEAAX_K@Z 00000001800be7b0 f i ovpncli:ovpncli.cpp.obj
0001:000bd840 ?up_sequenced@?$ProtoStackBase@VPacket@ProtoContext@openvpn@@VKeyContext@23@@openvpn@@AEAAXXZ 00000001800be840 f i ovpncli:ovpncli.cpp.obj
0001:000bdbf0 ?update@?$CryptoDigestInstance@UMbedTLSCryptoAPI@openvpn@@@openvpn@@UEAAXPEBE_K@Z 00000001800bebf0 f i ovpncli:ovpncli.cpp.obj
0001:000bdc60 ?update@?$CryptoHMACInstance@UMbedTLSCryptoAPI@openvpn@@@openvpn@@UEAAXPEBE_K@Z 00000001800bec60 f i ovpncli:ovpncli.cpp.obj
0001:000bdc70 ?update@HMACContext@MbedTLSCrypto@openvpn@@QEAAXPEBE_K@Z 00000001800bec70 f i ovpncli:ovpncli.cpp.obj
0001:000bdce0 ?update_map@OptionList@openvpn@@QEAAXXZ 00000001800bece0 f i ovpncli:ovpncli.cpp.obj
0001:000bdda0 ?update_retransmit@?$ProtoStackBase@VPacket@ProtoContext@openvpn@@VKeyContext@23@@openvpn@@AEAAXXZ 00000001800beda0 f i ovpncli:ovpncli.cpp.obj
0001:000bde70 ?update_timeout@win_iocp_io_context@detail@asio@@AEAAXXZ 00000001800bee70 f i ovpncli:ovpncli.cpp.obj
0001:000bdef0 ?use_persisted_tun@?$TunPersistTemplate@V?$ScopedAsioStream@V?$basic_stream_handle@Vany_io_executor@asio@@@windows@asio@@@openvpn@@UTunPersistState@TunWin@2@@openvpn@@QEAA_NVAddr@IP@2@AEBUConfig@TunProp@2@AEBVOptionList@2@@Z 00000001800beef0 f i ovpncli:ovpncli.cpp.obj
Enviroment
- win7(7601-sp1)
- openvpn3(3.7.1)
- mbedtls(2.28.0)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash on Windows 7 SP1 with OpenVPN 3.7.1 and mbedTLS 2.28.0 while closing a program that is connecting. Use the supplied stack addresses and ovpncli.cpp.obj symbol mappings to identify the failing path; done means closing during connection no longer crashes the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking, operating-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100