[Opa] Bug - regression ?

Thomas Recouvreux thomas.recouvreux at gmail.com
Tue Mar 27 09:21:02 UTC 2012


Yes that works on my side too
sorry for last message I posted too fast



2012/3/27 Matthieu Guffroy <mattgu74 at gmail.com>

> Ok with upgrade to the nightly 1518, it's OK.
>
>
>
> 2012/3/27 Matthieu Guffroy <mattgu74 at gmail.com>
>
>> Hum,
>>
>> Maybe Thomas has ever had the same problem as me. But for the one in his
>> mail, it is easily fixable with an "mkdir _build_o".
>>
>> :) Tomorrow morning we will try to see if the same problem happen on his
>> computer.
>>
>> For information I have always the problem on my computer, but I have not
>> on a debian server....
>>
>> But on the debian server I have always my problem of "Fatal error:
>> exception Sys_error("Cannot allocate memory")" with the DB.
>> I have found a temporary hack, which consist of launching a db in server
>> mode with "opa-db-server --db-local db/db --bind localhost -d db.pid"  <<--
>> But I'm scared that if the server must reboot I will loose the data... In
>> fact not loosing the data, but just be in a way where reloading a db server
>> with the data is impossible....
>>
>> And then using the option --db-remote localhost when launching my apps...
>>
>>
>> Matthieu,
>>
>>
>> 2012/3/26 Thomas Recouvreux <thomas.recouvreux at gmail.com>
>>
>>> Hi,
>>>
>>> I got the same error when I compile Matthiew's code.
>>>
>>> $ opa --version
>>> Opa compiler (c) MLstate -- version 0.9.1 -- build 1518
>>> $ cat /proc/version
>>> Linux version 3.0.0-16-generic (buildd at roseapple) (gcc version 4.6.1
>>> (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012
>>>
>>> $ make
>>> opa src/main.opa src/cas.opa src/resa.opa src/interface.opa -o main.exe
>>> --opx-dir _build_o --parser classic
>>>  Error
>>> An internal error has occurred during the pass LoadObjects
>>> Uncaught Exception:
>>>   Sys_error("_build_o: No such file or directory")
>>> Backtrace:
>>>
>>>  Saving the current environment for report (opatrack) ...
>>> make: *** [all] Erreur 10
>>>
>>>
>>> I think I show this error few days ago when I tried to transform my code
>>> into packages, it compiled fine but when I put some package anotations the
>>> compilation failed. But maybe it was an other error :)
>>>
>>>
>>>
>>> 2012/3/23 Matthieu Guffroy <mattgu74 at gmail.com>
>>>
>>>> It's not an hand opa installation but an installation with ubuntu
>>>> package.
>>>>
>>>> sudo dpkg -i opa......deb
>>>>
>>>> and for my apps, yes I have cleaned, I have also try to start with a
>>>> fresh clone of the git repository....
>>>>
>>>> --
>>>> Matthieu
>>>>
>>>>
>>>>
>>>>
>>>> 2012/3/23 Frederic Ye <frederic.ye at mlstate.com>
>>>>
>>>>> Hello, did you make clean; make; make uninstall install ?
>>>>>
>>>>> Frederic Ye.
>>>>>
>>>>> On 23 mars 2012, at 20:01, Matthieu Guffroy <mattgu74 at gmail.com>
>>>>> wrote:
>>>>>
>>>>> Hum....
>>>>> This is not working, even with the last nightlies.
>>>>>
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ opa --version
>>>>> Opa compiler (c) MLstate -- version 0.9.1 -- build 1513
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ git pull
>>>>> Already up-to-date.
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ make
>>>>> opa src/main.opa src/cas.opa src/interface.opa src/resa.opa -o
>>>>> main.exe --opx-dir _build_o --parser classic
>>>>> Error
>>>>> An internal error has occurred during the pass ParserGeneration
>>>>> Uncaught Exception:
>>>>>   File "passes/surfaceAstPasses.ml", line 72, characters 33-39:
>>>>> Assertion failed
>>>>> Backtrace:
>>>>>
>>>>> Saving the current environment for report (opatrack) ...
>>>>> make: *** [all] Erreur 10
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ wget
>>>>> http://download.opalang.org/ubuntu/opa_0.9.1s4%2Bbuild1518_amd64.deb
>>>>> --2012-03-23 19:52:55--
>>>>> http://download.opalang.org/ubuntu/opa_0.9.1s4%2Bbuild1518_amd64.deb
>>>>> Résolution de proxyweb.utc.fr... 195.83.155.55
>>>>> Connexion vers proxyweb.utc.fr|195.83.155.55|:3128... connecté.
>>>>> requête Proxy transmise, en attente de la réponse... 200 OK
>>>>> Longueur: 59220254 (56M) [application/octet-stream]
>>>>> Sauvegarde en : «opa_0.9.1s4+build1518_amd64.deb»
>>>>>
>>>>> 100%[======================================>] 59 220 254   987K/s   ds
>>>>> 73s
>>>>>
>>>>> 2012-03-23 19:54:07 (797 KB/s) - «opa_0.9.1s4+build1518_amd64.deb»
>>>>> sauvegardé [59220254/59220254]
>>>>>
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ sudo dpkg -i
>>>>> opa_0.9.1s4+build1518_amd64.deb
>>>>> [sudo] password for mguffroy:
>>>>> (Lecture de la base de données... 250480 fichiers et répertoires déjà
>>>>> installés.)
>>>>> Préparation du remplacement de opa 0.9.1s4+build1513 (en utilisant
>>>>> opa_0.9.1s4+build1518_amd64.deb) ...
>>>>> Dépaquetage de la mise à jour de opa ...
>>>>>
>>>>>
>>>>> Paramétrage de opa (0.9.1s4+build1518) ...
>>>>> Traitement des actions différées (« triggers ») pour « man-db »...
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ opa --version
>>>>> Opa compiler (c) MLstate -- version 0.9.1 -- build 1518
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ make clean
>>>>> rm -rf *.opx *.opx.broken *.opp
>>>>> rm -f *.exe
>>>>> rm -rf doc
>>>>> rm -rf _build _tracks
>>>>> rm -f *.log
>>>>> rm -f *.apix
>>>>> rm -f src/*.api
>>>>> rm -rf *.opp
>>>>> rm -f src/*.api-txt
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ make
>>>>> opa src/main.opa src/cas.opa src/interface.opa src/resa.opa -o
>>>>> main.exe --opx-dir _build_o --parser classic
>>>>> Error
>>>>> An internal error has occurred during the pass ParserGeneration
>>>>> Uncaught Exception:
>>>>>   File "passes/surfaceAstPasses.ml", line 72, characters 33-39:
>>>>> Assertion failed
>>>>> Backtrace:
>>>>>
>>>>> Saving the current environment for report (opatrack) ...
>>>>> make: *** [all] Erreur 10
>>>>>
>>>>>
>>>>>
>>>>> I have also try with a fresh clone :
>>>>>
>>>>> mguffroy at matthieu-laptop:~/Dropbox/UTC/resa$ cd
>>>>> mguffroy at matthieu-laptop:~$ git clone git at github.com:mattgu74/resa.git
>>>>> Cloning into resa...
>>>>> remote: Counting objects: 105, done.
>>>>> remote: Compressing objects: 100% (61/61), done.
>>>>> remote: Total 105 (delta 52), reused 96 (delta 43)
>>>>> Receiving objects: 100% (105/105), 75.33 KiB, done.
>>>>> Resolving deltas: 100% (52/52), done.
>>>>> mguffroy at matthieu-laptop:~$ cd resa
>>>>> mguffroy at matthieu-laptop:~/resa$ make
>>>>> opa src/main.opa src/cas.opa src/interface.opa src/resa.opa -o
>>>>> main.exe --opx-dir _build_o --parser classic
>>>>> Error
>>>>> An internal error has occurred during the pass LoadObjects
>>>>> Uncaught Exception:
>>>>>   Sys_error("_build_o: No such file or directory")
>>>>> Backtrace:
>>>>>
>>>>>  Saving the current environment for report (opatrack) ...
>>>>> make: *** [all] Erreur 10
>>>>> mguffroy at matthieu-laptop:~/resa$ mkdir _build_o
>>>>> mguffroy at matthieu-laptop:~/resa$ make
>>>>> opa src/main.opa src/cas.opa src/interface.opa src/resa.opa -o
>>>>> main.exe --opx-dir _build_o --parser classic
>>>>> Error
>>>>> An internal error has occurred during the pass ParserGeneration
>>>>> Uncaught Exception:
>>>>>   File "passes/surfaceAstPasses.ml", line 72, characters 33-39:
>>>>> Assertion failed
>>>>> Backtrace:
>>>>>
>>>>> Saving the current environment for report (opatrack) ...
>>>>> make: *** [all] Erreur 10
>>>>>
>>>>>
>>>>>
>>>>> ... Don't know what is the problem, but I'm a little bit blocked to
>>>>> devellop opa apps...
>>>>>
>>>>>
>>>>> Matthieu
>>>>>
>>>>>
>>>>>
>>>>> 2012/3/23 Quentin Bourgerie <quentin.bourgerie at mlstate.com>
>>>>>
>>>>>> **
>>>>>> What's build? I just tested with my current master (>= 1518) version
>>>>>> and I can't reproduce.
>>>>>>
>>>>>> On 03/21/2012 01:45 PM, Matthieu Guffroy wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>>  I have a new bug...
>>>>>>
>>>>>>  $ make
>>>>>> opa src/main.opa src/cas.opa src/interface.opa src/resa.opa -o
>>>>>> main.exe --opx-dir _build_o --parser classic
>>>>>>  Error
>>>>>> An internal error has occurred during the pass ParserGeneration
>>>>>> Uncaught Exception:
>>>>>>   File "passes/surfaceAstPasses.ml", line 72, characters 33-39:
>>>>>> Assertion failed
>>>>>>  Backtrace:
>>>>>>
>>>>>> Saving the current environment for report (opatrack) ...
>>>>>> make: *** [all] Erreur 10
>>>>>>
>>>>>>
>>>>>>  It's only with last nightlies of OPA.
>>>>>>
>>>>>>  Source code is here => https://github.com/mattgu74/resa
>>>>>>
>>>>>>
>>>>>>  Thanks,
>>>>>>
>>>>>> --
>>>>>> Matthieu
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Opa mailing listOpa at lists.owasp.orghttps://lists.owasp.org/mailman/listinfo/opa
>>>>>>
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> Opa mailing list
>>>>> Opa at lists.owasp.org
>>>>> https://lists.owasp.org/mailman/listinfo/opa
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Opa mailing list
>>>> Opa at lists.owasp.org
>>>> https://lists.owasp.org/mailman/listinfo/opa
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/opa/attachments/20120327/703b8d56/attachment.html>


More information about the Opa mailing list