Smalltalk browser does not launch

Bug #995016 reported by peredur
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gnu-smalltalk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On launch:

peter@peredur:~$ gst-browser
Object: CFunctionDescriptor new: 1 "<0x40488720>" error: Invalid C call-out gdk_colormap_get_type
SystemExceptions.CInterfaceError(Smalltalk.Exception)>>signal (ExcHandling.st:254)
SystemExceptions.CInterfaceError class(Smalltalk.Exception class)>>signal: (ExcHandling.st:161)
Smalltalk.CFunctionDescriptor(Smalltalk.CCallable)>>callInto: (CCallable.st:165)
GdkColormap class>>getType (GTK.star#VFS.ZipFile/Funcs.st:1)
optimized [] in GLib class>>registerAllTypes (GTK.star#VFS.ZipFile/GtkDecl.st:78)
Smalltalk.OrderedCollection>>do: (OrderColl.st:68)
GLib class>>registerAllTypes (GTK.star#VFS.ZipFile/GtkDecl.st:78)
Smalltalk.UndefinedObject>>executeStatements (GTK.star#VFS.ZipFile/GtkImpl.st:1078)
Object: CFunctionDescriptor new: 1 "<0x404a7c28>" error: Invalid C call-out gtk_window_new
SystemExceptions.CInterfaceError(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.CInterfaceError class(Exception class)>>signal: (ExcHandling.st:161)
CFunctionDescriptor(CCallable)>>callInto: (CCallable.st:165)
GTK.GtkWindow class>>new: (GTK.star#VFS.ZipFile/Funcs.st:1)
VisualGST.GtkDebugger(VisualGST.GtkMainWindow)>>initialize (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:131)
VisualGST.GtkDebugger class(VisualGST.GtkMainWindow class)>>openSized: (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:19)
[] in VisualGST.GtkDebugger class>>open: (VisualGST.star#VFS.ZipFile/Debugger/GtkDebugger.st:16)
[] in BlockClosure>>forkDebugger (DebugTools.star#VFS.ZipFile/DebugTools.st:380)
[] in Process>>onBlock:at:suspend: (Process.st:392)
BlockClosure>>on:do: (BlkClosure.st:193)
[] in Process>>onBlock:at:suspend: (Process.st:393)
BlockClosure>>ensure: (BlkClosure.st:269)
[] in Process>>onBlock:at:suspend: (Process.st:370)
[] in BlockClosure>>asContext: (BlkClosure.st:179)
BlockContext class>>fromClosure:parent: (BlkContext.st:68)

Everything then hangs until I type ^C, at which point I get:

Object: CFunctionDescriptor new: 1 "<0x404a7c28>" error: Invalid C call-out gtk_window_new
SystemExceptions.CInterfaceError(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.CInterfaceError class(Exception class)>>signal: (ExcHandling.st:161)
CFunctionDescriptor(CCallable)>>callInto: (CCallable.st:165)
GTK.GtkWindow class>>new: (GTK.star#VFS.ZipFile/Funcs.st:1)
VisualGST.GtkDebugger(VisualGST.GtkMainWindow)>>initialize (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:131)
VisualGST.GtkDebugger class(VisualGST.GtkMainWindow class)>>openSized: (VisualGST.star#VFS.ZipFile/GtkMainWindow.st:19)
[] in VisualGST.GtkDebugger class>>open: (VisualGST.star#VFS.ZipFile/Debugger/GtkDebugger.st:16)
[] in BlockClosure>>forkDebugger (DebugTools.star#VFS.ZipFile/DebugTools.st:380)
[] in Process>>onBlock:at:suspend: (Process.st:392)
BlockClosure>>on:do: (BlkClosure.st:193)
[] in Process>>onBlock:at:suspend: (Process.st:393)
BlockClosure>>ensure: (BlkClosure.st:269)
[] in Process>>onBlock:at:suspend: (Process.st:370)
[] in BlockClosure>>asContext: (BlkClosure.st:179)
BlockContext class>>fromClosure:parent: (BlkContext.st:68)
peter@peredur:~$

As far as I know my system has no customisations that would affect launching the SmallTalk browser.

The SmallTalk command line works fine, BTW.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnu-smalltalk-browser 3.2.4-2
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
Uname: Linux 3.2.0-24-generic-pae i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Sat May 5 10:37:44 2012
SourcePackage: gnu-smalltalk
UpgradeStatus: Upgraded to precise on 2012-05-02 (2 days ago)

Revision history for this message
peredur (peredur-peredur) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnu-smalltalk (Ubuntu):
status: New → Confirmed
Revision history for this message
Iconoclasmandheresy (iconoclasmandheresy) wrote :

This seems to be a mismatch between the versions of the GTK+ libraries that the binary was compiled for and the ones in use in current versions of Ubuntu. I was able to build GST 3.2.5 from source using the the build-dep and have a functioning gstbrowser install uner 14.04 just now. The version from the repos is not functional and requires a rebuild. The GTK+ library version needs to be more carefully set to forbid installation in a system with the incorrect versions.

Revision history for this message
u922796 (u922796-deactivatedaccount) wrote :

On Ubuntu 18.04.1 LTS:

~$ gst-browser --verbose
Loading package Cairo
Loading package Parser
Loading package DebugTools
Loading package SUnit
Loading package Announcements
Loading package GTK
Loading package VisualGST
a Smalltalk Stream:2: Abandon
a Smalltalk Stream:2: Error occurred while not in byte code interpreter!!
/usr/lib/libgst.so.7(+0x74c97)[0x7fc1439afc97]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fc143588f20]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7fc143588e97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7fc14358a801]
/usr/lib/libgst.so.7(+0x2c6a6)[0x7fc1439676a6]
/usr/lib/x86_64-linux-gnu/libsigsegv.so.2(+0xe3c)[0x7fc143346e3c]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fc143588f20]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_check_is_value_type+0x23)[0x7fc11e1f34f3]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x20785e)[0x7fc11e8cd85e]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_list_store_new+0xa4)[0x7fc11e7f2d94]
[1] 29303 abort (core dumped) gst-browser --verbose
~$

GNU Smalltalk version:

~$ gst --version
GNU Smalltalk version 3.2.5
Copyright 2009 Free Software Foundation, Inc.
Written by Steve Byrne (<email address hidden>) and Paolo Bonzini (<email address hidden>)

GNU Smalltalk comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Smalltalk under the terms of the
GNU General Public License. For more information, see the file named
COPYING.

Using default kernel path: /usr/share/gnu-smalltalk/kernel
Using default image path: /usr/lib/gnu-smalltalk

~$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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