Thread overview
[Issue 18763] Segfault in garbage collector
Apr 15, 2018
Basile B.
Apr 15, 2018
|
Mar 21, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
Dec 17, 2022
Iain Buclaw
Jun 22, 2023
Vladimir Panteleev
April 15, 2018
https://issues.dlang.org/show_bug.cgi?id=18763

Basile B. <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com

--- Comment #1 from Basile B. <b2.temp@gmx.com> ---
You forgot to upload an attachment apparently.
SEGFAULT by GC can be caused by a destructor that allocates.
destructor are not allowed to.

--
April 15, 2018
https://issues.dlang.org/show_bug.cgi?id=18763

| <dhasenan@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhasenan@gmail.com

--- Comment #2 from | <dhasenan@gmail.com> ---
Created attachment 1685
  --> https://issues.dlang.org/attachment.cgi?id=1685&action=edit
Test case for segfault

Added test case (as seen on IRC).

Stacktrace (also as seen on IRC):

Program received signal SIGSEGV, Segmentation fault.
0x00005555555d5b35 in _D2gc4impl12conservativeQw3Gcx11fullcollectMFNbbZm ()
(gdb) bt
#0 0x00005555555d5b35 in _D2gc4impl12conservativeQw3Gcx11fullcollectMFNbbZm ()
#1 0x00005555555d8856 in
_D2gc4impl12conservativeQw14ConservativeGC__T9runLockedS_DQCeQCeQCcQCnQBs18fullCollectNoStackMFNbZ2goFNbPSQEaQEaQDyQEj3GcxZmTQvZQDfMFNbKQBgZm
()
#2 0x00005555555d2961 in
_D2gc4impl12conservativeQw14ConservativeGC18fullCollectNoStackMFNbZv ()
#3 0x00005555555d2932 in
_D2gc4impl12conservativeQw14ConservativeGC14collectNoStackMFNbZv ()
#4 0x00005555555e5cf1 in gc_term ()
#5 0x00005555555da3cb in rt_term ()
#6 0x00005555555c63b5 in rt.dmain2._d_run_main(int, char**, extern(C)
int(char[][]) function).runAll() ()
#7 0x00005555555c6290 in rt.dmain2._d_run_main(int, char**, extern(C)
int(char[][]) function).tryExec(scope void() delegate) ()
#8 0x00005555555c61fb in _d_run_main ()
#9 0x00005555555bbede in main ()
#10 0x00007ffff6bf2a87 in __libc_start_main (main=0x5555555bbebc <main>,
argc=2, argv=0x7fffffffea68, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffea58)
at ../csu/libc-start.c:310
#11 0x00005555555b114a in _start ()

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=18763

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
           Severity|normal                      |critical

--
June 22, 2023
https://issues.dlang.org/show_bug.cgi?id=18763

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dlang-bugzilla@thecybershad
                   |                            |ow.net
         Resolution|---                         |INVALID

--- Comment #3 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
This bug is unreproducible as it is missing sndfile.d and the mentioned oscillofun.flac.

--