From mikma264@REDACTED Thu Nov 2 15:11:30 2006 From: mikma264@REDACTED (Mikael Magnusson) Date: Thu, 02 Nov 2006 15:11:30 +0100 Subject: [erlang-bugs] appmon can't handle '@' in process names Message-ID: <4549FC92.5010003@gmail.com> Hi, I don't know if this is a known issue, but appmon 2.1.6 can't handle '@' in process names. I'm using 11.b.1.dfsg-1 on Debian. Regards, Mikael From gunilla@REDACTED Tue Nov 7 15:20:39 2006 From: gunilla@REDACTED (Gunilla Arendt) Date: Tue, 07 Nov 2006 15:20:39 +0100 Subject: [erlang-bugs] appmon can't handle '@' in process names In-Reply-To: <4549FC92.5010003@gmail.com> References: <4549FC92.5010003@gmail.com> Message-ID: <45509637.3010501@erix.ericsson.se> Hi, Thanks for the bug report. The error will be fixed in R11B-3. Regards, Gunilla, Erlang/OTP team Mikael Magnusson wrote: > Hi, > > I don't know if this is a known issue, but appmon 2.1.6 can't handle '@' > in process names. > > I'm using 11.b.1.dfsg-1 on Debian. > > Regards, > Mikael > From christophe.romain@REDACTED Mon Nov 13 12:04:11 2006 From: christophe.romain@REDACTED (Christophe Romain) Date: Mon, 13 Nov 2006 12:04:11 +0100 Subject: [erlang-bugs] R11B-2 odbc compilation on MacOS X ? Message-ID: <79c8da822351d56e481239325303ada1@process-one.net> Hello, I could not compile odbcserver.c as it comes on R11B-2 (never tryed on previous R11 versions) the problem is line 1496 #ifdef WIN32 static void connect_to_erlang(SOCKET socket, int port) #elif UNIX static void connect_to_erlang(int socket, int port) #endif { struct sockaddr_in sin; memset(&sin, 0, sizeof(sin)); it can not defines size of struct sockaddr_in I had to add the following include: #include moreover, the package unixodbc (which is required as a dependency) is often installed as a fink package into /sw/lib and the generated Makefile does not know about it. I manually added the following gcc options to make it compile: -L/sw/lib -lodbc I'm using Panther. the problems may be the same on Tiger but I don't know if it is reproductible on other MacOS X systems. Best Regards. From semper_ants@REDACTED Fri Nov 17 08:52:16 2006 From: semper_ants@REDACTED (Jan Jacobs) Date: Fri, 17 Nov 2006 09:52:16 +0200 Subject: [erlang-bugs] SNMP bug on Win XP Message-ID: Hi, snmpm_config:normalize_address(default) => returns a valid address using inet:getaddr(default, inet). on a win32 platform. e.g. Eshell V5.5.2 (abort with ^G) (demo@REDACTED)1> inet:getaddr(default, inet). {ok,{160,124,112,146}} (demo@REDACTED)2> I am using erl5.5.2 snmp-4.8.2 on Microsoft Windows XP. This is present in any of the previous versions and any of the Win32 NT platforms. Regards Jan Jacobs PS. I fix it by adding the following line and recompiling snmpm_config. normalize_address(default) -> default; Request your FREE Discovery Pack from Knorr Cup a Soup and stand in line to WIN a R50,000 sponsored marketing campaign. http://redirect.5th.co.za/ClickThrough.aspx?id=3589&site=http://www.soupup.co.za From gunilla@REDACTED Fri Nov 17 13:44:07 2006 From: gunilla@REDACTED (Gunilla Arendt) Date: Fri, 17 Nov 2006 13:44:07 +0100 Subject: [erlang-bugs] SNMP bug on Win XP In-Reply-To: References: Message-ID: <455DAE97.2060703@erix.ericsson.se> Thanks for the bug report. We'll look into it. Regards, Gunilla, Erlang/OTP team Jan Jacobs wrote: > Hi, > > snmpm_config:normalize_address(default) => returns a valid > address using inet:getaddr(default, inet). on a win32 > platform. > > e.g. > Eshell V5.5.2 (abort with ^G) > (demo@REDACTED)1> inet:getaddr(default, inet). > {ok,{160,124,112,146}} > (demo@REDACTED)2> > > I am using erl5.5.2 snmp-4.8.2 on Microsoft Windows XP. > > This is present in any of the previous versions and any of > the Win32 NT platforms. > > Regards > Jan Jacobs > > PS. > I fix it by adding the following line and recompiling > snmpm_config. > normalize_address(default) -> default; > > Request your FREE Discovery Pack from Knorr Cup a Soup and stand in line to WIN a R50,000 sponsored marketing campaign. > > http://redirect.5th.co.za/ClickThrough.aspx?id=3589&site=http://www.soupup.co.za > > _______________________________________________ > erlang-bugs mailing list > erlang-bugs@REDACTED > http://www.erlang.org/mailman/listinfo/erlang-bugs > > From pupeno@REDACTED Fri Nov 17 13:47:26 2006 From: pupeno@REDACTED (Pupeno) Date: Fri, 17 Nov 2006 12:47:26 +0000 Subject: [erlang-bugs] Be able to handle more than one repasitory of software Message-ID: <200611171247.38978.pupeno@pupeno.com> In my system, Erlang is installed in /usr/lib/erlang so I have a repository of software, I mean, libraries at /usr/lib/erlang/lib. With lots of nice libraries. All those files are managed by a package manager that does a good job of upgrading my installation whenever a new package is released. Now, I do some coding and I don't want my code in there as well for various reasons among them that it is not managed by the package management, it is experimental and it install more files that should also don't go directly into /usr. I normally install on /usr/local so my libraries go into /usr/local/lib/erlang/lib. I don't see any way to tell erlc to also look for libraries in /usr/local/lib/erlang/lib and this is my bug report. I believe there should be a way. There's -pa, but that requires specifing each library path and not a repository of libraries. Just to make my case a little bit clear, this is how it is done with other languages: - C: there are so many ways to do it here. With gcc you can use LD_LIBRARY_PATH to list all the places were you can find libraries. You can also set it in ld.so.conf or you can add it to the command line with -L (and -I for the includes). - C++: Same as C. - Obj-C: Same as C. - Python: You just set PYTHON_PATH to contain the extra directories to search for. - Haskell: Using ghc you can use the parameter -i to add paths to search for modules. I don't know if there's an environment variable to do it, but I am sure there is. - Ruby: You can do it, if I understand it correctly, with -I. - Java: long ago I remember setting a CLASSPATH environment variable, but I am not completely sure. I believe it is important to give good support for this kind of features that are just expected to be there by people using OSs just as GNU/Linux and tools such as make, automake/conf, etc. Thank you. -- Pupeno (http://pupeno.com) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: From kernel.xnix@REDACTED Fri Nov 17 18:30:56 2006 From: kernel.xnix@REDACTED (xnix) Date: Fri, 17 Nov 2006 20:30:56 +0300 Subject: [erlang-bugs] Can't compile R11B-2 Message-ID: <1163784656.394.0.camel@darkstar> I'v got ubuntu edgy distribution for amd64. I have some trubles. xnix@REDACTED:/tmp/otp_src_R11B-2$ uname -a Linux darkstar 2.6.17-10-generic #2 SMP Fri Oct 13 15:34:39 UTC 2006 x86_64 GNU/Linux I done ./configure --enable-smp , all was success. Then I typed "make" an got this. make[1]: Entering directory `/tmp/otp_src_R11B-2/lib' make[2]: Entering directory `/tmp/otp_src_R11B-2/lib/parsetools' === Entering application parsetools make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/parsetools/src' erlc -W +debug_info -I/tmp/otp_src_R11B-2/lib/stdlib/include -o../ebin yecc.erl /tmp/otp_src_R11B-2/lib/parsetools/src/../ebin/yecc.bea#: error writing file make[3]: *** [../ebin/yecc.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/parsetools/src' === Skipping subdir doc/src, it is missing === Leaving application parsetools make[2]: Leaving directory `/tmp/otp_src_R11B-2/lib/parsetools' make[2]: Entering directory `/tmp/otp_src_R11B-2/lib/asn1/src' erlc -W -bbeam -o../ebin +debug_info -I/tmp/otp_src_R11B-2/lib/stdlib +warn_unused_vars -Dvsn=\"1.4.4.11\" asn1ct.erl /tmp/otp_src_R11B-2/lib/asn1/src/../ebin/asn1ct.bea#: error writing file make[2]: *** [../ebin/asn1ct.beam] Error 1 make[2]: Leaving directory `/tmp/otp_src_R11B-2/lib/asn1/src' make[2]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe' Makefile:35: warning: overriding commands for target `docs' /tmp/otp_src_R11B-2/make/otp_subdir.mk:28: warning: ignoring old commands for target `docs' === Entering application hipe make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/rtl' erlc -W +debug_info +inline -o../ebin hipe_rtl_arch.erl /tmp/otp_src_R11B-2/lib/hipe/rtl/../ebin/hipe_rtl_arch.bea#: error writing file make[3]: *** [../ebin/hipe_rtl_arch.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/rtl' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/misc' erlc -W +debug_info -o../ebin hipe_consttab.erl /tmp/otp_src_R11B-2/lib/hipe/misc/../ebin/hipe_consttab.bea#: error writing file make[3]: *** [../ebin/hipe_consttab.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/misc' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/main' erlc -W +debug_info +nowarn_shadow_vars -o../ebin hipe.erl /tmp/otp_src_R11B-2/lib/hipe/main/../ebin/hipe.bea#: error writing file make[3]: *** [../ebin/hipe.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/main' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/cerl' erlc -W +debug_info +nowarn_shadow_vars +warn_unused_import +inline -o../ebin cerl_lib.erl /tmp/otp_src_R11B-2/lib/hipe/cerl/../ebin/cerl_lib.bea#: error writing file make[3]: *** [../ebin/cerl_lib.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/cerl' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/icode' erlc -W +debug_info +nowarn_shadow_vars +warn_unused_import -o../ebin hipe_icode.erl /tmp/otp_src_R11B-2/lib/hipe/icode/../ebin/hipe_icode.bea#: error writing file make[3]: *** [../ebin/hipe_icode.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/icode' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/flow' erlc -W +debug_info -o../ebin hipe_bb.erl /tmp/otp_src_R11B-2/lib/hipe/flow/../ebin/hipe_bb.bea#: error writing file make[3]: *** [../ebin/hipe_bb.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/flow' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/util' erlc -W +debug_info -o../ebin hipe_timing.erl /tmp/otp_src_R11B-2/lib/hipe/util/../ebin/hipe_timing.bea#: error writing file make[3]: *** [../ebin/hipe_timing.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/util' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/regalloc' erlc -W +debug_info -o../ebin hipe_ig.erl /tmp/otp_src_R11B-2/lib/hipe/regalloc/../ebin/hipe_ig.bea#: error writing file make[3]: *** [../ebin/hipe_ig.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/regalloc' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/sparc' erlc -W +debug_info +warn_unused_import -o../ebin hipe_finalize.erl /tmp/otp_src_R11B-2/lib/hipe/sparc/../ebin/hipe_finalize.bea#: error writing file make[3]: *** [../ebin/hipe_finalize.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/sparc' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/ppc' erlc -W +debug_info -o../ebin hipe_ppc.erl /tmp/otp_src_R11B-2/lib/hipe/ppc/../ebin/hipe_ppc.bea#: error writing file make[3]: *** [../ebin/hipe_ppc.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/ppc' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/x86' erlc -W +debug_info -o../ebin hipe_rtl_to_x86.erl /tmp/otp_src_R11B-2/lib/hipe/x86/../ebin/hipe_rtl_to_x86.bea#: error writing file make[3]: *** [../ebin/hipe_rtl_to_x86.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/x86' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/amd64' erlc -W +debug_info -DHIPE_AMD64 -o../ebin hipe_amd64_assemble.erl /tmp/otp_src_R11B-2/lib/hipe/amd64/../ebin/hipe_amd64_assemble.bea#: error writing file make[3]: *** [../ebin/hipe_amd64_assemble.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/amd64' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/arm' erlc -W +debug_info -o../ebin hipe_arm.erl /tmp/otp_src_R11B-2/lib/hipe/arm/../ebin/hipe_arm.bea#: error writing file make[3]: *** [../ebin/hipe_arm.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/arm' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/opt' erlc -W +debug_info -o../ebin hipe_schedule.erl /tmp/otp_src_R11B-2/lib/hipe/opt/../ebin/hipe_schedule.bea#: error writing file make[3]: *** [../ebin/hipe_schedule.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/opt' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/tools' erlc -W +debug_info -o../ebin hipe_tool.erl /tmp/otp_src_R11B-2/lib/hipe/tools/../ebin/hipe_tool.bea#: error writing file make[3]: *** [../ebin/hipe_tool.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/tools' === Leaving application hipe make[2]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe' make[1]: Leaving directory `/tmp/otp_src_R11B-2/lib' if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/hipe ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/hipe ; fi if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/hipe/ebin ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/hipe/ebin ; fi if test -f lib/hipe/ebin/hipe.beam ; then cp lib/hipe/ebin/*.beam /tmp/otp_src_R11B-2/bootstrap/lib/hipe/ebin; fi if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/parsetools ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/parsetools ; fi if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/ebin ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/ebin ; fi if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/include ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/include ; fi cp lib/parsetools/ebin/*.beam /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/ebin cp: cannot stat `lib/parsetools/ebin/*.beam': No such file or directory make: *** [secondary_bootstrap_copy] Error 1 From kernel.xnix@REDACTED Fri Nov 17 20:47:51 2006 From: kernel.xnix@REDACTED (xnix) Date: Fri, 17 Nov 2006 22:47:51 +0300 Subject: [erlang-bugs] Can't compile R11B-2 Message-ID: <1163792871.394.2.camel@darkstar> I'v got ubuntu edgy distribution for amd64. I have some trubles. xnix@REDACTED:/tmp/otp_src_R11B-2$ uname -a Linux darkstar 2.6.17-10-generic #2 SMP Fri Oct 13 15:34:39 UTC 2006 x86_64 GNU/Linux I done ./configure --enable-smp , all was success. Then I typed "make" an got this. make[1]: Entering directory `/tmp/otp_src_R11B-2/lib' make[2]: Entering directory `/tmp/otp_src_R11B-2/lib/parsetools' === Entering application parsetools make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/parsetools/src' erlc -W +debug_info -I/tmp/otp_src_R11B-2/lib/stdlib/include -o../ebin yecc.erl /tmp/otp_src_R11B-2/lib/parsetools/src/../ebin/yecc.bea#: error writing file make[3]: *** [../ebin/yecc.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/parsetools/src' === Skipping subdir doc/src, it is missing === Leaving application parsetools make[2]: Leaving directory `/tmp/otp_src_R11B-2/lib/parsetools' make[2]: Entering directory `/tmp/otp_src_R11B-2/lib/asn1/src' erlc -W -bbeam -o../ebin +debug_info -I/tmp/otp_src_R11B-2/lib/stdlib +warn_unused_vars -Dvsn=\"1.4.4.11\" asn1ct.erl /tmp/otp_src_R11B-2/lib/asn1/src/../ebin/asn1ct.bea#: error writing file make[2]: *** [../ebin/asn1ct.beam] Error 1 make[2]: Leaving directory `/tmp/otp_src_R11B-2/lib/asn1/src' make[2]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe' Makefile:35: warning: overriding commands for target `docs' /tmp/otp_src_R11B-2/make/otp_subdir.mk:28: warning: ignoring old commands for target `docs' === Entering application hipe make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/rtl' erlc -W +debug_info +inline -o../ebin hipe_rtl_arch.erl /tmp/otp_src_R11B-2/lib/hipe/rtl/../ebin/hipe_rtl_arch.bea#: error writing file make[3]: *** [../ebin/hipe_rtl_arch.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/rtl' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/misc' erlc -W +debug_info -o../ebin hipe_consttab.erl /tmp/otp_src_R11B-2/lib/hipe/misc/../ebin/hipe_consttab.bea#: error writing file make[3]: *** [../ebin/hipe_consttab.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/misc' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/main' erlc -W +debug_info +nowarn_shadow_vars -o../ebin hipe.erl /tmp/otp_src_R11B-2/lib/hipe/main/../ebin/hipe.bea#: error writing file make[3]: *** [../ebin/hipe.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/main' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/cerl' erlc -W +debug_info +nowarn_shadow_vars +warn_unused_import +inline -o../ebin cerl_lib.erl /tmp/otp_src_R11B-2/lib/hipe/cerl/../ebin/cerl_lib.bea#: error writing file make[3]: *** [../ebin/cerl_lib.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/cerl' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/icode' erlc -W +debug_info +nowarn_shadow_vars +warn_unused_import -o../ebin hipe_icode.erl /tmp/otp_src_R11B-2/lib/hipe/icode/../ebin/hipe_icode.bea#: error writing file make[3]: *** [../ebin/hipe_icode.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/icode' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/flow' erlc -W +debug_info -o../ebin hipe_bb.erl /tmp/otp_src_R11B-2/lib/hipe/flow/../ebin/hipe_bb.bea#: error writing file make[3]: *** [../ebin/hipe_bb.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/flow' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/util' erlc -W +debug_info -o../ebin hipe_timing.erl /tmp/otp_src_R11B-2/lib/hipe/util/../ebin/hipe_timing.bea#: error writing file make[3]: *** [../ebin/hipe_timing.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/util' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/regalloc' erlc -W +debug_info -o../ebin hipe_ig.erl /tmp/otp_src_R11B-2/lib/hipe/regalloc/../ebin/hipe_ig.bea#: error writing file make[3]: *** [../ebin/hipe_ig.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/regalloc' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/sparc' erlc -W +debug_info +warn_unused_import -o../ebin hipe_finalize.erl /tmp/otp_src_R11B-2/lib/hipe/sparc/../ebin/hipe_finalize.bea#: error writing file make[3]: *** [../ebin/hipe_finalize.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/sparc' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/ppc' erlc -W +debug_info -o../ebin hipe_ppc.erl /tmp/otp_src_R11B-2/lib/hipe/ppc/../ebin/hipe_ppc.bea#: error writing file make[3]: *** [../ebin/hipe_ppc.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/ppc' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/x86' erlc -W +debug_info -o../ebin hipe_rtl_to_x86.erl /tmp/otp_src_R11B-2/lib/hipe/x86/../ebin/hipe_rtl_to_x86.bea#: error writing file make[3]: *** [../ebin/hipe_rtl_to_x86.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/x86' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/amd64' erlc -W +debug_info -DHIPE_AMD64 -o../ebin hipe_amd64_assemble.erl /tmp/otp_src_R11B-2/lib/hipe/amd64/../ebin/hipe_amd64_assemble.bea#: error writing file make[3]: *** [../ebin/hipe_amd64_assemble.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/amd64' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/arm' erlc -W +debug_info -o../ebin hipe_arm.erl /tmp/otp_src_R11B-2/lib/hipe/arm/../ebin/hipe_arm.bea#: error writing file make[3]: *** [../ebin/hipe_arm.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/arm' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/opt' erlc -W +debug_info -o../ebin hipe_schedule.erl /tmp/otp_src_R11B-2/lib/hipe/opt/../ebin/hipe_schedule.bea#: error writing file make[3]: *** [../ebin/hipe_schedule.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/opt' make[3]: Entering directory `/tmp/otp_src_R11B-2/lib/hipe/tools' erlc -W +debug_info -o../ebin hipe_tool.erl /tmp/otp_src_R11B-2/lib/hipe/tools/../ebin/hipe_tool.bea#: error writing file make[3]: *** [../ebin/hipe_tool.beam] Error 1 make[3]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe/tools' === Leaving application hipe make[2]: Leaving directory `/tmp/otp_src_R11B-2/lib/hipe' make[1]: Leaving directory `/tmp/otp_src_R11B-2/lib' if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/hipe ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/hipe ; fi if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/hipe/ebin ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/hipe/ebin ; fi if test -f lib/hipe/ebin/hipe.beam ; then cp lib/hipe/ebin/*.beam /tmp/otp_src_R11B-2/bootstrap/lib/hipe/ebin; fi if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/parsetools ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/parsetools ; fi if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/ebin ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/ebin ; fi if test ! -d /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/include ; then mkdir /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/include ; fi cp lib/parsetools/ebin/*.beam /tmp/otp_src_R11B-2/bootstrap/lib/parsetools/ebin cp: cannot stat `lib/parsetools/ebin/*.beam': No such file or directory make: *** [secondary_bootstrap_copy] Error 1 From xpdoka@REDACTED Wed Nov 22 13:34:07 2006 From: xpdoka@REDACTED (Dominic Williams) Date: Wed, 22 Nov 2006 13:34:07 +0100 (CET) Subject: [erlang-bugs] Compiler internal consistency check failed Message-ID: <28902.83.199.83.55.1164198847.squirrel@www.geekisp.com> dw@REDACTED:~/tmp 123% uname -a Linux oulala 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux dw@REDACTED:~/tmp 124% erl +V Erlang (HIPE) (BEAM) emulator version 5.4.13 dw@REDACTED:~/tmp 125% erlc bug.erl bug: function run/0+1619: Internal consistency check failed - please report this bug. Instruction: {get_list,{x,1018},{x,1023},{x,1024}} Error: {invalid_store,{x,1024},term}: -------------- next part -------------- A non-text attachment was scrubbed... Name: bug.erl Type: application/octet-stream Size: 2948 bytes Desc: not available URL: From bjorn@REDACTED Wed Nov 22 14:35:41 2006 From: bjorn@REDACTED (Bjorn Gustavsson) Date: 22 Nov 2006 14:35:41 +0100 Subject: [erlang-bugs] Compiler internal consistency check failed In-Reply-To: <28902.83.199.83.55.1164198847.squirrel@www.geekisp.com> References: <28902.83.199.83.55.1164198847.squirrel@www.geekisp.com> Message-ID: The pattern matching is too complex. R11B-2 gives the following, clearer error message: bug: function run/0+1619: An implementation limit was reached. Try reducing the complexity of this function. Instruction: {get_list,{x,1018},{x,1023},{x,1024}} To reduce the complexity, you could first divide the list into two or more parts, and then match the parts separately. /Bjorn Dominic Williams writes: > dw@REDACTED:~/tmp 123% uname -a > Linux oulala 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 > i386 GNU/Linux > dw@REDACTED:~/tmp 124% erl +V > Erlang (HIPE) (BEAM) emulator version 5.4.13 > dw@REDACTED:~/tmp 125% erlc bug.erl > bug: function run/0+1619: > Internal consistency check failed - please report this bug. > Instruction: {get_list,{x,1018},{x,1023},{x,1024}} > Error: {invalid_store,{x,1024},term}: > > > _______________________________________________ > erlang-bugs mailing list > erlang-bugs@REDACTED > http://www.erlang.org/mailman/listinfo/erlang-bugs -- Bj?rn Gustavsson, Erlang/OTP, Ericsson AB From xpdoka@REDACTED Wed Nov 22 15:28:47 2006 From: xpdoka@REDACTED (Dominic Williams) Date: Wed, 22 Nov 2006 15:28:47 +0100 (CET) Subject: [erlang-bugs] Compiler internal consistency check failed In-Reply-To: References: <28902.83.199.83.55.1164198847.squirrel@www.geekisp.com> Message-ID: <45462.83.199.84.22.1164205727.squirrel@www.geekisp.com> Hi Bjorn, > To reduce the complexity, you could first divide the list into > two or more parts, and then match the parts separately. Thanks. In fact, it is not event necessary to split the list. Strangely, it is enough to bind it to a temporary variable and then match that, instead of matching the list directly. Regards, Dominic Williams http://www.dominicwilliams.net ---- From ulf@REDACTED Thu Nov 23 22:03:15 2006 From: ulf@REDACTED (Ulf Wiger) Date: Thu, 23 Nov 2006 22:03:15 +0100 (CET) Subject: [erlang-bugs] erl_pp bug in r11b-2? Message-ID: <42703.90.228.253.33.1164315795.squirrel@webmail.wiger.net> When I switched from R11B to R11B-2 on my Ubuntu, I started getting strange syntax errors in a file generated by leex. The .xrl file, as well as the leex.[eh]rl files used are at http://erlhive.svn.sourceforge.net/viewvc/erlhive/lib/erlhive/src/ After some tracing, I decided that the bug seems to be in erl_pp.erl. I cut out the call to erl_pp that I picked up from tracing on leex, and ran it in both R11 (stdlib-1.14.1) and R11B-2 (stdlib-1.14.2). Results follow: uwiger@REDACTED:~/dev/leex_bug$ ~/lib/otp/r11b-2/bin/erl Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.5.2 (abort with ^G) 1> io:format("~s~n", [erl_pp:exprs([{match,14,{var,14,'Atom'},{call,14,{atom,14,list_to_atom},[{var,14,'YYtext'}]}},{tuple,15,[{atom,15,token},{'case',15,{call,15,{atom,15,reserved_word},[{var,15,'Atom'}]},[{clause,16,[{atom,16,true}],[],[{tuple,16,[{var,16,'Atom'},{var,16,'YYline'}]}]},{clause,17,[{atom,17,false}],[],[{tuple,17,[{atom,17,atom},{var,17,'YYline'}, {var,17,'Atom'}]}]}]}]}],4,none)]). Atom = list_to_atom(YYtext){token, case reserved_word(Atom) of true -> {Atom,YYline}; false -> {atom,YYline,Atom} end} ok 2> BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded (v)ersion (k)ill (D)b-tables (d)istribution a uwiger@REDACTED:~/dev/leex_bug$ ~/lib/otp/r11b/bin/erl Erlang (BEAM) emulator version 5.5.1 [source] [async-threads:0] [hipe] Eshell V5.5.1 (abort with ^G) 1> io:format("~s~n", [erl_pp:exprs([{match,14,{var,14,'Atom'},{call,14,{atom,14,list_to_atom},[{var,14,'YYtext'}]}},{tuple,15,[{atom,15,token},{'case',15,{call,15,{atom,15,reserved_word},[{var,15,'Atom'}]},[{clause,16,[{atom,16,true}],[],[{tuple,16,[{var,16,'Atom'},{var,16,'YYline'}]}]},{clause,17,[{atom,17,false}],[],[{tuple,17,[{atom,17,atom},{var,17,'YYline'}, {var,17,'Atom'}]}]}]}]}],4,none)]). Atom = list_to_atom(YYtext), {token, case reserved_word(Atom) of true -> {Atom,YYline}; false -> {atom,YYline,Atom} end} ok My debugging ended with running a diff on erl_pp between stdlib-1.4.1 and stdlib-1.4.2, but the module seems to have been quite heavily modified. BR, Ulf W From fredrikelinder@REDACTED Thu Nov 23 23:47:29 2006 From: fredrikelinder@REDACTED (Fredrik Linder) Date: Thu, 23 Nov 2006 23:47:29 +0100 Subject: [erlang-bugs] gen_server and {spawn_opt, [monitor]} Message-ID: <3b513c8d0611231447y6391100dw4e5eca7c614864b6@mail.gmail.com> Hi Erlangers I found a bug in proc_lib, on windows (C:\Program Files\erl5.5.2\lib\stdlib- 1.14.2\src\proc_lib.erl). If one call gen_server:start(Module, start, Args, [{spawn_opt, [monitor]}]) the call will not return ! Some analysis yields that the cause is that the gen_server:start() call ends up in erlang:spawn_opt(..., [monitor]) which return {Pid, Monitor}, making the proc_lib:sync_wait() wait for {Pid, Monitor} and not Pid which is what the newly spawned process sends in the ack-message. My guess of a fix is that proc_lib:spawn_opt() checks the return value from erlang:spawn_opt(). I'm including an untested fix. Cheers /Fredrik -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: proc_lib.erl Type: application/octet-stream Size: 13251 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: org_proc_lib.erl Type: application/octet-stream Size: 12900 bytes Desc: not available URL: From hans.bolinder@REDACTED Fri Nov 24 09:10:40 2006 From: hans.bolinder@REDACTED (Hans Bolinder) Date: Fri, 24 Nov 2006 09:10:40 +0100 Subject: [erlang-bugs] erl_pp bug in r11b-2? In-Reply-To: <42703.90.228.253.33.1164315795.squirrel@webmail.wiger.net> References: <42703.90.228.253.33.1164315795.squirrel@webmail.wiger.net> Message-ID: <17766.43264.772067.39034@gargle.gargle.HOWL> [Ulf Wiger:] > After some tracing, I decided that the bug seems to be in erl_pp.erl. Thanks for taking the time to investigate this problem. The bug has been fixed in patch erl_891_otp_beam. What follows is a diff for those who haven't got access to the Erlang/OTP Licensees' Area: *** stdlib/src/erl_pp.erl Mon Nov 6 14:52:04 2006 --- erl_pp.erl Tue Nov 14 15:27:43 2006 *************** *** 81,87 **** exprs(Es, 0, Hook). exprs(Es, I, Hook) -> ! map(fun(Item) -> frmt(Item, I) end, lexprs(Es, Hook)). expr(E) -> frmt(lexpr(E, 0, none)). --- 81,87 ---- exprs(Es, 0, Hook). exprs(Es, I, Hook) -> ! frmt({seq,[],[],[$,],lexprs(Es, Hook)}, I). expr(E) -> frmt(lexpr(E, 0, none)). Best regards, Hans Bolinder, Erlang/OTP From gunilla@REDACTED Fri Nov 24 10:22:09 2006 From: gunilla@REDACTED (Gunilla Arendt) Date: Fri, 24 Nov 2006 10:22:09 +0100 Subject: [erlang-bugs] gen_server and {spawn_opt, [monitor]} In-Reply-To: <3b513c8d0611231447y6391100dw4e5eca7c614864b6@mail.gmail.com> References: <3b513c8d0611231447y6391100dw4e5eca7c614864b6@mail.gmail.com> Message-ID: <4566B9C1.3070109@erix.ericsson.se> Hi, Thanks for your bug report. The error will be corrected in R11B-3. Regards, Gunilla, Erlang/OTP team Fredrik Linder wrote: > Hi Erlangers > > I found a bug in proc_lib, on windows (C:\Program > Files\erl5.5.2\lib\stdlib-1.14.2\src\proc_lib.erl). > > If one call gen_server:start(Module, start, Args, [{spawn_opt, > [monitor]}]) the call will not return ! > > Some analysis yields that the cause is that the gen_server:start() call > ends up in erlang:spawn_opt(..., [monitor]) which return {Pid, Monitor}, > making the proc_lib:sync_wait() wait for {Pid, Monitor} and not Pid > which is what the newly spawned process sends in the ack-message. > > My guess of a fix is that proc_lib:spawn_opt() checks the return value > from erlang:spawn_opt(). I'm including an untested fix. > > Cheers > /Fredrik From ulf@REDACTED Tue Nov 28 18:57:51 2006 From: ulf@REDACTED (Ulf Wiger) Date: Tue, 28 Nov 2006 18:57:51 +0100 (CET) Subject: [erlang-bugs] erl_syntax fails to revert imports Message-ID: <31045.90.228.253.33.1164736671.squirrel@webmail.wiger.net> We discovered that erl_syntax doesn't handle packaged module names in import clauses (actually, it handles it in -import(M), but not -import(M,[...]).) The following patch seems to do the trick. BR, Ulf W uwiger$ diff erl_syntax.erl $R11B_2/lib/syntax_tools/src/erl_syntax.erl 2987,3003d2986 < Revert_list = < fun(Mod) -> < case is_list_skeleton(List) of < true -> < case is_proper_list(List) of < true -> < Fs = fold_function_names( < list_elements(List)), < {attribute, Pos, import, < {Mod, Fs}}; < false -> < Node < end; < false -> < Node < end < end, 3006,3011c2989,3000 < Revert_list(concrete(A)); < qualified_name -> < case revert_module_name(A) of < {ok, Ar} -> < Revert_list(Ar); < error -> --- > case is_list_skeleton(List) of > true -> > case is_proper_list(List) of > true -> > Fs = fold_function_names( > list_elements(List)), > {attribute, Pos, import, > {concrete(A), Fs}}; > false -> > Node > end; > false -> From richardc@REDACTED Tue Nov 28 22:35:16 2006 From: richardc@REDACTED (Richard Carlsson) Date: Tue, 28 Nov 2006 22:35:16 +0100 Subject: [erlang-bugs] erl_syntax fails to revert imports In-Reply-To: <31045.90.228.253.33.1164736671.squirrel@webmail.wiger.net> References: <31045.90.228.253.33.1164736671.squirrel@webmail.wiger.net> Message-ID: <456CAB94.3090807@it.uu.se> Thanks for the report, /Richard Ulf Wiger wrote: > We discovered that erl_syntax doesn't handle packaged module names in > import clauses (actually, it handles it in -import(M), but not > -import(M,[...]).) > > The following patch seems to do the trick. > > BR, > Ulf W > > uwiger$ diff erl_syntax.erl $R11B_2/lib/syntax_tools/src/erl_syntax.erl > 2987,3003d2986 > < Revert_list = > < fun(Mod) -> > < case is_list_skeleton(List) of > < true -> > < case is_proper_list(List) of > < true -> > < Fs = fold_function_names( > < list_elements(List)), > < {attribute, Pos, import, > < {Mod, Fs}}; > < false -> > < Node > < end; > < false -> > < Node > < end > < end, > 3006,3011c2989,3000 > < Revert_list(concrete(A)); > < qualified_name -> > < case revert_module_name(A) of > < {ok, Ar} -> > < Revert_list(Ar); > < error -> > --- >> case is_list_skeleton(List) of >> true -> >> case is_proper_list(List) of >> true -> >> Fs = fold_function_names( >> list_elements(List)), >> {attribute, Pos, import, >> {concrete(A), Fs}}; >> false -> >> Node >> end; >> false -> > > > _______________________________________________ > erlang-bugs mailing list > erlang-bugs@REDACTED > http://www.erlang.org/mailman/listinfo/erlang-bugs >