Skip to content

Example logger C part have a problem with Erlang/20 erl_driver.h #12

@JiffB

Description

@JiffB

Debian stretch (stable)
erlang-solutions Erlang/20 pkgs

Hi,

Trying to test it, it returns:

=ERROR REPORT==== 26-Sep-2017::17:20:47 ===
Error loading driver: Driver compiled with incorrect version of erl_driver.h
=CRASH REPORT==== 26-Sep-2017::17:20:47 ===
crasher:
initial call: syslog:init/1
pid: <0.75.0>
registered_name: []
exception exit: bad_driver
in function gen_server:init_it/6 (gen_server.erl, line 349)
ancestors: [syslog_sup,<0.73.0>]
message_queue_len: 0
messages: []
links: [<0.74.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 376
stack_size: 27
reductions: 232
neighbours:

=SUPERVISOR REPORT==== 26-Sep-2017::17:20:47 ===
Supervisor: {local,syslog_sup}
Context: start_error
Reason: bad_driver
Offender: [{pid,undefined},
{id,syslog},
{mfargs,{syslog,start_link,[]}},
{restart_type,permanent},
{shutdown,5000},
{child_type,worker}]

=CRASH REPORT==== 26-Sep-2017::17:20:47 ===
crasher:
initial call: application_master:init/4
pid: <0.72.0>
registered_name: []
exception exit: {{shutdown,{failed_to_start_child,syslog,bad_driver}},
{syslog_app,start,[normal,[]]}}
in function application_master:init/4 (application_master.erl, line 134)
ancestors: [<0.71.0>]
message_queue_len: 1
messages: [{'EXIT',<0.73.0>,normal}]
links: [<0.71.0>,<0.33.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 27
reductions: 185
neighbours:

=INFO REPORT==== 26-Sep-2017::17:20:47 ===
application: syslog
exited: {{shutdown,{failed_to_start_child,syslog,bad_driver}},
{syslog_app,start,[normal,[]]}}
type: temporary
** exception error: {error,{{shutdown,{failed_to_start_child,syslog,bad_driver}},
{syslog_app,start,[normal,[]]}}}
in function e2_application:start_apps/1 (../../src/e2_application.erl, line 139)
in call from e2_application:start_with_dependencies/1 (../../src/e2_application.erl, line 50)
2>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions