Debian Bug report logs - #716728
E: Invalid_argument("String.create")

version graph

Package: oasis; Maintainer for oasis is Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>; Source for oasis is src:oasis.

Reported by: Goswin von Brederlow <goswin-v-b@web.de>

Date: Thu, 11 Jul 2013 22:18:01 UTC

Severity: normal

Found in version oasis/0.3.0-2

Forwarded to https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=1295&group_id=54&atid=291

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, goswin-v-b@web.de, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#716728; Package oasis. (Thu, 11 Jul 2013 22:18:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Goswin von Brederlow <goswin-v-b@web.de>:
New Bug report received and forwarded. Copy sent to goswin-v-b@web.de, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>. (Thu, 11 Jul 2013 22:18:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Goswin von Brederlow <goswin-v-b@web.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: E: Invalid_argument("String.create")
Date: Fri, 12 Jul 2013 00:15:27 +0200
Package: oasis
Version: 0.3.0-2
Severity: normal

When I try to use oasis with my project I get the following error:

mrvn@frosties:~/src/lightspeed% oasis setup
Raised by primitive operation at file "string.ml", line 31, characters 2-26
Called from file "src/oasis/OASISRecDescParser.ml", line 404, characters 29-49
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 355, characters 23-47
Re-raised at file "src/oasis/OASISRecDescParser.ml", line 365, characters 17-29
Called from file "src/oasis/OASISRecDescParser.ml", line 83, characters 11-18
Called from file "list.ml", line 86, characters 24-34
Called from file "src/oasis/OASISRecDescParser.ml", line 138, characters 4-11877
Called from file "src/oasis/OASISAst.ml", line 38, characters 4-57
Called from file "src/oasis/OASISParse.ml", line 33, characters 4-49
Called from file "src/cli/Setup.ml", line 70, characters 6-95
Called from file "src/cli/Setup.ml", line 62, characters 4-312
Called from file "src/cli/Main.ml", line 61, characters 6-13
E: Invalid_argument("String.create")

I've added some printf debugging to the source around
OASISRecDescParser.ml", line 404 showing me this:

diff = 0, lvl =14, lvl_ref = 14, str = (C) 2012 Goswin von Brederlow
diff = 0, lvl =2, lvl_ref = 2, str = Game in the style of the Master of Orion but with the speed of light
diff = 0, lvl =2, lvl_ref = 2, str = introducing a time lag for distant star systems.
diff = -1, lvl =1, lvl_ref = 2, str = 

The problem seems to be a line with just "  " after the description. So my
_oasis file is buggy but it would be nice to get an error from the parser.
For testing purposes here a shortened version of my _oasis file:

----------------------------------------------------------------------
OASISFormat:  0.1
Name:         lightspeed
Version:      0.0.0
#LicenseFile:  ?
License:      GPL-3+ with OCaml linking exception
Authors:      Goswin von Brederlow <goswin-v-b@web.de>
Copyrights:
              (C) 2012 Goswin von Brederlow
#Homepage:     http://???/
BuildTools:   ocamlbuild
Plugins:      DevFiles (0.2), META (0.2)

Synopsis: Turn based strategy game in a galaxy with lightspeed limit
Description:
  Game in the style of the Master of Orion but with the speed of light
  introducing a time lag for distant star systems.
  
Flag strict
  Description: Strict compile-time checks
  Default: true

Executable server
  Path: .
  Install: true
  CompiledObject: best
  MainIs: server.ml
  BuildDepends: bigarray, extunix, unix
----------------------------------------------------------------------

MfG
	Goswin

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages oasis depends on:
ii  libfindlib-ocaml [libfindlib-ocaml-ozcu3]  1.3.3-1
ii  liboasis-ocaml [liboasis-ocaml-yvun8]      0.3.0-2+ocaml4
ii  liboasis-ocaml-dev                         0.3.0-2+ocaml4
ii  libodn-ocaml [libodn-ocaml-gzti0]          0.0.9-1+ocaml4
ii  ocaml-base-nox [ocaml-base-nox-4.00.1]     4.00.1-1

oasis recommends no packages.

Versions of packages oasis suggests:
ii  liboasis-ocaml-doc  0.3.0-2+ocaml4

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#716728; Package oasis. (Wed, 17 Jul 2013 15:12:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hendrik Tews <tews@os.inf.tu-dresden.de>:
Extra info received and forwarded to list. Copy sent to Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>. (Wed, 17 Jul 2013 15:12:04 GMT) Full text and rfc822 format available.

Message #10 received at 716728@bugs.debian.org (full text, mbox):

From: Hendrik Tews <tews@os.inf.tu-dresden.de>
To: Goswin von Brederlow <goswin-v-b@web.de>
Cc: 716728@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#716728: E: Invalid_argument("String.create")
Date: Wed, 17 Jul 2013 17:08:30 +0200
forwarded 716728 https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=1295&group_id=54&atid=291
thanks

upstream plans to fix this issue in version 0.4.

Bye,

Hendrik



Set Bug forwarded-to-address to 'https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=1295&group_id=54&atid=291'. Request was from Hendrik Tews <tews@os.inf.tu-dresden.de> to control@bugs.debian.org. (Wed, 17 Jul 2013 15:12:07 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 08:27:01 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.