Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754945AbZCCSXX (ORCPT ); Tue, 3 Mar 2009 13:23:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751130AbZCCSXO (ORCPT ); Tue, 3 Mar 2009 13:23:14 -0500 Received: from rcsinet13.oracle.com ([148.87.113.125]:59009 "EHLO rgminet13.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbZCCSXN (ORCPT ); Tue, 3 Mar 2009 13:23:13 -0500 Message-ID: <49AD75D4.20600@oracle.com> Date: Tue, 03 Mar 2009 10:24:20 -0800 From: Randy Dunlap Organization: Oracle Linux Engineering User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Cheng Renquan CC: Sam Ravnborg , Roman Zippel , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] [KBUILD] configuration system improvements References: <1235401804-8136-1-git-send-email-crquan@gmail.com> <49AB55B9.3050301@oracle.com> <91b13c310903022009l363497bbi380356c19caa53b3@mail.gmail.com> In-Reply-To: <91b13c310903022009l363497bbi380356c19caa53b3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Source-IP: acsmt706.oracle.com [141.146.40.84] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.49AD757D.00AF:SCFSTAT928724,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4483 Lines: 109 Cheng Renquan wrote: > On Mon, Mar 2, 2009 at 11:42 AM, Randy Dunlap wrote: >> Cheng Renquan wrote: >>> This group of patches improve the usability of kernel configuration system, >>> mainly, >>> >>> 1. add symbol's value shown accompanied in config item's help message; >>> 2. move the real plumbing functions code from mconf.c to menu.c, make them >>> be able to be shared with other configuration methods; >>> 3. add "symbol's value shown" support for gconfig/xconfig/config; >>> >>> 0001--KBUILD-add-symbol-value-to-help-find-the-real-depe.patch >>> 0002--KBUILD-add-menu_get_ext_help-function-to-display-m.patch >>> 0003--KBUILD-menuconfig-improvements.patch >>> 0004--KBUILD-make-use-of-menu_get_ext_help-in-gconfig.patch >>> 0005--KBUILD-make-use-of-menu_get_ext_help-in-qconfig.patch >>> 0006--KBUILD-make-use-of-menu_get_ext_help-in-make-conf.patch >>> >>> I found gconfig still lack of "search by symbol" support, and that would be >>> in another patch. >>> >>> Request for comments, thanks. >> Hi, >> >> I still like this idea a lot. However, with "make gconfig" I am >> seeing a segfault when I click on "Firmware Drivers" in the main menu. >> I only see this with these patches applied. >> >> Other than that, they look good to me. >> >> >> Here's the gconfig info: >> rddunlap@chimera:linux-2.6.29-rc6-git5> make ARCH=x86_64 O=xx64 gconfig & >> [1] 10722 >> rddunlap@chimera:linux-2.6.29-rc6-git5> GEN /local/linsrc/tmp/linux-2.6.29-rc6-git5/xx64/Makefile >> scripts/kconfig/gconf arch/x86/Kconfig >> make[2]: *** [gconfig] Segmentation fault >> make[1]: *** [gconfig] Error 2 >> make: *** [sub-make] Error >> >> >> and from the kernel log: >> >> gconf[10868]: segfault at 0000000000000070 rip 00000000004111b6 rsp 00007ffff67cd6f0 error 4 > > Could you tell what distribution are you using? The versions of your > glibc, gtk+2.0, and glibc? If you can correctly build other gtk+ > programs? This is on OpenSUSE 10.3 on x86_64. glibc-2.6.1-18 gtk2-2.12.0-5 I don't know that I have any other gtk+ programs. > I have developed these patches on default Fedora 10 i686, it runs > well, and today I have tested it under a latest Gentoo x86_64 desktop, > all seems run well here. Here's a backtrace from gdb. gconfig was built without -d, however. (gdb) set args arch/x86/Kconfig (gdb) run Starting program: /local/linsrc/tmp/linux-2.6.29-rc6-git5/xx64/scripts/kconfig/gconf arch/x86/Kconfig Program received signal SIGSEGV, Segmentation fault. 0x00000000004111b6 in get_symbol_str () (gdb) bt #0 0x00000000004111b6 in get_symbol_str () #1 0x0000000000408acb in on_treeview2_cursor_changed () #2 0x00002ae6c6921d2f in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0 #3 0x00002ae6c69341fd in ?? () from /usr/lib64/libgobject-2.0.so.0 #4 0x00002ae6c6935c55 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 #5 0x00002ae6c6936043 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 #6 0x00002ae6c54a1ada in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #7 0x00002ae6c54a85de in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #8 0x00002ae6c53b3bbf in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #9 0x00002ae6c6921d2f in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0 #10 0x00002ae6c69345f6 in ?? () from /usr/lib64/libgobject-2.0.so.0 #11 0x00002ae6c6935989 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 #12 0x00002ae6c6936043 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 #13 0x00002ae6c54baff5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 #14 0x00002ae6c53acef2 in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0 #15 0x00002ae6c53ade95 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0 #16 0x00002ae6c5bb67bc in ?? () from /usr/lib64/libgdk-x11-2.0.so.0 #17 0x00002ae6c6f92064 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #18 0x00002ae6c6f9535d in ?? () from /usr/lib64/libglib-2.0.so.0 #19 0x00002ae6c6f95657 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0 #20 0x00002ae6c53ae263 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0 #21 0x000000000040a7c5 in main () (gdb) quit -- ~Randy [would be nice to have some kconfig debugging options] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/