[erlang-bugs] erl_interface: badarg on specific inputs

Davide Marquês <>
Tue May 5 03:04:10 CEST 2009

Hi all,

I hope I'm not abusing this mailing list with this email. I posted the
earlier today on erlang-questions:
but I'm guessing there aren't many erl_interface [on windows] users.
Since this might be a bug here goes...

Under certain inputs my basic port programs are simply breaking:

4> echo:echo("aaa aaaaaa").
sending to port: {echo,{"aaa aaaaaa"}}

=ERROR REPORT==== 4-May-2009::16:11:15 ===
catch: error:badarg

This might be simply due to bad coding on my part but I've tried to keep it
simple to rule that out. I was able to replicate the problem with
(.lib that come with the binary windows distribution; a MSVC build; and a
MinGW build)
and erl_interface-3.5.9 (MinGW build only).

The [failing] code is available here:
A sure way to get the echo program to fail is: echo:echo("New Folder").

I'm welcoming any feedback! Even if it's just to point out that I'm doing
really dumb (I can live with that). :)

On a side note, on the docs folder I documented my experience of trying
(and failing) to build erlang on Windows (using Visual C++ 2008 Express
As the details might be revelant to other users please consider updating
README.WIN32 to get it into a step-by-step/How-To

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20090505/6e5c7a4a/attachment.html>

More information about the erlang-bugs mailing list