process crashes after start

Dietmar Schaefer dietmar@REDACTED
Sat Jun 25 08:00:46 CEST 2005


Hi !


Thanks to Chandrashekhar Mullaparthi I could solve the problem of "my 
application does not get started".

My application does get started but terminates *straight* 
<http://dict.leo.org/se?lp=ende&p=/Mn4k.&search=straight> *away* 
<http://dict.leo.org/se?lp=ende&p=/Mn4k.&search=away> !


I can call it manually like so:


cmmc_sup:start(normal,[]).



But if it gets started by the application controller it fails.



=CRASH REPORT==== 25-Jun-2005::07:58:00 ===
  crasher:
    pid: <0.192.0>
    registered_name: []
    error_info: "invalid return value from cmmc_sup:start(normal,[]) -> 
{'EXIT',{undef,\n                                         
[{cmmc_db,start,[]},\n                                          
{cmmc_4dp,startall,0},\n                                          
{application_master,start_it_old,4}]}}"
    initial_call: {application_master,init,
                                     [<0.5.0>,
                                      <0.191.0>,
                                      {appl_data,
                                          cmmc,
                                          [comDecode,sendProc,cmmc_config],
                                          undefined,
                                          {cmmc_sup,[]},
                                          [cmmc_d4,
                                           cmmc_com,
                                           cmmc_snmp,
                                           cmmc_util,
                                           cmmc_4dp,
                                           cmmc_config,
                                           cmmc_app,
                                           cmmc_sup],
                                          [],
                                          infinity,
                                          infinity},
                                      normal]}
    ancestors: [<0.191.0>]
    messages: [{'EXIT',<0.193.0>,normal}]
    links: [<0.191.0>,<0.5.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 21
    reductions: 91
  neighbours:

=INFO REPORT==== 25-Jun-2005::07:58:00 ===
    application: cmmc
    exited: "invalid return value from cmmc_sup:start(normal,[]) -> 
{'EXIT',{undef,\n                                         
[{cmmc_db,start,[]},\n                                          
{cmmc_4dp,startall,0},\n                                          
{application_master,start_it_old,4}]}}"
    type: permanent
Eshell V5.4.5  (abort with ^G)
(cmmc@REDACTED)1> {"Kernel pid terminated",application_controller,shutdown}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) (shutdown)




I just cannot figure out what's wrong here.

I I have no idea how to interpret the erl_crash.dump

Any help is most <http://dict.leo.org/se?lp=ende&p=/Mn4k.&search=most> 
welcome <http://dict.leo.org/se?lp=ende&p=/Mn4k.&search=welcome>



regards


Dietmar



More information about the erlang-questions mailing list