Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332051 - app-i18n/fcitx-3.6.3 - "buffer overflow detected"
Summary: app-i18n/fcitx-3.6.3 - "buffer overflow detected"
Status: RESOLVED DUPLICATE of bug 301795
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 14:05 UTC by blackdream
Modified: 2010-08-10 17:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info,4.15 KB, text/plain)
2010-08-10 14:05 UTC, blackdream
Details
build.log (build.log,55.10 KB, text/plain)
2010-08-10 14:05 UTC, blackdream
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blackdream 2010-08-10 14:05:11 UTC
emerge -pqv =app-i18n/fcitx-3.6.3
[ebuild  N    ] app-i18n/fcitx-3.6.3  USE="dbus"
Comment 1 blackdream 2010-08-10 14:05:34 UTC
Created attachment 242253 [details]
emerge --info
Comment 2 blackdream 2010-08-10 14:05:55 UTC
Created attachment 242255 [details]
build.log
Comment 3 blackdream 2010-08-10 14:09:02 UTC
*** buffer overflow detected ***: ../tools/createPYMB terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x2b5a8f5bea17]
/lib/libc.so.6(+0xe4830)[0x2b5a8f5bc830]
../tools/createPYMB[0x4019d2]
../tools/createPYMB[0x401cc2]
/lib/libc.so.6(__libc_start_main+0xfd)[0x2b5a8f4f6b6d]
../tools/createPYMB[0x400bf9]
======= Memory map: ========
00400000-00405000 r-xp 00000000 08:05 138143                             /var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3/tools/createPYMB
00604000-00605000 r--p 00004000 08:05 138143                             /var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3/tools/createPYMB
00605000-00608000 rw-p 00005000 08:05 138143                             /var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3/tools/createPYMB
00608000-00609000 rw-p 00000000 00:00 0 
00d18000-00dde000 rw-p 00000000 00:00 0                                  [heap]
2b5a8f0a5000-2b5a8f0c3000 r-xp 00000000 08:02 531487                     /lib64/ld-2.11.2.so
2b5a8f0c3000-2b5a8f142000 rw-p 00000000 00:00 0 
2b5a8f2c2000-2b5a8f2c3000 r--p 0001d000 08:02 531487                     /lib64/ld-2.11.2.so
2b5a8f2c3000-2b5a8f2c4000 rw-p 0001e000 08:02 531487                     /lib64/ld-2.11.2.so
2b5a8f2c4000-2b5a8f2c5000 rw-p 00000000 00:00 0 
2b5a8f2c5000-2b5a8f2d4000 r-xp 00000000 08:02 136221                     /usr/lib64/libsandbox.so
2b5a8f2d4000-2b5a8f4d4000 ---p 0000f000 08:02 136221                     /usr/lib64/libsandbox.so
2b5a8f4d4000-2b5a8f4d5000 r--p 0000f000 08:02 136221                     /usr/lib64/libsandbox.so
2b5a8f4d5000-2b5a8f4d6000 rw-p 00010000 08:02 136221                     /usr/lib64/libsandbox.so
2b5a8f4d6000-2b5a8f4d8000 rw-p 00000000 00:00 0 
2b5a8f4d8000-2b5a8f62d000 r-xp 00000000 08:02 531547                     /lib64/libc-2.11.2.so
2b5a8f62d000-2b5a8f82c000 ---p 00155000 08:02 531547                     /lib64/libc-2.11.2.so
2b5a8f82c000-2b5a8f830000 r--p 00154000 08:02 531547                     /lib64/libc-2.11.2.so
2b5a8f830000-2b5a8f831000 rw-p 00158000 08:02 531547                     /lib64/libc-2.11.2.so
2b5a8f831000-2b5a8f837000 rw-p 00000000 00:00 0 
2b5a8f837000-2b5a8f839000 r-xp 00000000 08:02 531490                     /lib64/libdl-2.11.2.so
2b5a8f839000-2b5a8fa39000 ---p 00002000 08:02 531490                     /lib64/libdl-2.11.2.so
2b5a8fa39000-2b5a8fa3a000 r--p 00002000 08:02 531490                     /lib64/libdl-2.11.2.so
2b5a8fa3a000-2b5a8fa3b000 rw-p 00003000 08:02 531490                     /lib64/libdl-2.11.2.so
2b5a8fa3b000-2b5a8fa3d000 rw-p 00000000 00:00 0 
2b5a8fa3d000-2b5a8fa52000 r-xp 00000000 08:02 787015                     /lib64/libgcc_s.so.1
2b5a8fa52000-2b5a8fc51000 ---p 00015000 08:02 787015                     /lib64/libgcc_s.so.1
2b5a8fc51000-2b5a8fc52000 r--p 00014000 08:02 787015                     /lib64/libgcc_s.so.1
2b5a8fc52000-2b5a8fc53000 rw-p 00015000 08:02 787015                     /lib64/libgcc_s.so.1
7fff2beb1000-7fff2bed4000 rw-p 00000000 00:00 0                          [stack]
7fff2bfff000-7fff2c000000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
make[2]: *** [pybase.mb] 已放弃
make[2]: *** 正在删除文件“pybase.mb”
make[2]: *** 正在等待未完成的任务....
*** buffer overflow detected ***: ../tools/createPYMB terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x2b8d47a1da17]
/lib/libc.so.6(+0xe4830)[0x2b8d47a1b830]
../tools/createPYMB[0x4019d2]
../tools/createPYMB[0x401cc2]
/lib/libc.so.6(__libc_start_main+0xfd)[0x2b8d47955b6d]
../tools/createPYMB[0x400bf9]
======= Memory map: ========
00400000-00405000 r-xp 00000000 08:05 138143                             /var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3/tools/createPYMB
00604000-00605000 r--p 00004000 08:05 138143                             /var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3/tools/createPYMB
00605000-00608000 rw-p 00005000 08:05 138143                             /var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3/tools/createPYMB
00608000-00609000 rw-p 00000000 00:00 0 
02365000-0242b000 rw-p 00000000 00:00 0                                  [heap]
2b8d47504000-2b8d47522000 r-xp 00000000 08:02 531487                     /lib64/ld-2.11.2.so
2b8d47522000-2b8d475a1000 rw-p 00000000 00:00 0 
2b8d47721000-2b8d47722000 r--p 0001d000 08:02 531487                     /lib64/ld-2.11.2.so
2b8d47722000-2b8d47723000 rw-p 0001e000 08:02 531487                     /lib64/ld-2.11.2.so
2b8d47723000-2b8d47724000 rw-p 00000000 00:00 0 
2b8d47724000-2b8d47733000 r-xp 00000000 08:02 136221                     /usr/lib64/libsandbox.so
2b8d47733000-2b8d47933000 ---p 0000f000 08:02 136221                     /usr/lib64/libsandbox.so
2b8d47933000-2b8d47934000 r--p 0000f000 08:02 136221                     /usr/lib64/libsandbox.so
2b8d47934000-2b8d47935000 rw-p 00010000 08:02 136221                     /usr/lib64/libsandbox.so
2b8d47935000-2b8d47937000 rw-p 00000000 00:00 0 
2b8d47937000-2b8d47a8c000 r-xp 00000000 08:02 531547                     /lib64/libc-2.11.2.so
2b8d47a8c000-2b8d47c8b000 ---p 00155000 08:02 531547                     /lib64/libc-2.11.2.so
2b8d47c8b000-2b8d47c8f000 r--p 00154000 08:02 531547                     /lib64/libc-2.11.2.so
2b8d47c8f000-2b8d47c90000 rw-p 00158000 08:02 531547                     /lib64/libc-2.11.2.so
2b8d47c90000-2b8d47c96000 rw-p 00000000 00:00 0 
2b8d47c96000-2b8d47c98000 r-xp 00000000 08:02 531490                     /lib64/libdl-2.11.2.so
2b8d47c98000-2b8d47e98000 ---p 00002000 08:02 531490                     /lib64/libdl-2.11.2.so
2b8d47e98000-2b8d47e99000 r--p 00002000 08:02 531490                     /lib64/libdl-2.11.2.so
2b8d47e99000-2b8d47e9a000 rw-p 00003000 08:02 531490                     /lib64/libdl-2.11.2.so
2b8d47e9a000-2b8d47e9c000 rw-p 00000000 00:00 0 
2b8d47e9c000-2b8d47eb1000 r-xp 00000000 08:02 787015                     /lib64/libgcc_s.so.1
2b8d47eb1000-2b8d480b0000 ---p 00015000 08:02 787015                     /lib64/libgcc_s.so.1
2b8d480b0000-2b8d480b1000 r--p 00014000 08:02 787015                     /lib64/libgcc_s.so.1
2b8d480b1000-2b8d480b2000 rw-p 00015000 08:02 787015                     /lib64/libgcc_s.so.1
7fff9605e000-7fff96081000 rw-p 00000000 00:00 0                          [stack]
7fff960db000-7fff960dc000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
make[2]: *** [pyphrase.mb] 已放弃
make[2]: *** 正在删除文件“pyphrase.mb”
make[2]: Leaving directory `/var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3/data'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3'
make: *** [all] 错误 2
 * ERROR: app-i18n/fcitx-3.6.3 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2916:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =app-i18n/fcitx-3.6.3',
 * the complete build log and the output of 'emerge -pqv =app-i18n/fcitx-3.6.3'.
 * The complete build log is located at '/var/tmp/portage/app-i18n/fcitx-3.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-i18n/fcitx-3.6.3/temp/environment'.
 * S: '/var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3'
shell-init: error retrieving current directory: getcwd: cannot access parent directories: 没有那个文件或目录
shell-init: error retrieving current directory: getcwd: cannot access parent directories: 没有那个文件或目录
chdir: error retrieving current directory: getcwd: cannot access parent directories: 没有那个文件或目录

>>> Failed to emerge app-i18n/fcitx-3.6.3, Log file:

>>>  '/var/tmp/portage/app-i18n/fcitx-3.6.3/temp/build.log'

 * Messages for package app-i18n/fcitx-3.6.3:

 * ERROR: app-i18n/fcitx-3.6.3 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2916:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =app-i18n/fcitx-3.6.3',
 * the complete build log and the output of 'emerge -pqv =app-i18n/fcitx-3.6.3'.
 * The complete build log is located at '/var/tmp/portage/app-i18n/fcitx-3.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-i18n/fcitx-3.6.3/temp/environment'.
 * S: '/var/tmp/portage/app-i18n/fcitx-3.6.3/work/fcitx-3.6.3'
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-10 14:54:21 UTC
LDFLAGS="-Wl,-O3 [...]"

-O1 should be enough for everyone.

Oh, and the build log doesn't seem to mention what you put in comment #3.
Comment 5 blackdream 2010-08-10 15:05:53 UTC
(In reply to comment #4)
> LDFLAGS="-Wl,-O3 [...]"
> 
> -O1 should be enough for everyone.
> 
> Oh, and the build log doesn't seem to mention what you put in comment #3.
> 
"buffer overflow detected" is only (In reply to comment #4)
> LDFLAGS="-Wl,-O3 [...]"
> 
> -O1 should be enough for everyone.
> 
> Oh, and the build log doesn't seem to mention what you put in comment #3.
> 

Yes,So I  put the error information from terminal,which the build log didn't seem to metion it.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-10 17:25:51 UTC

*** This bug has been marked as a duplicate of bug 301795 ***