[erlang-questions] werl R14A on windows 7 frequently crashes during file access

Tuncer Ayaz <>
Sat Jul 17 23:30:48 CEST 2010

On Thu, Jul 15, 2010 at 6:39 PM, Brian Williams wrote:
> I'm not entirely sure what combination of running software is causing
> this. I have a program that opens a list of log files (~100kb to
> ~200kb), reads one a line at a time, matches the line against some
> regexes, prints a report and finishes). Sometimes it works without a
> problem. But other times werl will crash one or two lines into reading
> the first log file, or when it opens up the report file. I have my
> .erl, .beam and final report file in a Dropbox directory, which may be

Hi Brian,

I don't expect Dropbox to be the problem but have you tested on
a Windows 7 install without Dropbox ever installed?

> Win7 gives me a report like this when it crashes:
> Problem signature:
> Problem Event Name:   APPCRASH
> Application Name:     werl.exe
> Application Version:
> Application Timestamp:        4c17b8f1
> Fault Module Name:    beam.smp.dll
> Fault Module Version:
> Fault Module Timestamp:       4c17b83a
> Exception Code:       c0000005
> Exception Offset:     000cc562
> OS Version:   6.1.7600.
> Locale ID:    1033
> Additional Information 1:     0a9e
> Additional Information 2:     0a9e372d3b4ad19135b953a78882e789
> Additional Information 3:     0a9e
> Additional Information 4:     0a9e372d3b4ad19135b953a78882e789

If you have a Windows crash dump for that I would make a backup of
the dump. Just in case...

>            {ok, WarningExp} = re:compile("warning", [caseless]),
>            {ok, ErrorExp} = re:compile("error", [caseless]),
>            Compiled_Tests = [
>                {warnings, warning_exps(), WarningExp},
>                {errors, error_exps(), ErrorExp}],
>            Report = scan_lines(Compiled_Tests, Dev, io:get_line(Dev, '')),

What's the definition of scan_lines/3 (what does it do with
the result of io:get_line/2 and with the compiled patterns)?

More information about the erlang-questions mailing list