Opened 11 years ago

Closed 10 years ago

Last modified 45 years ago

#278 closed bug (Fixed)

internal error: update_fwd: unknown/strange object 12238336

Reported by: ggd Owned by: simonmar
Priority: high Milestone:
Component: Runtime System Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

Hi! 
 
In my attempt to emerge i.e. compile gtk2hs on amd64 
arch, I've encountered the following problem: 
 
[..] 
../c2hs/c2hs -C-D__signed=signed 
-C-D__GLASGOW_HASKELL__=602 +RTS -H180m 
-M350m-RTS -C-I/usr/include/glib-2.0 
-C-I//usr/lib/glib-2.0/include -C-I/usr/include/gtk-2.0 
-C-I//usr/lib/gtk-2.0/include -C-I/usr/X11R6/include 
-C-I/usr/include/pango-1.0 -C-I/usr/include/freetype2 
-C-I/usr/include/atk-1.0 
-iabstract:buttons:display:entry:general:layout:menuComboToolbar:misc:multiline:ornaments:scrolling:selectors:treeList:windows:gdk:glib:pango:../compat:embedding  
-o : gtk/gtk.h general/Hierarchy.chs general/Signal.chs 
glib/GValue.chs glib/GList.chs glib/GObject.chs 
pango/PangoTypes.chs treeList/TreeModel.chs 
treeList/TreeViewColumn.chs multiline/TextIter.chs 
gdk/Region.chs abstract/Bin.chs abstract/Box.chs 
abstract/ButtonBox.chs abstract/Container.chs 
abstract/FileChooser.chs abstract/Misc.chs 
abstract/Object.chs abstract/Paned.chs 
abstract/Range.chs abstract/Scale.chs 
abstract/Widget.chs buttons/Button.chs 
buttons/CheckButton.chs buttons/RadioButton.chs 
buttons/ToggleButton.chs display/AccelLabel.chs 
display/Image.chs display/Label.chs 
display/ProgressBar.chs display/Statusbar.chs 
entry/Editable.chs entry/Entry.chs 
entry/EntryCompletion.chs entry/HScale.chs 
entry/SpinButton.chs entry/VScale.chs 
general/Enums.chs general/General.chs 
general/IconFactory.chs general/Style.chs 
layout/Alignment.chs layout/AspectFrame.chs 
layout/Expander.chs layout/Fixed.chs layout/HBox.chs 
layout/HButtonBox.chs layout/HPaned.chs 
layout/Layout.chs layout/Notebook.chs 
layout/Table.chs layout/VBox.chs 
layout/VButtonBox.chs layout/VPaned.chs 
menuComboToolbar/CheckMenuItem.chs 
menuComboToolbar/ComboBox.chs 
menuComboToolbar/ComboBoxEntry.chs 
menuComboToolbar/Combo.chs 
menuComboToolbar/ImageMenuItem.chs 
menuComboToolbar/MenuBar.chs 
menuComboToolbar/Menu.chs 
menuComboToolbar/MenuItem.chs 
menuComboToolbar/MenuShell.chs 
menuComboToolbar/OptionMenu.chs 
menuComboToolbar/RadioMenuItem.chs 
menuComboToolbar/TearoffMenuItem.chs 
menuComboToolbar/Toolbar.chs 
menuComboToolbar/ToolItem.chs misc/Adjustment.chs 
misc/Calendar.chs misc/DrawingArea.chs 
misc/EventBox.chs misc/FileChooserWidget.chs 
misc/GArrow.chs misc/HandleBox.chs 
misc/SizeGroup.chs misc/Tooltips.chs misc/Viewport.chs 
multiline/TextBuffer.chs multiline/TextMark.chs 
multiline/TextTag.chs multiline/TextTagTable.chs 
multiline/TextView.chs ornaments/Frame.chs 
ornaments/HSeparator.chs ornaments/VSeparator.chs 
scrolling/HScrollbar.chs scrolling/ScrolledWindow.chs 
scrolling/VScrollbar.chs selectors/ColorSelection.chs 
selectors/ColorSelectionDialog.chs 
selectors/FontSelection.chs 
selectors/FontSelectionDialog.chs 
treeList/CellRendererPixbuf.chs 
treeList/CellRendererText.chs 
treeList/CellRendererToggle.chs treeList/ListStore.chs 
treeList/TreeModelSort.chs treeList/TreeSelection.chs 
treeList/TreeStore.chs treeList/TreeView.chs 
windows/Dialog.chs windows/FileChooserDialog.chs 
windows/FileSel.chs windows/Window.chs 
gdk/Drawable.chs gdk/GC.chs gdk/Gdk.chs 
gdk/GdkEnums.chs gdk/Keys.chs gdk/Pixbuf.chs 
glib/GError.chs glib/GType.chs glib/GValueTypes.chs 
pango/PangoLayout.chs pango/Rendering.chs 
embedding/Plug.chs embedding/Socket.chs 
c2hs: internal error: update_fwd: unknown/strange 
object  12238336 
    Please report this as a bug to 
[email protected], 
    or http://www.sourceforge.net/projects/ghc/ 
/bin/sh: /bin/sed s/\(.*\)\.chs/\1.hs/: No such file or 
directory 
removing 
make[1]: *** [compile] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/gtk2hs-0.9.6-r1/work/gtk2hs-0.9.6/gtk' 
make: *** [make-all] Error 1 
 
 
I'm on Gentoo amd64 with dev-lang/ghc-6.2.2-r1. 
 
gaura-nitai gtk2hs # uname -a 
Linux gaura-nitai 2.6.9-gentoo-r1 #23 SMP Mon Nov 15 
21:51:39 CET 2004 x86_64 AMD Athlon(tm) 64 
Processor 3000+ AuthenticAMD GNU/Linux 
 
Sincerely, 
Gour 
 

Change History (3)

comment:1 Changed 10 years ago by ggd

Logged In: YES 
user_id=728695

Hi! 
 
I know amd64 port is not finished, but I've tried to compile 
gtk2hs-0.9.7_rc3. Here is the error (I do not know wheteher it helps in 
resolving ghc-bugs/missing features): 
 
... 
make[7]: Entering directory 
`/var/tmp/portage/gtk2hs-0.9.7_rc3/work/gtk2hs-0.9.7_rc3' 
/var/tmp/portage/gtk2hs-0.9.7_rc3/work/gtk2hs-0.9.7_rc3/tools/c2hs/c2hsLocal 
+RTS -H500m -M650m -RTS -C-I/usr/include/glib-2.0 
-C-I//usr/lib/glib-2.0/include -C-DXTHREADS -C-D_REENTRANT 
-C-DXUSE_MTSAFE_API -C-I/usr/include/gtk-2.0 
-C-I//usr/lib/gtk-2.0/include -C-I/usr/X11R6/include 
-C-I/usr/include/pango-1.0 -C-I/usr/include/freetype2 
-C-I/usr/include/atk-1.0 --cppopts='-include "config.h"' 
--precomp=gtk/gtk.precomp gtk/gtk.h 
elapsed time: 0.00 (start) 
elapsed time: 0.00 (about to parse headder) 
c2hsLocal: internal error: scavenge_mark_stack: unimplemented/strange 
closure type 12350816 @ 0x2a956a5438 
    Please report this as a bug to [email protected], 
    or http://www.sourceforge.net/projects/ghc/ 
make[7]: *** [gtk/gtk.precomp] Error 254 
make[7]: Leaving directory 
`/var/tmp/portage/gtk2hs-0.9.7_rc3/work/gtk2hs-0.9.7_rc3' 
... 
 
Sincerely, 
Gour 
 

comment:2 Changed 10 years ago by juhp

Logged In: YES 
user_id=139853

FWIW I saw "internal error: update_fwd: unknown/strange
object" too with
ghc-6.2.2 and gtk2hs-0.9.7_rc4.

comment:3 Changed 10 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

Fixed; there was a bug in the compacting garbage collector
that affected 64-bit machines.  6.4.1 will have the fix.
Note: See TracTickets for help on using tickets.