Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
IT NachrichtenI’m Still Shocked at the Pixel 11 Pro Being 56% Off(28.09.2026 um 20:09 Uhr)
•••••
AI & KI NachrichtenChatGPT liefert Mist? 10 Tricks für bessere KI-Antworten(28.09.2026 um 20:01 Uhr)
•
AI & KI NachrichtenOpenAI Agents Hit UN Site 16,000 Times: What Went Wrong(28.09.2026 um 18:00 Uhr)
••••
IT NachrichtenI’m Still Shocked at the Pixel 11 Pro Being 56% Off(28.09.2026 um 20:09 Uhr)
•••••
AI & KI NachrichtenChatGPT liefert Mist? 10 Tricks für bessere KI-Antworten(28.09.2026 um 20:01 Uhr)
•
AI & KI NachrichtenOpenAI Agents Hit UN Site 16,000 Times: What Went Wrong(28.09.2026 um 18:00 Uhr)
••••
Intelligence View
⚡ tsecurity.de Intelligence

Maravel-Framework 10.61.0 prevents circular dependency

Maravel-Framework 10.61.0 There were multiple attempts to add this feature in Laravel…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!



Maravel-Framework 10.61.0



There were multiple attempts to add this feature in Laravel like:





Because the macroable classes are resolved from the container in Maravel-Framework, there are some corner cases like \Illuminate\Events\Dispatcher or Illuminate\Console\Scheduling\Schedule which if resolved from container would generate circular dependency that leads to segmentation fault or memory exhaustion.


This can happen also to developers leading to long debug time.



To shorten the detection of such cases , this PR introduces a hard limit of 10 MB by default, configurable via app.circular_dependency_memory_limit:




    /**
* Limit of extra memory used to detect circular dependencies when resolving an abstract from container (bytes)
*/
'circular_dependency_memory_limit' => 10485760,






The error it generates:



Illuminate\Contracts\Container\CircularDependencyException



Circular dependency detected while resolving [Illuminate\Console\Scheduling\Schedule]. Memory limit reached or exceeded 10485760 bytes. Dependencies initial memory (bytes):{“Illuminate\Console\Scheduling\Schedule”:27262976}



at vendor/macropay-solutions/maravel-framework/illuminate/Container/Container.php:886



This translates to:



When Illuminate\Console\Scheduling\Schedule starts to be resolved from container, the memory used by PHP, read via*\memory_get_usage(true),* was 27262976 bytes. Then the code went in an infinite loop until the memory difference exceeded 10 MB ( 10485760 bytes ), meaning the memory used by PHP was greater or equal to 27262976 + 10485760 bytes. If not stopped, this would continue until a segmentation fault would trigger a hard to debug memory exhausted fatal error.






Notes:



The limit based on time gives segmentation fault/memory limit fatal.



My first try to limit based on increments is not reliable as it can be seen here.



This is a second improvement after the di helper that does not call make on the container if it did not finish booting.

2. Cyber Threat Intelligence & Forensik

CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Maravel-Framework 10.61.0 prevents circular dependency

Thematisch verwandte Begriffe: MaravelFramework, 10610, prevents, circular · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-88808 | A vulnerability has been identified within Rancher Manager where the Fle…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag