|
|
| Author |
Message |
|
| ft at it.su.se |
Posted: Sun Jan 02, 2005 8:21 pm |
|
|
|
Guest
|
Hi
While writing test cases I've come across two bugs in the R10B-2
compiler. I've isolated them in two different directories for you - see
the attached file.
1) one <<>> too much :
$ /pkg/erlang/R10B-2/bin/erlc -W +debug_info sipserver.erl
sipserver: function test/0+190:
Internal consistency check failed - please report this bug.
Instruction: {put,{x,2}}
Error: {heap_overflow,{left,0},{wanted,1}}:
$
I was turning the bodys of my request records in the test() function
from "" into <<>> and apparently can't have more than a finite number
of <<>> before getting this error.
2) don't know what, but it doesn't like my catches ;)
$ /pkg/erlang/R10B-2/bin/erlc -W +debug_info sipserver.erl
sipserver: function test/0+4973:
Internal consistency check failed - please report this bug.
Instruction: {'%live',1}
Error: unknown_catch_try_state:
$
Both cases work when I compile using R10B-1.
I compile my Erlangs like this (only difference between R10B-1 and
R10B-2 is the --preix) :
# ./configure --prefix=/pkg-2004-08-02/erlang/R10B-2
--with-ssl=/pkg-2004-08-02/openssl/0.9.7d --with-hipe
# make
# make install
/Fredrik
PS. I found the bugs on the train, and see now that the second one has
been reported already (on erlang-questions_at_) but I'm sending it anyways
since I had already written the bug report and you might be helped by
more examples of how to trigger the bug...
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|