Code Monkey home page Code Monkey logo

ux's Issues

race conditions? randomly on custom deployments

I have an app, that using idna (and ux) very often. I'm generating release using rebar generate. Release usually cannot start with following error (but sometimes it starts - on slower servers):

=ERROR REPORT==== 11-Nov-2012::12:52:51 ===
** Generic server ux_unidata_server terminating 
** Last message in was {get_default,{unidata,to_lower}}
** When Server state == []
** Reason for termination == 
** {{case_clause,<0.454.0>},
    [{ux_unidata_server,handle_call,3,
                        [{file,"src/unidata/ux_unidata_server.erl"},
                         {line,102}]},
     {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,588}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}

=CRASH REPORT==== 11-Nov-2012::12:52:51 ===
  crasher:
    initial call: ux_unidata_server:init/1
    pid: <0.169.0>
    registered_name: ux_unidata_server
    exception exit: {{case_clause,<0.454.0>},
                     [{ux_unidata_server,handle_call,3,
                          [{file,"src/unidata/ux_unidata_server.erl"},
                           {line,102}]},
                      {gen_server,handle_msg,5,
                          [{file,"gen_server.erl"},{line,588}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,227}]}]}
      in function  gen_server:terminate/6 (gen_server.erl, line 747)
    ancestors: [ux_sup,<0.161.0>]
    messages: []
    links: [<0.166.0>]
    dictionary: [{{unidata,to_lower},<0.454.0>},
                  {#Ref<0.0.0.2659>,{comp_exclusions,is_exclusion}},
                  {{comp_exclusions,is_exclusion},
                   #Fun<ux_unidata_filelist.2.116846164>},
                  {#Ref<0.0.0.2603>,{unidata,to_lower}}]
    trap_exit: false
    status: running
    heap_size: 2584
    stack_size: 24
    reductions: 407
  neighbours:

=SUPERVISOR REPORT==== 11-Nov-2012::12:52:51 ===
     Supervisor: {local,ux_sup}
     Context:    child_terminated
     Reason:     {{case_clause,<0.454.0>},
                  [{ux_unidata_server,handle_call,3,
                       [{file,"src/unidata/ux_unidata_server.erl"},
                        {line,102}]},
                   {gen_server,handle_msg,5,
                       [{file,"gen_server.erl"},{line,588}]},
                   {proc_lib,init_p_do_apply,3,
                       [{file,"proc_lib.erl"},{line,227}]}]}
     Offender:   [{pid,<0.169.0>},
                  {name,ux_unidata_server},
                  {mfargs,{ux_unidata_server,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,10000},
                  {child_type,worker}]

..............

=SUPERVISOR REPORT==== 11-Nov-2012::13:01:08 ===
     Supervisor: {local,ux_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.895.0>},
                  {name,ux_unidata_server},
                  {mfargs,{ux_unidata_server,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,10000},
                  {child_type,worker}]


=INFO REPORT==== 11-Nov-2012::13:01:08 ===
    application: ux
    exited: shutdown
    type: permanent
** Found 0 name clashes in code paths 
{"Kernel pid terminated",application_controller,"{application_terminated,ux,shutdown}"}

Crash dump was written to: ./log/erl_crash.dump
Kernel pid terminated (application_controller) ({application_terminated,ux,shutdown})

friendly apache 2 license ?

Hi,

I was about to propose a patch to eventually replace our use of icu by ux in CouchDB but actually you are using the LGPL3 license which is on the list of licenses where the product "may NOT be included within Apache " :

http://apache.org/legal/resolved.html#category-x

So I'm asking if you could eventually bump ux to an apache friendly license (maybe apache 2 or any bsd) maybe double license it ? Just asking anyway, I understand that a license is a personal choice.

Let me know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.