From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: pure-fns in byte-opt.el Date: Fri, 28 Jul 2017 21:24:07 -0400 Message-ID: <20170729012407.GA6581@holos.localdomain> References: <20170725020650.GA12601@holos.localdomain> <20170726010000.GA14292@holos.localdomain> <83o9s75kus.fsf@gnu.org> <20170727023608.GA1895@holos.localdomain> <83y3r94xo5.fsf@gnu.org> <20170728002448.GA2431@holos.localdomain> <83mv7p3uy5.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1501291496 7180 195.159.176.226 (29 Jul 2017 01:24:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Jul 2017 01:24:56 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 29 03:24:47 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbGUm-0001II-Eu for ged-emacs-devel@m.gmane.org; Sat, 29 Jul 2017 03:24:44 +0200 Original-Received: from localhost ([::1]:50780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbGUs-0007ZD-3A for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2017 21:24:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbGUJ-0007S6-BO for emacs-devel@gnu.org; Fri, 28 Jul 2017 21:24:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbGUG-0006ET-3l for emacs-devel@gnu.org; Fri, 28 Jul 2017 21:24:15 -0400 Original-Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:36944) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbGUF-0006Cw-UF for emacs-devel@gnu.org; Fri, 28 Jul 2017 21:24:12 -0400 Original-Received: by mail-qt0-x229.google.com with SMTP id 16so47619691qtz.4 for ; Fri, 28 Jul 2017 18:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Q4Y+zVesiTWM7gZj7SR9TTTPO/QiABCYNSbAJD/yls4=; b=dgHK4ThTPHuS16IxGFHOC0IJrbkMlOyaT1cOmxu539MdzDYh+EzcK60lP8SyXhlMpo PEMadp+t65I//EOoeU/4rSGnvRcqGLnfLp0yFdlUgMy1FbbogkvP1VvdMbP8hVrmFSJF vIzoBmHr0t+t7yrMlnSgIvD+lMUn67cboUtiLw1Ts0JPCdkUlkNreO9Fag+g9KmAmjCW 9tMJaQMeSKf7sHgURw64Z9pRBXJ9+hAT/eVV3oNonnfJ9G2/k/PigYX9/Ewdim0phXVH XUrRQtyY8UX4Gf2Tcmw8K9+tNb9jFKUWx66qq/FaQc4Gc/Ie5tuRCG1T0Whirr3HYG6R 86iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Q4Y+zVesiTWM7gZj7SR9TTTPO/QiABCYNSbAJD/yls4=; b=LeNIqF9QyQVN1W5XyNgPqwRMO05lz0NqIrD1c+zE27zv1Oh8nnH74pLRprGyWk4oe4 SYpMW6cQ4BcLiBZytrvm0R/de5C5tlEsRCIDe8pnJ8vVY40fFS2bhbCVWz0BxhxghkY4 KY1FyTL0gcET3Y1+trawdCqs/yY24Q+otcUtQEDHVPKax60ohBKe5az8cr8u0gknF2SO KzzCDgIp+0RBtd/78TI5Mm+nNM0mr70vG9gCYlHLRHjjZZuoVrZIiMqCcK5Qz1PXHGj2 HVmPNyzHDlYSwaxYPcimkkcQhIq2fmWRnczRyil55wFFA+0MVg946Q+uaITd3KaidiTt 8QeA== X-Gm-Message-State: AIVw113pKXZufbNPK/bw9RC6DX+wwaZCCxnTV4mWk+SBnV6r4H2eVsbl 77DStHsKScTzlgau X-Received: by 10.237.59.78 with SMTP id q14mr12604400qte.143.1501291449806; Fri, 28 Jul 2017 18:24:09 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-64-125-158.bltmmd.fios.verizon.net. [173.64.125.158]) by smtp.gmail.com with ESMTPSA id t43sm16919741qth.30.2017.07.28.18.24.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Jul 2017 18:24:08 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 042C668E56; Fri, 28 Jul 2017 21:24:07 -0400 (EDT) Content-Disposition: inline In-Reply-To: <83mv7p3uy5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217115 Archived-At: On 28/07/17 at 10:02am, Eli Zaretskii wrote: >> Date: Thu, 27 Jul 2017 20:24:48 -0400 >> From: Mark Oteiza >> Cc: schwab@suse.de, emacs-devel@gnu.org >> >> #0 0x00000000005eb363 in wrong_type_argument (predicate=3DXIL(0x8550), = value=3DXIL(0x3df5914)) at data.c:154 >> #1 0x000000000065ed98 in exec_byte_code (bytestr=3DXIL(0x2d8cb34), vect= or=3DXIL(0x17aec35), maxdepth=3Dmake_number(13), args_template=3DXIL(0), na= rgs=3D0, args=3D0x0) at bytecode.c:512 >> op =3D 64 >> type =3D CATCHER >> targets =3D > >Hmm... exec_byte_code directly above wrong_type_argument is a bit >unfortunate. But let's try to see what we can: > >> #3 0x000000000060f09b in Ffuncall (nargs=3D4, args=3D0x7fffffffb688) at= eval.c:2742 >> fun =3D XIL(0x17aee65) >> original_fun =3D XIL(0x20b0da0) >> funcar =3D XIL(0xce8cc0) >> numargs =3D 3 >> val =3D make_number(897379714801469509) >> count =3D 58 > >In this frame #3, what are the values of the important variables? > > (gdb) frame 3 > (gdb) pp original_fun unidata-gen-table-word-list > (gdb) pp args[1] > (gdb) pp args[2] > (gdb) pp args[3] decomposition 5 unidata-split-decomposition > (gdb) pp funcar > (gdb) pp fun # A=15=0C@=13=0E3=0E4=0C8!=C2=89=12:=C2=83=C2=BE=00=0E5=C3=8A=3D=C2=83=C2=BE= =00 @=C3=8B=3D=C2=83W=00 A@=C3=8C=3D=C2=84l=00=0B=C3=8DY=C2=83=C2=BE=00 @=C3=8E=3D=C2=83=C2=BE=00 A@=C3=8F=3D=C2=83=C2=BE=00 @ @=C2=89=14@=13=0E3=0E4=0C8!=C2=89=12=C2=83=C2=AA=00 :=C2=83=C2=AA=00=0E8 @=3D=C2=83=C2=AA=00=0E7 A=C2=89=15=C2=82y=00=0E6=0E,B=13=0E8=C3=8B=3D=C2=83=C2=BB=00=C3=90=C2=82=C2= =BC=00=C3=91=12+=0B:=C2=83=C3=AE=00 =C2=83'=00 =0E.=C2=9E=18=0B@=0BAB=C2=89=13A=16=C2=83=C3=A2=0BC=C2=A4=C2=88=C2=82=C3=AA= =00 =1E8=C3=96=1E:=C3=88=C2=89=1E;=1E =C3=88=1E<=0E6=0E,X=C2=83=1F=01=0E1=0B=0E4=0C8I=C2=88=C2=82=C3=A5=01 =C2=83,=01=0E:=0B=0E6Z @=C2=89=14@=C2=89=13=C2=83^=01=0B=C2=A8=C2=83^=01=0B=0E9X=C2=83^=01=0E3=0E4= =0C8!=C2=89=12=C2=83W=01=0E:=0B=0E6Z A=C2=89=15=C2=84=C2=98=02=0E:=0E=3D=C3=A7=C3=A8=0E:=0E=3DH=C3=A9#I=C2=88+= =0E=3DT=C2=89=16=3D=C2=82u=02*=C3=99=0E1 =C2=89=C3=95\\B=C3=A7=C3=A8=0E:=C3= =A9##=C2=88*=0E=3DT=C2=89=16=3D=C2=82S=02*=C3=9D=0E.G=C3=88\"=16-=C3=98=11= =0E.=C3=88=1C=C2=89=1E?=C2=83<=03=0E?@=C2=89=14A=C3=88=1ED=C2=89=1E?=C2=83(= =03=0E?@=16D=C3=99=0E1=0ED T#=C2=88=0E?A=C2=89=16?=C2=84=11=03*=0E- =0C@I= =C2=88 T=11=0E?A=C2=89=16?=C2=84=02=03*=C3=AA=0E1=C3=98=0E5#=C2=88=C3=AA=0E= 1=C3=AB=0E/=0E-B#=C2=88=0E1.=0C=C2=87" [slot idx val range elt tail make-ch= ar-table char-code-property-table nil -1 name CJK COMPATIBILITY 917760 VARI= ATION SELECTOR CJK\ COMPATIBILITY\ IDEOGRAPH VARIATION\ SELECTOR lsh -7 7 1= 27 ["=00=00=00=00=E9=A0=A9" "=01=14=01=12=F0=A9=96=B6" "=02=02=E9=A3=A2" "= =00=01=12=E4=AC=B3" "=00=02=E9=A4=A9" "=01=12=E9=A6=A7" "=02=E9=A7=82" "=02= =E9=A7=BE" "=02=E4=AF=8E" "=02=F0=A9=AC=B0" "=02=E9=AC=92" "=02=E9=B1=80" "= =02=E9=B3=BD" "=02=E4=B3=8E" "=02=E4=B3=AD" "=02=E9=B5=A7" "=02=F0=AA=83=8E= " "=02=E4=B3=B8" "=02=F0=AA=84=85" "=02=F0=AA=88=8E" "=02=F0=AA=8A=91" "=02= =E9=BA=BB" "=02=E4=B5=96" "=02=E9=BB=B9" "=02=E9=BB=BE" "=02=E9=BC=85" "=02= =E9=BC=8F" "=02=E9=BC=96" "=02=E9=BC=BB" "=02=F0=AA=98=80" "=02=00=E8=8F=A7= " "=00=00=00=01=12=E8=91=97" "=00=01=14=02=E8=8D=93" "=00=00=01=12=E8=8F=8A= " "=01=14=02=E8=8F=8C" "=00=01=12=E8=8F=9C" "=00=02=F0=A6=B0=B6" "=01=12=F0= =A6=B5=AB" "=02=F0=A6=B3=95" "=02=E4=94=AB" "=02=E8=93=B1" "=02=E8=93=B3" "= =02=E8=94=96" "=02=F0=A7=8F=8A" "=02=E8=95=A4" "=02=F0=A6=BC=AC" "=02=E4=95= =9D" "=02=E4=95=A1" "=02=F0=A6=BE=B1" "=02=F0=A7=83=92" "=02=E4=95=AB" "=02= =E8=99=90" "=02=E8=99=9C" "=02=E8=99=A7" "=02=E8=99=A9" "=02=E8=9A=A9" "=02= =E8=9A=88" "=02=E8=9C=8E" "=02=E8=9B=A2" "=02=E8=9D=B9" "=02=E8=9C=A8" "=02= =E8=9D=AB" "=02=E8=9E=86" "=02=E4=97=97" "=02=E8=9F=A1" "=02=E8=A0=81" "=02= =E4=97=B9" "=02=E8=A1=A0" "=02=E8=A1=A3" "=02=F0=A7=99=A7" "=02=E8=A3=97" "= =02=E8=A3=9E" "=02=E4=98=B5" "=02=E8=A3=BA" "=02=E3=92=BB" "=02=F0=A7=A2=AE= " "=02=F0=A7=A5=A6" "=02=E4=9A=BE" "=02=E4=9B=87" "=02=E8=AA=A0" "=02=E8=AB= =AD" "=02=E8=AE=8A" "=02=E8=B1=95" "=02=F0=A7=B2=A8" "=02=E8=B2=AB" "=02=E8= =B3=81" "=02=E8=B4=9B" "=02=E8=B5=B7" "=02=F0=A7=BC=AF" "=02=F0=A0=A0=84" "= =02=E8=B7=8B" "=02=E8=B6=BC" "=02=E8=B7=B0" "=02=F0=A0=A3=9E" "=02=E8=BB=94= " "=02=E8=BC=B8" "=02=F0=A8=97=92" "=02=F0=A8=97=AD" "=02=E9=82=94" "=02=E9= =83=B1" "=02=E9=84=91" "=02=F0=A8=9C=AE" "=02=E9=84=9B" "=02=E9=88=B8" "=02= =E9=8B=97" "=02=E9=8B=98" "=02=E9=89=BC" "=02=E9=8F=B9" "=02=E9=90=95" "=02= =F0=A8=AF=BA" "=02=E9=96=8B" "=02=E4=A6=95" "=02=E9=96=B7" "=02=F0=A8=B5=B7= " "=02=E4=A7=A6" "=02=E9=9B=83" "=02=E5=B6=B2" "=02=E9=9C=A3" "=02=F0=A9=85= =85" "=02=F0=A9=88=9A" "=02=E4=A9=AE" "=02=E4=A9=B6" "=02=E9=9F=A0" "=02=F0= =A9=90=8A" "=02=E4=AA=B2" "=02=F0=A9=92=96" "=02=E9=A0=8B" "=00=00=00=00=01= =11"] unidata-word-list-compress 0 set-char-table-range sort #[(x y) A AV= =C2=87" [x y] 2] 3 make-vector decomposition 32 error "Too many symbols in = decomposition data" 8704 128 vectorp "=00" string mapconcat identity "" set= -char-table-extra-slot 4 block-end block-word-table block-list word-table w= ord-list table unidata-list val-func prop-idx prop start second first limit= vec c len i --dotimes-limit-- --dolist-tail-- v p v code e] 13]