From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1073 invoked by alias); 30 Jun 2013 11:50:26 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1061 invoked by uid 89); 30 Jun 2013 11:50:25 -0000 X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_05,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_PASS,TW_NV,TW_VK,TW_VP autolearn=ham version=3.3.1 Received: from mailout.ish.de (HELO mail01.ish.de) (80.69.98.247) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sun, 30 Jun 2013 11:50:23 +0000 Received: from [62.143.119.87] (account helmut.karlowski@ish.de HELO nebbiolo.upc.de) by ish.de (CommuniGate Pro SMTP 6.0.4) with ESMTPSA id 769123486 for cygwin@cygwin.com; Sun, 30 Jun 2013 13:50:20 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: cygwin@cygwin.com Subject: Re: texlive-install: core dumped References: <51CEC839.507@cornell.edu> <51CEE558.6070104@cornell.edu> <51CF2925.2060804@cornell.edu> <51CF63C4.4070001@cornell.edu> <51CF9918.5020602@cornell.edu> Date: Sun, 30 Jun 2013 14:36:00 -0000 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Helmut Karlowski" Message-ID: In-Reply-To: <51CF9918.5020602@cornell.edu> User-Agent: Opera Mail/12.14 (Win32) X-SW-Source: 2013-06/txt/msg00755.txt.bz2 Ken Brown, 30.06.2013 04:34:00: >> it later. Is there a database of all styles, fonts etc. for all >> texlive-packages? > > Does http://cygwin.com/packages/ give you what you're looking for? Or > maybe you want texlive.tlpdb, available at > > http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg Not very comfortable, but better than nothing :) > If you want to try debugging this with gdb, the texlive-debuginfo > package contains the files you need. Thanks! Found the bug: In texk/web2c/luatexdir/lua/loslibext.c:649 In 632 static void find_env(lua_State * L) 633 { 634 char *envitem, *envitem_orig; (gdb) 635 char *envkey; 636 char **envpointer; 637 envpointer = environ; 638 lua_getglobal(L, "os"); 639 if (envpointer != NULL && lua_istable(L, -1)) { 640 luaL_checkstack(L, 2, "out of stack space"); 641 lua_pushstring(L, "env"); 642 lua_newtable(L); 643 while (*envpointer) { 644 /* TODO: perhaps a memory leak here */ (gdb) 645 luaL_checkstack(L, 2, "out of stack space"); 646 envitem = xstrdup(*envpointer); 647 envitem_orig = envitem; 648 envkey = envitem; 649 while (*envitem != '=') { 650 envitem++; 651 } 652 *envitem = 0; 653 envitem++; 654 lua_pushstring(L, envkey); (gdb) 655 lua_pushstring(L, envitem); 656 lua_rawset(L, -3); 657 envpointer++; 658 free(envitem_orig); 659 } 660 lua_rawset(L, -3); 661 } 662 lua_pop(L, 1); 663 } It crashes in line 649, because my shell put an item without '=' in the environment, and there is no 0-check in find_env(), which appears to be a good thing. Fixed. -- Helmut Karlowski -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple