[Uim-bugs] [Bug 26950] Assertion failure in sigscheme/src/storage-gc.c on amd64 linux

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 8 21:13:07 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26950


Etsushi Kato <ek.kato at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Etsushi Kato <ek.kato at gmail.com>  2010-03-08 21:13:07 PST ---
(In reply to comment #0)
> Giving the --enable-debug option to configure causes an assertion failure in
> lt-uim-module-manager during compilation.  The workarounds in the report of
> #16477 do not work, i.e. assertion fails 
[...]
> lt-uim-module-manager: ../sigscheme/src/storage-gc.c:640: within_heapp:
> Assertion `!((scm_uintobj_t)(((obj) & ~((((scm_uintobj_t)1 << ((0) + (1))) -
> ((scm_uintobj_t)1 << (0))) | (((scm_uintobj_t)1 << (((1 + 0)) + (2))) -
> ((scm_uintobj_t)1 << ((1 + 0))))))) % sizeof(ScmCell))' failed.

Also confirmed with Mac OS X 10.6 (x86_64) and Fedora 12 (x86_64).

Although I don't know the GC code internal of sigscheme well, I don't think it
requires to use SCM_UNTAG_PTR() in storage-gc.c:640, because it checks the
alignment later in line 649.  So I suggest using ptr = (ScmCell
*)SCM_DROP_TAG(obj) at the line.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the uim-bugs mailing list