From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.emacs.bugs Subject: bug#18138: rev. 117587 causes emacs segfault when auto-complete tests are run Date: Tue, 29 Jul 2014 10:42:43 +0900 Message-ID: <20140729014243.GA1225@smoon> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="y0ulUmNC+osPPQO6" X-Trace: ger.gmane.org 1406598266 19043 80.91.229.3 (29 Jul 2014 01:44:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2014 01:44:26 +0000 (UTC) To: 18138@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 29 03:44:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XBwSf-0005mN-Hv for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jul 2014 03:44:17 +0200 Original-Received: from localhost ([::1]:43118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBwSf-0007fr-7G for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 21:44:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBwSW-0007eq-5e for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 21:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBwSQ-0003jR-Jp for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 21:44:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBwSQ-0003jN-GO for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 21:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XBwSQ-0006dt-36 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 21:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vladimir Lomov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Jul 2014 01:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18138 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140659819425457 (code B ref -1); Tue, 29 Jul 2014 01:44:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jul 2014 01:43:14 +0000 Original-Received: from localhost ([127.0.0.1]:41481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBwRd-0006cW-HU for submit@debbugs.gnu.org; Mon, 28 Jul 2014 21:43:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55359) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBwRa-0006cI-Mq for submit@debbugs.gnu.org; Mon, 28 Jul 2014 21:43:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBwRP-0003fN-Qm for submit@debbugs.gnu.org; Mon, 28 Jul 2014 21:43:05 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBwRP-0003fJ-NC for submit@debbugs.gnu.org; Mon, 28 Jul 2014 21:42:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBwRK-0007az-5N for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 21:42:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBwRE-0003f6-Jj for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 21:42:54 -0400 Original-Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:33277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBwRE-0003eu-6f for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 21:42:48 -0400 Original-Received: by mail-la0-f53.google.com with SMTP id gl10so5943094lab.40 for ; Mon, 28 Jul 2014 18:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=a1OMuB7lzghGgpnLLo3eyfXVPD8Q16bZNWWVQ9zWv84=; b=tpT8MLi9/P+7WJw1BE6L+U0vQu7+562lcOlmxmDy8vdN9uzl1yq8athI7Xs1xk8UAd RpkUkl0lcrGRDAF3MqGnU4cLxI7AXe5tNqydoI6SluugfwYSCgaBKeh+NhiPYmKCGlZl D2hZuIOOzMWrojMnd96jUaN6tJ+5skvwRsZvRRmUaIHqkoioIv7GIZ8s2b5VSyBBzrgo WLSFrm8yaXUwirzxIDOCkd4B+gSm0Yn2ocIdAhgW2p3S+XE+YA4Zl1AE3IdJoCOXwVA0 DXSDsvTuMOBbSU0Iu/Q7D9PkwjLTbTC3Zlhl6Xz4rA6JrMrC6O1qMGNxl5zAGolb91eM HGVw== X-Received: by 10.152.44.230 with SMTP id h6mr38627370lam.51.1406598166807; Mon, 28 Jul 2014 18:42:46 -0700 (PDT) Original-Received: from smoon ([31.47.166.98]) by mx.google.com with ESMTPSA id ok1sm33349625lbc.18.2014.07.28.18.42.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jul 2014 18:42:45 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91910 Archived-At: --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, this is another problem with rev. 117587. Starting from this revision (including rev. 117605) emacs compiled with X support segfaults when I run auto-complete[1] tests. Revision 117586 with X support and emacs of revision 117605 compiled without X support work fine. I attached output of gdb for all three cases. Some information about my system: OS: Archlinux x86_64 Compiler: gcc (GCC) 4.9.1 gtk3: 3.12.2 xorg-server: 1.16.0 intel-video: 2.99.914 tmux: 1.9a_122_gf8481f9 rxvt-unicode: 9.20 Configuration options with X support: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-x-toolkit=gtk3 --with-xft --with-libotf --with-dbus --with-gsettings --without-sound Configuration options without X support: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-dbus --without-x --with-gsettings --without-sound [1] https://github.com/auto-complete/auto-complete --- WBR, Vladimir Lomov -- The meek shall inherit the earth; the rest of us will go to the stars. --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="emacs-nox-ac-117605-test.txt" Starting program: /home/vladimir/tmp/emacs-nox/pkg/emacs-nox-bzr/usr/bin/emacs -batch -Q -L . -L /usr/share/emacs/site-lisp -l tests/run-test.el -f ert-run-tests-batch-and-exit warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff37f7700 (LWP 7998)] [Thread 0x7ffff37f7700 (LWP 7998) exited] [Inferior 1 (process 7994) exited normally] --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="emacs-x-ac-117586-test.txt" Starting program: /home/vladimir/tmp/emacs/pkg/emacs-bzr/usr/bin/emacs -batch -Q -L . -L /usr/share/emacs/site-lisp -l tests/run-test.el -f ert-run-tests-batch-and-exit warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe88b1700 (LWP 2219)] [Thread 0x7ffff7f99980 (LWP 2215) exited] [Inferior 1 (process 2215) exited normally] --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="emacs-x-ac-117605-test.txt" Starting program: /home/vladimir/tmp/emacs/pkg/emacs-bzr/usr/bin/emacs -batch -Q -L . -L /usr/share/emacs/site-lisp -l tests/run-test.el -f ert-run-tests-batch-and-exit warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe88b1700 (LWP 27189)] Program received signal SIGSEGV, Segmentation fault. 0x0000000000424bce in adjust_frame_size (f=0xc98af8, new_width=-1, new_height=-1, inhibit=1, pretend=false) at frame.c:487 487 if (FRAME_X_WINDOW (f) #0 0x0000000000424bce in adjust_frame_size (f=0xc98af8, new_width=-1, new_height=-1, inhibit=1, pretend=false) at frame.c:487 #1 0x00000000004a0907 in Fset_window_configuration (configuration=20057669) at window.c:6371 #2 0x00000000005d72ca in Ffuncall (nargs=2, args=0x7fffffff8b68) at eval.c:2808 #3 0x0000000000617a9a in exec_byte_code (bytestr=13821457, vector=20057813, maxdepth=8, args_template=0, nargs=0, args=0x7fffffff9038) at bytecode.c:918 #4 0x00000000005d79c7 in funcall_lambda (fun=20057837, nargs=0, arg_vector=0x7fffffff9038) at eval.c:2976 #5 0x00000000005d74bc in Ffuncall (nargs=1, args=0x7fffffff9030) at eval.c:2857 #6 0x00000000005d5d4c in eval_sub (form=15001334) at eval.c:2150 #7 0x00000000005d26bb in Fprogn (body=15001350) at eval.c:461 #8 0x00000000005d26f9 in unwind_body (body=15001350) at eval.c:475 #9 0x00000000005d8348 in unbind_to (count=60, value=13127538) at eval.c:3299 #10 0x0000000000617b5a in exec_byte_code (bytestr=13820769, vector=20057261, maxdepth=36, args_template=0, nargs=0, args=0x7fffffff9788) at bytecode.c:940 #11 0x00000000005d79c7 in funcall_lambda (fun=20053885, nargs=0, arg_vector=0x7fffffff9788) at eval.c:2976 #12 0x00000000005d74bc in Ffuncall (nargs=1, args=0x7fffffff9780) at eval.c:2857 #13 0x00000000005d5d4c in eval_sub (form=15001158) at eval.c:2150 #14 0x00000000005d3994 in internal_catch (tag=21643650, func=0x5d588b , arg=15001158) at eval.c:1111 #15 0x000000000061885b in exec_byte_code (bytestr=13820385, vector=18438933, maxdepth=36, args_template=1028, nargs=1, args=0x7fffffff9e60) at bytecode.c:1099 #16 0x00000000005d79c7 in funcall_lambda (fun=18435653, nargs=1, arg_vector=0x7fffffff9e58) at eval.c:2976 #17 0x00000000005d74bc in Ffuncall (nargs=2, args=0x7fffffff9e50) at eval.c:2857 #18 0x0000000000617a9a in exec_byte_code (bytestr=13822849, vector=20053237, maxdepth=52, args_template=0, nargs=0, args=0x7fffffffa358) at bytecode.c:918 #19 0x00000000005d79c7 in funcall_lambda (fun=20053477, nargs=0, arg_vector=0x7fffffffa358) at eval.c:2976 #20 0x00000000005d74bc in Ffuncall (nargs=1, args=0x7fffffffa350) at eval.c:2857 #21 0x00000000005d5d4c in eval_sub (form=15000998) at eval.c:2150 #22 0x00000000005d3994 in internal_catch (tag=13807090, func=0x5d588b , arg=15000998) at eval.c:1111 #23 0x000000000061885b in exec_byte_code (bytestr=13822529, vector=18439613, maxdepth=36, args_template=1028, nargs=1, args=0x7fffffffaa40) at bytecode.c:1099 #24 0x00000000005d79c7 in funcall_lambda (fun=18439757, nargs=1, arg_vector=0x7fffffffaa38) at eval.c:2976 #25 0x00000000005d74bc in Ffuncall (nargs=2, args=0x7fffffffaa30) at eval.c:2857 #26 0x0000000000617a9a in exec_byte_code (bytestr=13905921, vector=18734997, maxdepth=60, args_template=3084, nargs=3, args=0x7fffffffaf90) at bytecode.c:918 #27 0x00000000005d79c7 in funcall_lambda (fun=18731685, nargs=3, arg_vector=0x7fffffffaf78) at eval.c:2976 #28 0x00000000005d74bc in Ffuncall (nargs=4, args=0x7fffffffaf70) at eval.c:2857 #29 0x0000000000617a9a in exec_byte_code (bytestr=13915473, vector=18735325, maxdepth=56, args_template=2056, nargs=2, args=0x7fffffffb488) at bytecode.c:918 #30 0x00000000005d79c7 in funcall_lambda (fun=18731781, nargs=2, arg_vector=0x7fffffffb478) at eval.c:2976 #31 0x00000000005d74bc in Ffuncall (nargs=3, args=0x7fffffffb470) at eval.c:2857 #32 0x0000000000617a9a in exec_byte_code (bytestr=13920113, vector=18744093, maxdepth=16, args_template=1024, nargs=1, args=0x7fffffffb960) at bytecode.c:918 #33 0x00000000005d79c7 in funcall_lambda (fun=18744125, nargs=1, arg_vector=0x7fffffffb958) at eval.c:2976 #34 0x00000000005d74bc in Ffuncall (nargs=2, args=0x7fffffffb950) at eval.c:2857 #35 0x0000000000617a9a in exec_byte_code (bytestr=13924753, vector=18739837, maxdepth=20, args_template=1024, nargs=0, args=0x7fffffffbdb0) at bytecode.c:918 #36 0x00000000005d79c7 in funcall_lambda (fun=18739901, nargs=0, arg_vector=0x7fffffffbdb0) at eval.c:2976 #37 0x00000000005d77bd in apply_lambda (fun=18739901, args=13127538) at eval.c:2917 #38 0x00000000005d6085 in eval_sub (form=14973350) at eval.c:2223 #39 0x00000000005d25cb in Fif (args=14973334) at eval.c:412 #40 0x00000000005d5b77 in eval_sub (form=14973318) at eval.c:2126 #41 0x00000000006002f3 in readevalloop_eager_expand_eval (val=14973318, macroexpand=13452658) at lread.c:1784 #42 0x0000000000600969 in readevalloop (readcharfun=21583749, stream=0x0, sourcename=21600033, printflag=false, unibyte=13127538, readfun=13127538, start=13127538, end=13127538) at lread.c:1956 #43 0x0000000000600c4b in Feval_buffer (buffer=21583749, printflag=13127538, filename=21582721, unibyte=13127538, do_allow_print=13127586) at lread.c:2019 #44 0x00000000005d7391 in Ffuncall (nargs=6, args=0x7fffffffc368) at eval.c:2824 #45 0x0000000000617a9a in exec_byte_code (bytestr=9485633, vector=9485669, maxdepth=24, args_template=13127538, nargs=0, args=0x0) at bytecode.c:918 #46 0x00000000005d7cbb in funcall_lambda (fun=9485509, nargs=4, arg_vector=0xc84f72) at eval.c:3042 #47 0x00000000005d74bc in Ffuncall (nargs=5, args=0x7fffffffc880) at eval.c:2857 #48 0x00000000005d6d8f in call4 (fn=16495522, arg1=21582721, arg2=21582721, arg3=13127538, arg4=13127586) at eval.c:2656 #49 0x00000000005ff33b in Fload (file=21582193, noerror=13127538, nomessage=13127586, nosuffix=13127538, must_suffix=13127538) at lread.c:1305 #50 0x00000000005d7391 in Ffuncall (nargs=4, args=0x7fffffffcc98) at eval.c:2824 #51 0x0000000000617a9a in exec_byte_code (bytestr=9895145, vector=9895181, maxdepth=92, args_template=1028, nargs=1, args=0x7fffffffd198) at bytecode.c:918 #52 0x00000000005d79c7 in funcall_lambda (fun=9895101, nargs=1, arg_vector=0x7fffffffd190) at eval.c:2976 #53 0x00000000005d74bc in Ffuncall (nargs=2, args=0x7fffffffd188) at eval.c:2857 #54 0x0000000000617a9a in exec_byte_code (bytestr=9869529, vector=9869565, maxdepth=68, args_template=0, nargs=0, args=0x7fffffffd6d8) at bytecode.c:918 #55 0x00000000005d79c7 in funcall_lambda (fun=9869485, nargs=0, arg_vector=0x7fffffffd6d8) at eval.c:2976 #56 0x00000000005d74bc in Ffuncall (nargs=1, args=0x7fffffffd6d0) at eval.c:2857 #57 0x0000000000617a9a in exec_byte_code (bytestr=9866081, vector=9866117, maxdepth=48, args_template=0, nargs=0, args=0x7fffffffdb70) at bytecode.c:918 #58 0x00000000005d79c7 in funcall_lambda (fun=9866037, nargs=0, arg_vector=0x7fffffffdb70) at eval.c:2976 #59 0x00000000005d77bd in apply_lambda (fun=9866037, args=13127538) at eval.c:2917 #60 0x00000000005d6085 in eval_sub (form=16628022) at eval.c:2223 #61 0x00000000005d56d2 in Feval (form=16628022, lexical=13127538) at eval.c:1996 #62 0x0000000000544df1 in top_level_2 () at keyboard.c:1178 #63 0x00000000005d41a3 in internal_condition_case (bfun=0x544dd4 , handlers=13178930, hfun=0x544963 ) at eval.c:1347 #64 0x0000000000544e2b in top_level_1 (ignore=13127538) at keyboard.c:1186 #65 0x00000000005d3994 in internal_catch (tag=13174898, func=0x544df3 , arg=13127538) at eval.c:1111 #66 0x0000000000544d4a in command_loop () at keyboard.c:1147 #67 0x000000000054455b in recursive_edit_1 () at keyboard.c:769 #68 0x00000000005446cb in Frecursive_edit () at keyboard.c:840 #69 0x000000000054268e in main (argc=11, argv=0x7fffffffe0c8) at emacs.c:1650 A debugging session is active. Inferior 1 [process 27185] will be killed. Quit anyway? (y or n) --y0ulUmNC+osPPQO6--