Click on edit, select font, and cancel the window, producing a lovely segfault. strace: ioctl(3, FIONREAD, [0]) = 0 ioctl(3, FIONREAD, [0]) = 0 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}], 7, 0) = 0 gettimeofday({1106425926, 54063}, NULL) = 0 write(3, "5\30\4\0*\1@\1\362\0@\1\247\0\213\0;\3\5\0\"\0@\1\0\0\0"..., 3532) = 3532 ioctl(3, FIONREAD, [0]) = 0 poll([{fd=3, events=POLLIN, revents=POLLIN}, {fd=4, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}], 7, -1) = 1 ioctl(3, FIONREAD, [64]) = 0 read(3, "\5\1\342\33\327\365\340H\216\0\0\0\377\0@\1\0\0\0\0\274"..., 64) = 64 write(3, "\20\0\3\0\4\0@\1NONE", 12) = 12 read(3, "\1\0\343\33\0\0\0\0U\0\0\0\0\0\0\0\1\0\0\0\26\0\0\0\230"..., 32) = 32 --- SIGSEGV (Segmentation fault) @ 0 (0) --- getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_IGN}, 8) = 0 mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0xb6a55000 munmap(0xb6a55000, 700416) = 0 munmap(0xb6c00000, 348160) = 0 mprotect(0xb6b00000, 135168, PROT_READ|PROT_WRITE) = 0 write(1, "Vim: Caught deadly signal SEGV\r\n", 32Vim: Caught deadly signal SEGV ) = 32 futex(0xb757e840, FUTEX_WAIT, 2, NULL
Created attachment 49223 [details] strace log
emerge info: dst portage # emerge info Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0 , 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 8 2004, 11:07:37)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-pipe -O2 -mtune=i686" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O2 -mtune=i686" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups dvd encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mailwrapper mikmod milter mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline ruby sasl scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: LDFLAGS
Mmm. Working here... So... What gtk+-2 version is this? Does it still occur if you USE="debug"? If so, any chance you could get a gdb backtrace? You'll probably need to use "gvim -f" as the command.
x11-libs/gtk+-2.6.1-r1 backtrace: #0 malloc_consolidate (av=0xb757e840) at malloc.c:4453 #1 0xb74c986e in _int_malloc (av=0xb757e840, bytes=3075991688) at malloc.c:3896 #2 0xb74cb181 in *__GI___libc_malloc (bytes=504) at malloc.c:3341 #3 0xb7b92067 in g_malloc () from /usr/lib/libglib-2.0.so.0 #4 0xb7c4b8c1 in pango_log2vis_get_embedding_levels () from /usr/lib/libpango-1.0.so.0 #5 0xb7c392d5 in pango_context_get_base_dir () from /usr/lib/libpango-1.0.so.0 #6 0xb7c39fdc in pango_itemize_with_base_dir () from /usr/lib/libpango-1.0.so.0 #7 0xb7c3a121 in pango_itemize () from /usr/lib/libpango-1.0.so.0 #8 0x0818e04e in gui_gtk2_draw_string (row=1, col=0, s=0x8528388 "~", ' ' <repeats 79 times>, len=80, flags=2) at gui_gtk_x11.c:5311 #9 0x08180a95 in gui_outstr_nowrap ( s=0x81d833b "~", ' ' <repeats 79 times>, "\033|2;0M~", ' ' <repeats 79 times>, "\033|3;0M~", ' ' <repeats 27 times>..., len=80, flags=0, fg=0, bg=0, back=0) at gui.c:2101 #10 0x08180420 in gui_outstr ( s=0x81d833b "~", ' ' <repeats 79 times>, "\033|2;0M~", ' ' <repeats 79 times>, "\033|3;0M~", ' ' <repeats 27 times>..., len=80) at gui.c:1753 #11 0x0818026e in gui_write ( s=0x81d833b "~", ' ' <repeats 79 times>, "\033|2;0M~", ' ' <repeats 79 times >, "\033|3;0M~", ' ' <repeats 27 times>..., len=1940) at gui.c:1653 #12 0x08171ba3 in ui_write ( s=0x81d8320 "\033|C\033|0;0M\033|38h \033|38H\r\n\033|36h~", ' ' <repeats 79 times>, "\033|2;0M~", ' ' <repeats 79 times>, "\033|3;0M~"..., len=2047) at ui.c:29 #13 0x0816e312 in out_flush () at term.c:2526 #14 0x0816e38f in out_char (c=32) at term.c:2573 #15 0x0814f613 in screen_char (off=1946, row=24, col=26) at screen.c:6089 #16 0x0814fbdb in screen_fill (start_row=1, end_row=27, start_col=0, end_col=80, c1=126, c2=32, attr=36) at screen.c:6361 #17 0x08148baa in win_draw_end (wp=0x81e11e8, c1=126, c2=32, row=1, endrow=27, hl=HLF_AT) at screen.c:1998 #18 0x081486d1 in win_update (wp=0x81e11e8) at screen.c:1829 #19 0x0814665d in update_screen (type=40) at screen.c:511 #20 0x080e0b57 in main_loop (cmdwin=0) at main.c:2173 #21 0x080e0919 in main (argc=0, argv=0xbffff218) at main.c:2046
Could you please try again with 20050809 and reopen if it's still a problem? I can't reproduce this one.
Working now.