Gambas crashes at startup

Bug #46273 reported by Daniel Robitaille
28
Affects Status Importance Assigned to Milestone
gambas (Debian)
Fix Released
Unknown
gambas (Ubuntu)
Invalid
Medium
Marco Rodrigues

Bug Description

bug initially reported using reportbug

--------- Forwarded message ----------
From: Alexander RÞdseth <email address hidden>
To: Ubuntu Bug Tracking System <email address hidden>
Date: Mon, 08 May 2006 12:02:12 +0200
Subject: gambas: Gambas crashes at startup
Package: gambas
Version: 1.0.13-1
Severity: grave
Justification: renders package unusable

Here's what I get when I start gambas:

~% gambas
Warning: setlocale: cannot switch to language no_NO
sizeof(CLASS) = 256 !
ERROR: #51: Bad archive: Invalid argument

-- System Information:
Debian Release: testing/unstable
 APT prefers dapper-updates
 APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-21-amd64-k8
Locale: LANG=no_NO, LC_CTYPE=no_NO (charmap=locale: Cannot set
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)

Versions of packages gambas depends on:
ii alien 8.61 install non-native packages with d
ii fakeroot 1.5.6ubuntu2 Gives a fake root environment
ii gambas-doc 1.0.13-1 Free VB-like language
ii gambas-gb-compress 1.0.13-1 The Gambas compression component
ii gambas-gb-db 1.0.13-1 The Gambas database component
ii gambas-gb-debug 1.0.13-1 The debugger helper component for
ii gambas-gb-eval 1.0.13-1 The Gambas expression evaluator co
ii gambas-gb-net 1.0.13-1 The Gambas networking component
ii gambas-gb-net-curl 1.0.13-1 The Gambas advanced networking com
ii gambas-gb-qt 1.0.13-1 The Gambas Qt GUI component
ii gambas-gb-qt-editor 1.0.13-1 The Gambas source code editor comp
ii gambas-gb-qt-ext 1.0.13-1 The Gambas extended Qt GUI compone
ii gambas-gb-sdl 1.0.13-1 The Gambas SDL component
ii gambas-gb-vb 1.0.13-1 The Gambas Visual Basic (tm) compa
ii gambas-gb-xml 1.0.13-1 The Gambas Visual Basic (tm) compa
ii libc6 2.3.6-0ubuntu17 GNU C Library: Shared libraries an

gambas recommends no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
       LANGUAGE = "en_NO:en_US:en_GB:en",
       LC_ALL = (unset),
       LC_CTYPE = "no_NO",
       LANG = "no_NO"
   are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Revision history for this message
In , Wojciech Zabolotny (wzab) wrote : gambas: Gambas on i386 (Pentium P4) - no problems at startup

Package: gambas
Version: 1.0-1
Followup-For: Bug #302998

I've just stated, that gambas package has disappeared from "testing".
Some problems on startup when running on AMD64 platform have been reported.
Probably these problem are related to the 64-bit architecture, as there are
no problem when running on 32-bit i386 architecture.
Maybe the class size depends on the architecture?
Unfortunately I have no 64-bit machine for testing this issue more
thoroughly.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.5
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages gambas depends on:
ii alien 8.52 install non-native packages with d
ii fakeroot 1.2.10 Gives a fake root environment
ii gambas-doc 1.0-1 Free VB-like language
ii gambas-gb-compress 1.0-1 The Gambas compression component
ii gambas-gb-db 1.0-1 The Gambas database component
ii gambas-gb-debug 1.0-1 The debugger helper component for
ii gambas-gb-eval 1.0-1 The Gambas expression evaluator co
ii gambas-gb-net 1.0-1 The Gambas networking component
ii gambas-gb-net-curl 1.0-1 The Gambas advanced networking com
ii gambas-gb-qt 1.0-1 The Gambas Qt GUI component
ii gambas-gb-qt-editor 1.0-1 The Gambas source code editor comp
ii gambas-gb-qt-ext 1.0-1 The Gambas extended Qt GUI compone
ii gambas-gb-sdl 1.0-1 The Gambas SDL component
ii gambas-gb-vb 1.0-1 The Gambas Visual Basic (tm) compa
ii gambas-gb-xml 1.0-1 The Gambas Visual Basic (tm) compa
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an

-- no debconf information

Revision history for this message
In , José L. Redrejo Rodríguez (jredrejo) wrote : Bug#302998: wrong bug severity changed

severity 302998 important

Wojciech Zabolotny <email address hidden> is wright. According to
http://www.debian.org/Bugs/Developer#severities this bug is not grave
because all platforms released in Debian sarge can use the package.
I hope with this change gambas will return to sarge.

Revision history for this message
In , José L. Redrejo Rodríguez (jredrejo) wrote : merge bugs

severity 281491 important
merge 281491 353136 302998
thanks

Revision history for this message
In , José L. Redrejo Rodríguez (jredrejo) wrote : check if the bug has already been fixed

These bugs were due to endianess problems in gambas in some
architectures. According to the upstream author, they have been solved
in version 1.0.14.
I don't have available any of these architectures to test it, so please,
check the new 1.0.15 version available in Debian and confirm to me if
the bug has been solved or not.
Thanks

Revision history for this message
Daniel Robitaille (robitaille) wrote :

bug initially reported using reportbug

--------- Forwarded message ----------
From: Alexander RÞdseth <email address hidden>
To: Ubuntu Bug Tracking System <email address hidden>
Date: Mon, 08 May 2006 12:02:12 +0200
Subject: gambas: Gambas crashes at startup
Package: gambas
Version: 1.0.13-1
Severity: grave
Justification: renders package unusable

Here's what I get when I start gambas:

~% gambas
Warning: setlocale: cannot switch to language no_NO
sizeof(CLASS) = 256 !
ERROR: #51: Bad archive: Invalid argument

-- System Information:
Debian Release: testing/unstable
 APT prefers dapper-updates
 APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-21-amd64-k8
Locale: LANG=no_NO, LC_CTYPE=no_NO (charmap=locale: Cannot set
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)

Versions of packages gambas depends on:
ii alien 8.61 install non-native packages with d
ii fakeroot 1.5.6ubuntu2 Gives a fake root environment
ii gambas-doc 1.0.13-1 Free VB-like language
ii gambas-gb-compress 1.0.13-1 The Gambas compression component
ii gambas-gb-db 1.0.13-1 The Gambas database component
ii gambas-gb-debug 1.0.13-1 The debugger helper component for
ii gambas-gb-eval 1.0.13-1 The Gambas expression evaluator co
ii gambas-gb-net 1.0.13-1 The Gambas networking component
ii gambas-gb-net-curl 1.0.13-1 The Gambas advanced networking com
ii gambas-gb-qt 1.0.13-1 The Gambas Qt GUI component
ii gambas-gb-qt-editor 1.0.13-1 The Gambas source code editor comp
ii gambas-gb-qt-ext 1.0.13-1 The Gambas extended Qt GUI compone
ii gambas-gb-sdl 1.0.13-1 The Gambas SDL component
ii gambas-gb-vb 1.0.13-1 The Gambas Visual Basic (tm) compa
ii gambas-gb-xml 1.0.13-1 The Gambas Visual Basic (tm) compa
ii libc6 2.3.6-0ubuntu17 GNU C Library: Shared libraries an

gambas recommends no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
       LANGUAGE = "en_NO:en_US:en_GB:en",
       LC_ALL = (unset),
       LC_CTYPE = "no_NO",
       LANG = "no_NO"
   are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Changed in gambas:
assignee: nobody → motu
Revision history for this message
Thierry Moisan (thierryn) wrote :

I'm unable to reproduce this on dapper.

Revision history for this message
Alexander Rødseth (alexanro) wrote :

Are you on 64-bit dapper like me?

Revision history for this message
bip91 (bpnowhere) wrote :

Same problem for me with Dapper 64 but without Locale Warning.

bip@helios:~$ gambas
sizeof(CLASS) = 256 !
ERROR: #51: Bad archive: Argument invalide

Revision history for this message
kappe_79 (alessandro20) wrote :

Same problem with ubuntu 64.
Has anyone find a solution to solve the problem?

hi!

Revision history for this message
AriHu (arihu) wrote :

"Several parts of the Gambas internal code depend on the assumption that a pointer to memory will only be 32 bits."

More of this problem http://sourceforge.net/mailarchive/message.php?msg_id=15024630

Also bug #51764 might be same as this.

Revision history for this message
Vassilis Pandis (pandisv) wrote :

According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302998, this has been fixed with 1.0.15, the version available in Edgy. If somebody can confirm this, it would be nice.

Changed in gambas:
status: Unknown → Unconfirmed
bip91 (bpnowhere)
Changed in gambas:
status: Unconfirmed → Confirmed
Revision history for this message
bip91 (bpnowhere) wrote :

I just test gambas 1.0.15 in edgy on amd64 this afternoon :
$ gambas
sizeof(CLASS) = 256 !
ERROR: #51: Bad archive: Argument invalide

Nothing new...

Revision history for this message
Michael Bienia (geser) wrote :

gambas isn't 64bit clean. Debian has droped gambas on 64bit archs therefore.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411257 for reference.

Revision history for this message
jose.rob.jr (joserobjr) wrote :

same problem here with ubuntu feisty x64

$ gambas
sizeof(CLASS) = 256 !
ERROR: #51: Bad archive: Argumento inválido

Changed in gambas:
status: New → Fix Released
Revision history for this message
Marco Rodrigues (gothicx) wrote :

Waiting for sync of v1.0.18-1.. https://bugs.launchpad.net/ubuntu/+source/gambas/+bug/123305

So after that this one will be fixed.

Changed in gambas:
assignee: motu → gothicx
status: Confirmed → In Progress
Revision history for this message
Marco Rodrigues (gothicx) wrote :

The upstream doesn't support amd64. Ask them why :-)

Changed in gambas:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.