From owner-freebsd-gnome@FreeBSD.ORG Wed Aug 17 12:23:06 2005 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D55316A41F; Wed, 17 Aug 2005 12:23:06 +0000 (GMT) (envelope-from huang@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29B5A43D45; Wed, 17 Aug 2005 12:23:03 +0000 (GMT) (envelope-from huang@gddsn.org.cn) Received: from [192.168.1.5] (unknown [218.19.181.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id B341A38CB65; Wed, 17 Aug 2005 19:51:14 +0800 (CST) Message-ID: <430324AF.7030409@gddsn.org.cn> Date: Wed, 17 Aug 2005 19:51:11 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050812) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Marcus Clarke , tjr@freebsd.org, gnome@freebsd.org References: <4301BAC2.9060405@gddsn.org.cn> <4301C497.3060803@gddsn.org.cn> <1124256462.34208.25.camel@shumai.marcuscom.com> In-Reply-To: <1124256462.34208.25.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Cc: Subject: Re: regex2.h rev 1.9 seem to broken gnome-terminal X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2005 12:23:06 -0000 Joe Marcus Clarke wrote: >On Tue, 2005-08-16 at 18:48 +0800, Huang wen hui wrote: > > >>Huang wen hui wrote: >> >> >> >>>hi, >>>This way can trig this bug under CURRENT: >>>ssh to another host in gnome-terminal, move mouse to terminal window, >>>then gnome-terminal crash. >>>Revert to rev 1.8 help that. >>> >>>--hwh >>> >>> >>> >>> >>forget to say, I am use zh_CN.UTF-8 locale. >> >> > >Can you provide a backtrace with debugging symbols? Thanks. > >Joe > > > %gdb gnome-terminal GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... (gdb) run Starting program: /usr/X11R6/bin/gnome-terminal warning: Unable to get location for thread creation breakpoint: generic error [New LWP 100115] [New Thread 0x8094000 (LWP 100115)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x8094000 (LWP 100144)] 0x288187cc in mslow (m=0xbfbfd4a0, start=0x0, stop=0x839c0b7 "/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along with the mailing lists, can "..., startst=59, stopst=111) at engine.c:911 911 c = (uch)*(start - 1); (gdb) where #0 0x288187cc in mslow (m=0xbfbfd4a0, start=0x0, stop=0x839c0b7 "/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along with the mailing lists, can "..., startst=59, stopst=111) at engine.c:911 #1 0x28817813 in mdissect (m=0xbfbfd4a0, start=0x839c098 "http://www.FreeBSD.org/releases/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n alo"..., stop=0x839c0b7 "/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along with the mailing lists, can "..., startst=1, stopst=111) at engine.c:499 #2 0x288170f1 in mmatcher (g=0x8294700, string=0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"..., nmatch=256, pmatch=0x846b000, eflags=0) at engine.c:294 #3 0x2881914d in regexec (preg=0x8297750, string=0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"..., nmatch=256, pmatch=0x846b000, eflags=0) at /usr/src/lib/libc/regex/regexec.c:239 #4 0x284fe9b7 in _vte_regex_exec (regex=0x8297750, string=0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"..., nmatch=256, matches=0xbfbfd630) at vteregex.c:252 #5 0x284d3365 in vte_terminal_match_check_internal (terminal=0x813e800, column=65, row=20, tag=0x0, start=0xbfbfdeb0, end=0xbfbfdeac) at vte.c:1674 #6 0x284e156c in vte_terminal_match_hilite (terminal=0x813e800, x=658, y=225) at vte.c:9185 #7 0x284e3fd1 in vte_terminal_motion_notify (widget=0x813e800, event=0x83ba018) at vte.c:10307 #8 0x281eec66 in _gtk_marshal_BOOLEAN__BOXED (closure=0x8118850, return_value=0xbfbfe0f0, n_param_values=2, param_values=0xbfbfe2c0, invocation_hint=0xbfbfe128, marshal_data=0x284e3d5c) at gtkmarshalers.c:83 #9 0x2896acf9 in g_type_class_meta_marshal (closure=0x8118850, return_value=0xbfbfe0f0, n_param_values=2, param_values=0xbfbfe2c0, invocation_hint=0xbfbfe128, marshal_data=0xbc) at gclosure.c:514 #10 0x2896aaa0 in IA__g_closure_invoke (closure=0x8118850, return_value=0xbfbfe0f0, n_param_values=2, param_values=0xbfbfe2c0, invocation_hint=0xbfbfe128) at gclosure.c:437 #11 0x2897fe54 in signal_emit_unlocked_R (node=0x8119240, detail=0, instance=0x813e800, emission_return=0xbfbfe240, instance_and_params=0xbfbfe2c0) at gsignal.c:2526 #12 0x2897eea7 in IA__g_signal_emit_valist (instance=0x813e800, signal_id=52, detail=0, var_args=0xbfbfe450 "\200s\034A=(\210s0(") at gsignal.c:2257 #13 0x2897f159 in IA__g_signal_emit (instance=0x813e800, signal_id=52, detail=0) at gsignal.c:2291 #14 0x28303904 in gtk_widget_event_internal (widget=0x813e800, event=0x83ba018) at gtkwidget.c:3631 #15 0x2830348e in IA__gtk_widget_event (widget=0x813e800, event=0x83ba018) at gtkwidget.c:3437 #16 0x281ed34a in IA__gtk_propagate_event (widget=0x813e800, event=0x83ba018) at gtkmain.c:2191 #17 0x281ebf49 in IA__gtk_main_do_event (event=0x83ba018) at gtkmain.c:1429 #18 0x2891c71d in gdk_event_dispatch (source=0x80cd080, callback=0, user_data=0x0) at gdkevents-x11.c:2259 #19 0x28a30a50 in g_main_dispatch (context=0x80cb880) at gmain.c:1934 #20 0x28a31e2d in IA__g_main_context_dispatch (context=0x80cb880) at gmain.c:2484 #21 0x28a3234a in g_main_context_iterate (context=0x80cb880, block=1, dispatch=1, self=0x80c85c0) at gmain.c:2565 #22 0x28a32b08 in IA__g_main_loop_run (loop=0x80ca520) at gmain.c:2769 #23 0x281eb5f2 in IA__gtk_main () at gtkmain.c:1009 #24 0x0805e0d4 in main () (gdb) bt full #0 0x288187cc in mslow (m=0xbfbfd4a0, start=0x0, stop=0x839c0b7 "/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along with the mailing lists, can "..., startst=59, stopst=111) at engine.c:911 st = 0x8468400 "" empty = 0x8468550 "" tmp = 0x84684e0 "" p = 0x0 c = -136 lastc = 116 flagch = 0 i = 0 matchp = 0x0 clen = 1 #1 0x28817813 in mdissect (m=0xbfbfd4a0, start=0x839c098 "http://www.FreeBSD.org/releases/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n alo"..., stop=0x839c0b7 "/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along with the mailing lists, can "..., startst=1, stopst=111) at engine.c:499 i = 2 ss = 4 es = 59 sp = 0x839c098 "http://www.FreeBSD.org/releases/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n alo"... stp = 0x839c09b "p://www.FreeBSD.org/releases/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along "... rest = 0x0 tail = 0x839c0ae "/releases/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along with the mailing li"... ssub = 0 esub = 138002615 ssp = 0x1 sep = 0x839c0a3 "FreeBSD.org/releases/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along with the"... oldssp = 0x280ab600 "zP001" dp = 0x280ab500 "zP001" #2 0x288170f1 in mmatcher (g=0x8294700, string=0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"..., nmatch=256, pmatch=0x846b000, eflags=0) at engine.c:294 endp = 0x839c0b7 "/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along with the mailing lists, can "... i = 7 mv = {g = 0x8294700, eflags = 0, pmatch = 0x83bb780, offp = 0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"..., beginp = 0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"..., endp = 0x839c4d8 "", coldp = 0x839c098 "http://www.FreeBSD.org/releases/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n alo"..., lastpos = 0x0, vn = 4, space = 0x8468400 "", st = 0x8468400 "", fresh = 0x8468470 "", tmp = 0x84684e0 "", empty = 0x8468550 "", mbs = {__mbstate8 = '\0' , _mbstateL = 0}} m = (struct mmat *) 0xbfbfd4a0 dp = 0x839c09c "://www.FreeBSD.org/releases/ - always consult the ERRATA section\n for your release first as it's updated frequently.\n\no The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,\n along w"... gf = 1 gl = 111 start = 0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"... stop = 0x839c4d8 "" pp = 0x8094000 "@(\025\233b\b" cj = 679159716 mj = 1 mustfirst = 0x0 mustlast = 0x8094048 "L\024\b" matchjump = (int *) 0x808c100 charjump = (int *) 0x287b0089 #3 0x2881914d in regexec (preg=0x8297750, string=0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"..., nmatch=256, pmatch=0x846b000, eflags=0) at /usr/src/lib/libc/regex/regexec.c:239 g = (struct re_guts *) 0x8294700 #4 0x284fe9b7 in _vte_regex_exec (regex=0x8297750, string=0x839c000 "Before seeking technical support, please use the following resources:\n\no Security advisories and updated errata information for all releases are\n at http://www.FreeBSD.org/releases/ - always consul"..., nmatch=256, matches=0xbfbfd630) at vteregex.c:252 posix_matches = (regmatch_t *) 0x846b000 i = 135557120 ret = 135041208