© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
2 replies
Booltje124

SIGSEGV when testing Livewire component using Filament custom components

Hi everyone,

I’m running into a strange crash when testing (Pest) a Livewire component that uses Filament custom components.
Here’s a minimal example:


it('can render the platforms page', function () {
    Livewire::test(ShowPlatforms::class)
        ->assertStatus(200);
});

it('can render the platforms page', function () {
    Livewire::test(ShowPlatforms::class)
        ->assertStatus(200);
});


When I run this test, I get:

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)


If I test a normal route without Filament, it works fine:


it('can render the contribution table component', function () {
    $user = User::factory()->create();

    $project = Project::factory()->create(['user_id' => $user->id]);

    $deal = Deal::factory()->create(['user_id' => $user->id, 'project_id' => $project->id]);

    $project->update(['average_price' => $deal->price]);

    Livewire::actingAs($user)
        ->test(ContributionTable::class, ['project' => $project])
        ->assertStatus(200);
});

it('can render the contribution table component', function () {
    $user = User::factory()->create();

    $project = Project::factory()->create(['user_id' => $user->id]);

    $deal = Deal::factory()->create(['user_id' => $user->id, 'project_id' => $project->id]);

    $project->update(['average_price' => $deal->price]);

    Livewire::actingAs($user)
        ->test(ContributionTable::class, ['project' => $project])
        ->assertStatus(200);
});


So, If I test a Livewire component without any Filament components, it also works fine — so it seems to crash only when the Livewire component contains Filament parts (e.g., custom form fields, custom table columns).

Setup:

Laravel: 12 (starter kit with Livewire)

Filament: 4.0.0 beta-23

Livewire: 3.6.4

PHP version: [your PHP version here]

Has anyone seen this before or found a workaround?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Using filament components in custom livewire component
FilamentFFilament / ❓┊help
3y ago
Filament Action inside a custom Livewire component
FilamentFFilament / ❓┊help
2y ago
Filament-page + LiveWire Component
FilamentFFilament / ❓┊help
3y ago
Livewire custom component - Livewire Sortable
FilamentFFilament / ❓┊help
3y ago