From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82544 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Problems with SciTE 3.31 and context package Date: Fri, 17 May 2013 20:20:14 +0200 Message-ID: <519674DE.1080204@wxs.nl> References: <51966BC1.9000009@meahan.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368814858 25780 80.91.229.3 (17 May 2013 18:20:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 18:20:58 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri May 17 20:21:00 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UdPH0-0003h4-Ji for gctc-ntg-context-518@m.gmane.org; Fri, 17 May 2013 20:20:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCE48101E7; Fri, 17 May 2013 20:20:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xdJjmxKoBRfV; Fri, 17 May 2013 20:20:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 167C1101E4; Fri, 17 May 2013 20:20:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3D421101E4 for ; Fri, 17 May 2013 20:20:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zGDhRmhtyjRI for ; Fri, 17 May 2013 20:20:50 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 6BC5E101E0 for ; Fri, 17 May 2013 20:20:40 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4HIKdPf004997 for ; Fri, 17 May 2013 20:20:39 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 4079-1713362 for ; Fri, 17 May 2013 20:20:39 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <51966BC1.9000009@meahan.net> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QJB6kD90 - fe9bc00a0e7d - 20130517 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82544 Archived-At: On 5/17/2013 7:41 PM, Bill Meahan wrote: > Having a bit of a problem. I installed SciTE, scintillua and Hans' > customizations yesterday and things are not working. SciTE crashes as > soon as my context files are loaded. > > SciTE is version 3.31 (latest) > scintillua is version 3.3.0-1 (latest precompiled which has 64-bit .so > file included) > > context add-ons are from a recent beta and have file dates as late as > 28-April-2013 > > system is Linux LadyGeraldine 3.2.0-43-generic #68-Ubuntu SMP Wed May 15 > 03:33:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > > > > wwm@LadyGeraldine$ SciTE > Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt > to compare number with nil. > Lua Error: Table of folds expected from 'lexer.fold'. > Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt at least you see a message -) on windows they go into the void which makes debugging painful > to compare number with nil. > *** glibc detected *** SciTE: realloc(): invalid pointer: 0x09d9e5c0 *** that one normaly points to a c bug > Backtrace not included > > I'll try compiling from source if you think it will help. > > Ideas appreciated. Thanks you can try to comment lexer.fold = context.fold in scite-context-lexer it looks like there has been quite some changes (i might as well wait till a next version before i look into it) i replace some lua code that ships with the lexer lib; when i started with making the lexers i had so many crashes on big files that i made my own fold routine - which of course interfaces to some low lever data structures - to get it working; it also was much faster (the same for some more patched code) then, a few versions back the low level folder (c code) changed an di adapted to that (as we lack access to scite properties i cannot check versions) and now i need to check again Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________