Skip to content

Debug startup crash after update to OTP 26 #12

@spicychickensauce

Description

@spicychickensauce

I'm trying to get my existing app to run with the new OTP 26 #11 setup.
I've copied over all the runtimes and made all the changes, but my app no longer starts.

It crashes with this error:

Could not start kernel pid (application_controller)

{{case_clause,{'EXIT',
  {undef,[
    {erl_prim_loader,read_file,["/data/user/0/com.example.app/files/app/releases/0.1.0/sys.config"],[]},
    {application_controller,load_file,1,[{file,"application_controller.erl"},{line,1968}]},
    {application_controller,conf_param_to_conf,1,[{file,"application_controller.erl"},{line,1838}]},
    {application_controller,'-check_conf/0-fun-0-',2,[{file,"application_controller.erl"},{line,1930}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
    {application_controller,check_conf,0,[{file,"application_controller.erl"},{line,1929}]},
    {application_controller,init,2,[{file,"application_controller.erl"},{line,525}]}
  ]}
}}, [{application_controller,init,2,[{file,"application_controller.erl"},{line,525}]}]}

Crash dump is being
 written to: erl_crash.dump...
done

I have no idea how to approach debugging this, any help?

I noticed that the *-nif-exqlite.zip files were not updated, could that be the cause? My app uses sqlite.

I would greatly appreciate any help here, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions