Skip to content

Crash with is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment #2190

@kitro

Description

@kitro

What happened?

Hi!
I tested frankenphp in production environment. after period of time is crashed.
It didn't restarted the service automatically, even the frankenphp service is enabled.

Environment

- ubuntu 24.04
- FrankenPHP v1.11.2 PHP 8.4 Caddy v2.10.2 h1:g/gTYjGMD0dec+UgMw8SnfmJ3I9+M2TdvoRL/Ovu6U8=
- PHP 8.4.18 (cli) (built: Feb 13 2026 15:32:33) (ZTS gcc 10.2.1 x86_64)
- classic mode
- installed from apt package source
- laravel app

Cadyfile

{
	frankenphp {
		num_threads 16
		max_threads auto
		php_ini {
			upload_max_filesize 25M
			post_max_size 25M
		}
	}
}

example.com {
	import security.conf

	root * /var/www/html/current/public

	encode zstd gzip

	php_server {
		try_files {path} index.php
		resolve_root_symlink
	}

	log {
		output file /var/log/caddy/access.log
		format json
	}
}

Thank you!

Build Type

deb packages

Worker Mode

No

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

default one

Relevant log output

frankenphp.service: Consumed 23min 49.238s CPU time, 338.9M memory peak, 0B memory swap peak. 
frankenphp.service: Failed with result 'core-dump'. 
frankenphp.service: Main process exited, code=dumped, status=11/SEGV 
 executable: /usr/bin/frankenphp (command line "/usr/bin/frankenphp run --environ --config /etc/frankenphp/Caddyfile")
is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions