Jump to page: 1 2
Thread overview
[Issue 19842] std.signals Segfault when connecting with a lambda
Apr 12, 2021
Walter Bright
Jun 07, 2021
Dlang Bot
Jun 08, 2021
Dlang Bot
Jun 08, 2021
Dlang Bot
Jul 13, 2021
Dlang Bot
Jul 20, 2021
Dlang Bot
Jul 23, 2021
Dlang Bot
[Issue 19842] std.signals Segfault could take other delegates than member function pointers
Aug 25, 2021
Ate Eskola
Dec 17, 2022
Iain Buclaw
Dec 17, 2022
Iain Buclaw
April 12, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

Walter Bright <bugzilla@digitalmars.com> changed:

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

--
June 07, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

Ajieskola@gmail.com changed:

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

--- Comment #1 from Ajieskola@gmail.com ---
Lambda is a delegate in this context. I'm testing with v2.096.0 release canditate and latest Phobos.

This bug does not trigger only with lambda, it triggers with any delegate that is not a class member function.

The documentation does warn that the delegates must be class delegates, but it does not say that that they must be member function pointers. This needs to be clarified, or preferably it should be made to work with non-member-function delegates too.

--
June 07, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dukc created dlang/phobos pull request #8137 "Issue 19842 - only class member functions must be used be used as slots" mentioning this issue:

- Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8137

--
June 08, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dukc created dlang/phobos pull request #8139 "Issue 19842 - only class member functions must be used be used as slots" mentioning this issue:

- Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8139

--
June 08, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dukc created dlang/phobos pull request #8140 "Issue 19842 - only class member functions must be used be used as slots" mentioning this issue:

- Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8140

--
July 13, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8140 "Issue 19842 - only class member functions must be used be used as slots" was merged into stable:

- 235d3ba9bedf8cd7a9f697231b03f37bac9fd7d3 by Ate Eskola:
  Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8140

--
July 20, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MartinNowak created dlang/phobos pull request #8172 "merge stable" mentioning this issue:

- Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8172

--
July 23, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

--- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8172 "merge stable" was merged into master:

- 06983381cf824cfae7b8a77d29b0b2fa8fe13c6f by Ate Eskola:
  Issue 19842 - only class member functions must be used be used as slots

https://github.com/dlang/phobos/pull/8172

--
August 25, 2021
https://issues.dlang.org/show_bug.cgi?id=19842

Ate Eskola <Ajieskola@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std.signals Segfault when   |std.signals Segfault could
                   |connecting with a lambda    |take other delegates than
                   |                            |member function pointers
           Severity|critical                    |enhancement

--- Comment #8 from Ate Eskola <Ajieskola@gmail.com> ---
The documetation is now clarified, but it still would be a nice plus for the slot to accept any delegate of the correct type. I changed the severity to enhancement.

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
« First   ‹ Prev
1 2