|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-05-08 12:27 UTC] lukin dot andrej at gmail dot com
[2021-05-08 12:29 UTC] lukin dot andrej at gmail dot com
[2021-05-08 12:29 UTC] lukin dot andrej at gmail dot com
-Status: Open
+Status: Closed
[2021-05-08 12:29 UTC] lukin dot andrej at gmail dot com
[2021-05-08 20:19 UTC] requinix@php.net
-Status: Closed
+Status: Not a bug
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 19:00:02 2025 UTC |
Description: ------------ I'm receiving a seg. fault running the code below. The backtrace is not much informative for this call. (gdb) bt #0 0x00007fff207a5552 in ?? () #1 0x00007ffeefbfe530 in ?? () #2 0x00000001002b8d5c in ?? () #3 0x00007ffeefbfdc80 in ?? () #4 0x00007fff204d6797 in ?? () #5 0x000000000000002e in ?? () #6 0x0000000105f4ba50 in ?? () #7 0x0000000000000019 in ?? () #8 0x0000000105805680 in ?? () #9 0x0000000105f4ba50 in ?? () #10 0x0000000000000000 in ?? () Test script: --------------- class Test { private string $name; public function __construct(string $name) { $this->name = $name; } } $class = new ReflectionClass(Test::class); $instance = \Closure::fromCallable([$class, 'newInstanceWithoutConstructor']); $instance(); Actual result: -------------- (gdb) bt #0 0x00007fff207a5552 in ?? () #1 0x00007ffeefbfe530 in ?? () #2 0x00000001002b8d5c in ?? () #3 0x00007ffeefbfdc80 in ?? () #4 0x00007fff204d6797 in ?? () #5 0x000000000000002e in ?? () #6 0x0000000105f4ba50 in ?? () #7 0x0000000000000019 in ?? () #8 0x0000000105805680 in ?? () #9 0x0000000105f4ba50 in ?? () #10 0x0000000000000000 in ?? ()