Message from discussion
Missing SASL Crash Report
Received: by 10.204.157.134 with SMTP id b6mr3116830bkx.5.1340220447331;
Wed, 20 Jun 2012 12:27:27 -0700 (PDT)
X-BeenThere: erlang-programming@googlegroups.com
Received: by 10.205.129.148 with SMTP id hi20ls6384127bkc.0.gmail; Wed, 20 Jun
2012 12:27:27 -0700 (PDT)
Received: by 10.204.143.145 with SMTP id v17mr3116932bku.7.1340220446899;
Wed, 20 Jun 2012 12:27:26 -0700 (PDT)
Received: by 10.204.143.145 with SMTP id v17mr3116931bku.7.1340220446883;
Wed, 20 Jun 2012 12:27:26 -0700 (PDT)
Return-Path: <erlang-questions-boun...@erlang.org>
Received: from hades.cslab.ericsson.net (hades.cslab.ericsson.net. [192.121.151.104])
by gmr-mx.google.com with ESMTP id iv15si1141630bkc.0.2012.06.20.12.27.26;
Wed, 20 Jun 2012 12:27:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) client-ip=192.121.151.104;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) smtp.mail=erlang-questions-boun...@erlang.org; dkim=neutral (body hash did not verify) header...@gmail.com
Received: from hades.cslab.ericsson.net (hades [192.121.151.104])
by hades.cslab.ericsson.net (Postfix) with ESMTP id B09955C149;
Wed, 20 Jun 2012 21:27:20 +0200 (CEST)
X-Original-To: erlang-questi...@erlang.org
Delivered-To: erlang-questi...@erlang.org
Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
[74.125.82.181])
by hades.cslab.ericsson.net (Postfix) with ESMTP id A15BE5C00F
for <erlang-questi...@erlang.org>; Wed, 20 Jun 2012 21:27:18 +0200 (CEST)
Received: by werj55 with SMTP id j55so6351410wer.40
for <erlang-questi...@erlang.org>; Wed, 20 Jun 2012 12:27:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=message-id:date:from:user-agent:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding;
bh=ZNPDigwK5FQ77Plf+V5vgLIf42q0JzowKe5FxeC4o7M=;
b=GRUQfyKtKlD06YcsGPsK9c8q1d09vEEw+kVjIke1fl5VzxtGTsM+VEZ7WyXUPXzWsD
3oiEzccAICT/Z2sWE54reOM9WD8K8MIzQX1J2bmlGCXzafQE0uXoYUu1/dFhZcDiFARB
3mxG30Z6Ic96LivYqMS/TmHRBrT8l1yQ9lEiOsiU1xxTExIvA8wo2pNRYJh4+heylM6T
RynhorSsZ/w5L6TEdn6S3XWpXvLPyMhjqHZnV9QQm8prcJO6ZOZnuRPFNRPPhWF0VcZ1
vWdEQO7FfVlgqQvH6GI9ayvtEMiCx3U9hi3r4YuO88u5yzYrQdl9jyV+/PC0et0lwLg/
Nwaw==
Received: by 10.216.228.150 with SMTP id f22mr11132963weq.192.1340220438218;
Wed, 20 Jun 2012 12:27:18 -0700 (PDT)
Received: from [192.168.43.59] ([212.17.165.105])
by mx.google.com with ESMTPS id bn9sm40730819wib.5.2012.06.20.12.27.15
(version=TLSv1/SSLv3 cipher=OTHER);
Wed, 20 Jun 2012 12:27:16 -0700 (PDT)
Message-ID: <4FE2240F.80...@gmail.com>
Date: Wed, 20 Jun 2012 22:27:11 +0300
From: Richard Carlsson <carlsson.rich...@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: erlang-questi...@erlang.org
References: <4FE0CD90.6090...@eonblast.com>
In-Reply-To: <4FE0CD90.6090...@eonblast.com>
Subject: Re: [erlang-questions] Missing SASL Crash Report
X-BeenThere: erlang-questi...@erlang.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: General Erlang/OTP discussions <erlang-questions.erlang.org>
List-Unsubscribe: <http://erlang.org/mailman/options/erlang-questions>,
<mailto:erlang-questions-requ...@erlang.org?subject=unsubscribe>
List-Archive: <http://erlang.org/pipermail/erlang-questions>
List-Post: <mailto:erlang-questi...@erlang.org>
List-Help: <mailto:erlang-questions-requ...@erlang.org?subject=help>
List-Subscribe: <http://erlang.org/mailman/listinfo/erlang-questions>,
<mailto:erlang-questions-requ...@erlang.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: erlang-questions-boun...@erlang.org
Sender: erlang-questions-boun...@erlang.org
Either simply that the timing is different (when you run all of it from
the command line, your code may begin to execute before sasl is fully
operational), or possibly because things executed with -s on the command
line are running before the system boot sequence is completed, and it
could be that sasl is not operational until booting is finished.
/Richard
On 06/19/2012 10:05 PM, H. Diedrich wrote:
> Hi,
>
> why would I NOT get a CRASH REPORT listed out (although there is a
> crash) in cases where I start a program directly, like
>
> $ erl -boot start_sasl -pa ./ebin ./lib/Emysql/ebin -s run run -s init
> stop -noshell
>
>
> -module(run).
> -export([run/0]).
>
> run() ->
>
> crypto:start(),
> emysql:start(),
> mysrv:start(),
> pong = mysrv:ping(),
> pong = mysrv:ping(gen_server),
>
> io:format("start up and pings complete.~n"),
> ok.
>
>
> But if I do that in the shell, I get a CRASH REPORT (which is what I
> want to find a bug)?
>
> $ erl -boot start_sasl -pa ./ebin ./lib/Emysql/ebin
> > crypto:start(), emysql:start(), nbtsrv:start().
>
> Thanks,
> Henning
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions