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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 8 03:07:49 PST 2010


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

           Summary: Assertion failure in sigscheme/src/storage-gc.c on amd64
                    linux
           Product: UIM
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libuim: Scheme interpreter
        AssignedTo: uim-bugs at freedesktop.org
        ReportedBy: jhyeon at gmail.com


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 even if I replace all the -O2 options
by -O0 and insert the line "init_buf[0] = '\0';" to sigscheme/src/read.c.  The
error occurs for r6235 as well as for version 1.5.7.


How to reproduce:


Unpack uim-1.5.7.tar.bz2
$ ./configure --enable-debug
$ make
[...]
Making all in scm
make[1]: Entering directory `/home/jhpark/pro/uim/deb/uim-1.5.7/scm'
make  -C ../uim uim-module-manager && \
       
LIBUIM_SYSTEM_SCM_FILES=/home/jhpark/pro/uim/deb/uim-1.5.7/sigscheme/lib
LIBUIM_SCM_FILES=/home/jhpark/pro/uim/deb/uim-1.5.7/scm
LIBUIM_PLUGIN_LIB_DIR=/home/jhpark/pro/uim/deb/uim-1.5.7/uim/.libs
UIM_DISABLE_NOTIFY=1 ../uim/uim-module-manager \
            --path ../scm --register "anthy"       "skk" "tcode" "trycode"
"tutcode" "byeoru" "latin" "elatin"  "pyload" "hangul" "viqr" "ipa-x-sampa"
"look" 
make[2]: Entering directory `/home/jhpark/pro/uim/deb/uim-1.5.7/uim'
make[2]: Leaving directory `/home/jhpark/pro/uim/deb/uim-1.5.7/uim'
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.
/bin/bash: line 2: 17144 Aborted                
LIBUIM_SYSTEM_SCM_FILES=/home/jhpark/pro/uim/deb/uim-1.5.7/sigscheme/lib
LIBUIM_SCM_FILES=/home/jhpark/pro/uim/deb/uim-1.5.7/scm
LIBUIM_PLUGIN_LIB_DIR=/home/jhpark/pro/uim/deb/uim-1.5.7/uim/.libs
UIM_DISABLE_NOTIFY=1 ../uim/uim-module-manager --path ../scm --register "anthy"
"skk" "tcode" "trycode" "tutcode" "byeoru" "latin" "elatin" "pyload" "hangul"
"viqr" "ipa-x-sampa" "look"
make[1]: *** [installed-modules.scm] Error 134
make[1]: Leaving directory `/home/jhpark/pro/uim/deb/uim-1.5.7/scm'
make: *** [all-recursive] Error 1


Environment:


$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror
--with-arch-32=i486 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)


-- 
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