Thread overview
[Issue 10351] [GC] GC deadlocks in thread_suspendAll()
Sep 05, 2014
Marco Leise
Sep 06, 2014
Sobirari Muhomori
Sep 06, 2014
Sobirari Muhomori
Jun 18, 2017
tetyys@tetyys.com
Dec 17, 2022
Iain Buclaw
Dec 30, 2022
Iain Buclaw
September 05, 2014
https://issues.dlang.org/show_bug.cgi?id=10351

Marco Leise <Marco.Leise@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|REMIND                      |DUPLICATE

--- Comment #3 from Marco Leise <Marco.Leise@gmx.de> ---


*** This issue has been marked as a duplicate of issue 4890 ***

--
September 06, 2014
https://issues.dlang.org/show_bug.cgi?id=10351

Sobirari Muhomori <dfj1esp02@sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---
                 OS|All                         |Linux

--- Comment #4 from Sobirari Muhomori <dfj1esp02@sneakemail.com> ---
issue 4890 is reproduced on a newly created thread, is it the case for you? If it's a kernel bug, say what OS, kernel version and processor (speed, cores, HT) do you use.

--
September 06, 2014
https://issues.dlang.org/show_bug.cgi?id=10351

--- Comment #5 from Sobirari Muhomori <dfj1esp02@sneakemail.com> ---
also provide stack traces of other threads

--
April 20, 2016
https://issues.dlang.org/show_bug.cgi?id=10351

Aleksei Preobrazhenskii <apreobrazhensky@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=15939

--
June 18, 2017
https://issues.dlang.org/show_bug.cgi?id=10351

tetyys@tetyys.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tetyys@tetyys.com

--- Comment #6 from tetyys@tetyys.com ---
Having this issue only under profile build (dub --build=profile)

(gdb) bt
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x00000000011bbc4e in thread_suspendAll ()
#2  0x00000000011a22e1 in gc.impl.conservative.gc.Gcx.fullcollect() ()
#3  0x00000000011a078e in gc.impl.conservative.gc.Gcx.bigAlloc() ()
#4  0x00000000011a4659 in
gc.impl.conservative.gc.ConservativeGC.__T9runLockedS79_D2gc4impl12conservative2gc14ConservativeGC12mallocNoSyncMFNbmkKmxC8TypeInfoZPvS40_D2gc4impl12conservative2gc10mallocTimelS40_D2gc4impl12conservative2gc10numMallocslTmTkTmTxC8TypeInfoZ.runLocked()
()
#5  0x000000000119dd4a in gc.impl.conservative.gc.ConservativeGC.malloc() ()
#6  0x000000000113ba6b in gc_malloc ()
#7  0x000000000113e8db in _d_newclass ()
#8  0x0000000000ff21f8 in
vibe.core.drivers.libevent2.Libevent2Driver.connectTCP() (this=0x6de2dda2b500,
bind_addr=..., addr=...)
    at
../.dub/packages/vibe-d-0.8.0-beta.8/vibe-d/core/vibe/core/drivers/libevent2.d:347
#9  0x000000000104a60a in vibe.core.net.connectTCP() (bind_address=...,
addr=...)
    at ../.dub/packages/vibe-d-0.8.0-beta.8/vibe-d/core/vibe/core/driver.d:33
#10 0x0000000000a560fc in handle.GetRTXmlResponse() (Xml=1187,
__Xml_8=0x1247e2a <_TMP9856>)
    at ../.dub/packages/vibe-d-0.8.0-beta.8/vibe-d/core/vibe/core/net.d:145
#11 0x0000000000a538af in app._sharedStaticCtor13() () at source/app.d:215
#12 0x0000000000a55db5 in app.__modsharedctor() ()
#13 0x00000000011a8f42 in
rt.minfo.__T14runModuleFuncsS442rt5minfo11ModuleGroup8runCtorsMFZ9__lambda2Z.runModuleFuncs()
()
#14 0x00000000011a8bd5 in rt.minfo.ModuleGroup.runCtors() ()
#15 0x00000000011a8ded in rt.minfo.rt_moduleCtor() ()
#16 0x0000000001143341 in rt.sections_elf_shared.DSO.opApply() ()
#17 0x00000000011a8dbd in rt_moduleCtor ()
#18 0x00000000011a637b in rt_init ()
#19 0x000000000113da52 in rt.dmain2._d_run_main() ()
#20 0x000000000113d9f8 in rt.dmain2._d_run_main() ()
#21 0x000000000113d968 in _d_run_main ()
#22 0x0000000000a6ce70 in main ()

(gdb) info threads
  Id   Target Id         Frame
* 1    Thread 0x6de2ddb2dc00 (LWP 4036) "rtsrtorrentrela" sem_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85

Occurs early when running the program

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=10351

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--
December 30, 2022
https://issues.dlang.org/show_bug.cgi?id=10351

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |ibuclaw@gdcproject.org
         Resolution|---                         |DUPLICATE

--- Comment #7 from Iain Buclaw <ibuclaw@gdcproject.org> ---


*** This issue has been marked as a duplicate of issue 15939 ***

--