*** glibc detected *** double free or corruption (!prev): 0x
*** glibc detected *** double free or corruption (!prev): 0x
Hi Lutz,
Running newlisp 8.7.5 slackware 10.2 on 32 BITS !! ;-)
(compiled with ncurses and readline)
I got the following error (running my rss-ticker2.lsp, not on my page) ->
*** glibc detected *** double free or corruption (!prev): 0x08099300 ***
Aborted
$
Here is the ldd output of newlisp ->
$ldd /usr/bin/newlisp
libm.so.6 => /lib/libm.so.6 (0x4002d000)
libdl.so.2 => /lib/libdl.so.2 (0x40051000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x40055000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40081000)
libc.so.6 => /lib/libc.so.6 (0x400c0000)
/lib/ld-linux.so.2 (0x40000000)
libgpm.so.1 => /lib/libgpm.so.1 (0x401d9000)
Any idea what that could be ?
PS: See the AMD64 posting, there I had the problem too...
Regards, Norman.
Running newlisp 8.7.5 slackware 10.2 on 32 BITS !! ;-)
(compiled with ncurses and readline)
I got the following error (running my rss-ticker2.lsp, not on my page) ->
*** glibc detected *** double free or corruption (!prev): 0x08099300 ***
Aborted
$
Here is the ldd output of newlisp ->
$ldd /usr/bin/newlisp
libm.so.6 => /lib/libm.so.6 (0x4002d000)
libdl.so.2 => /lib/libdl.so.2 (0x40051000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x40055000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40081000)
libc.so.6 => /lib/libc.so.6 (0x400c0000)
/lib/ld-linux.so.2 (0x40000000)
libgpm.so.1 => /lib/libgpm.so.1 (0x401d9000)
Any idea what that could be ?
PS: See the AMD64 posting, there I had the problem too...
Regards, Norman.
-- (define? (Cornflakes))
Here is the code: It happes thus once every??? xx days?? I dunnoo ;-)
--- code ---
#!/usr/bin/newlisp
;;
;; RSS Ticker v1.0 (c) Norman 2004
;;
;; Displays RSS Feed titels in your terminal screen
;; by using tput codes.
;;
;; Linux terminal version with ANSI and tput required
;;
;;
;; Usage: "rss-ticker &"
;;
;;
;; enjoy... Norman 2004
;;
(set 'uri '(
"http://nodep.nl/index.html"
"http://www.rebol.net/blog/carl-rss.xml"
"http://www.alh.net/newlisp/phpbb/rss.php"
"http://lambda-the-ultimate.org/node/feed"
"http://nu.nl/deeplink_rss2/index.jsp?r=Internet"
"http://www.planet.nl/rss/pmm.xml"
"http://www.wi-fiplanet.com/icom_include ... ews-10.xml"
"http://www.internetnews.com/icom_includ ... ont-10.xml"
"http://www.trouw.nl/rss/"
))
(define red "\027[0;31m")
(define green "\027[0;32m")
(define yellow "\027[0;33m")
(define blue "\027[0;34m")
(define magenta "\027[0;35m")
(define cyan "\027[0;36m")
(define white "\027[0;37m")
(define default "\027[0;0m" )
(define (cls) (println "\027[H\027[2J"))
(until (net-error)
(dolist (u uri)
(set 'url u )
;;
;; DE-XML
;;
(xml-type-tags nil 'cdata '!-- nil)
(set 'url (get-url url 120000))
(set 'url (xml-parse url (+ 1 2 8 16)))
(if url
(begin
;;
;; strippp <!-- comments from top...
;;
(until (= (first (nth 0 url)) 'rss ) (pop url))
(set 'rsschannel (nth 2 (nth 0 url)))
(set 'rsschannellen (length rsschannel))
;;
;; Seeking for ITEMS in CHANNEL
;;
(cls)
(println "\n" white (dup "*" 120 ))
(println blue "** " green "RSS -> " red (upper-case u) green " <- RSS")
(println white (dup "*" 120 ))
(dotimes (y rsschannellen)
(if (list? (nth y rsschannel))
(if (= (nth 0 (nth y rsschannel)) 'item )
(begin
(sleep 200)
(println blue "** [ " white (lookup 'title rsschannel) blue " ] ** " yellow (lookup 'title (nth y rsschannel)) default )
))))
(println white (dup "*" 120 ))
(sleep 30000)
)
;; error reading url
(begin
(cls)
(println "\n" white (dup "*" 120 ))
(println red "** " white "ERR -> " red (upper-case u) white " <- ERR")
(println white (dup "*" 120 ))
(sleep 2000)
)
))
)
(println default)
(exit)
--- code ---
#!/usr/bin/newlisp
;;
;; RSS Ticker v1.0 (c) Norman 2004
;;
;; Displays RSS Feed titels in your terminal screen
;; by using tput codes.
;;
;; Linux terminal version with ANSI and tput required
;;
;;
;; Usage: "rss-ticker &"
;;
;;
;; enjoy... Norman 2004
;;
(set 'uri '(
"http://nodep.nl/index.html"
"http://www.rebol.net/blog/carl-rss.xml"
"http://www.alh.net/newlisp/phpbb/rss.php"
"http://lambda-the-ultimate.org/node/feed"
"http://nu.nl/deeplink_rss2/index.jsp?r=Internet"
"http://www.planet.nl/rss/pmm.xml"
"http://www.wi-fiplanet.com/icom_include ... ews-10.xml"
"http://www.internetnews.com/icom_includ ... ont-10.xml"
"http://www.trouw.nl/rss/"
))
(define red "\027[0;31m")
(define green "\027[0;32m")
(define yellow "\027[0;33m")
(define blue "\027[0;34m")
(define magenta "\027[0;35m")
(define cyan "\027[0;36m")
(define white "\027[0;37m")
(define default "\027[0;0m" )
(define (cls) (println "\027[H\027[2J"))
(until (net-error)
(dolist (u uri)
(set 'url u )
;;
;; DE-XML
;;
(xml-type-tags nil 'cdata '!-- nil)
(set 'url (get-url url 120000))
(set 'url (xml-parse url (+ 1 2 8 16)))
(if url
(begin
;;
;; strippp <!-- comments from top...
;;
(until (= (first (nth 0 url)) 'rss ) (pop url))
(set 'rsschannel (nth 2 (nth 0 url)))
(set 'rsschannellen (length rsschannel))
;;
;; Seeking for ITEMS in CHANNEL
;;
(cls)
(println "\n" white (dup "*" 120 ))
(println blue "** " green "RSS -> " red (upper-case u) green " <- RSS")
(println white (dup "*" 120 ))
(dotimes (y rsschannellen)
(if (list? (nth y rsschannel))
(if (= (nth 0 (nth y rsschannel)) 'item )
(begin
(sleep 200)
(println blue "** [ " white (lookup 'title rsschannel) blue " ] ** " yellow (lookup 'title (nth y rsschannel)) default )
))))
(println white (dup "*" 120 ))
(sleep 30000)
)
;; error reading url
(begin
(cls)
(println "\n" white (dup "*" 120 ))
(println red "** " white "ERR -> " red (upper-case u) white " <- ERR")
(println white (dup "*" 120 ))
(sleep 2000)
)
))
)
(println default)
(exit)
-- (define? (Cornflakes))
I think I found it !!
> (setq data (get-url "http://www.trouw.nl/rss/"))
*** glibc detected *** double free or corruption (!prev): 0x080b1360 ***
Aborted
[nodep@zeep]~$
That webpage is in a wrong XML format but more intresing it that it contains
HIGH-ASCII characters.. Is that perhpas causing the problem? Here the out put from newlisp grabbing that page ->
[text]<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[Trouw | Voorpagina]]></title>
<link>http://www.trouw.nl/rss/</link>
<language>nl-nl</language>
<copyright>Copyright: Trouw</copyright>
<image>
<title>Trouw</title>
<url>http://www.trouw.nl/trouw.nl/images/tro ... n.gif</url>
<link>http://www.trouw.nl/</link>
</image>
<item>
<title>
<![CDATA[Schapen in de sneeuw ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/nederland ... euw+</link>
<description>
<![CDATA[De schapen met hun dikke vacht hebben geen last van de kou. Gewillig poseren ze in dit Hollandse winterlandschap
in de buurt van Kwadijk, Noord-Holland, voor de Trouw-fotograaf. Vooral in de noordelijke provincies Friesland en Groningen vielen gister
n flinke sneeuwbuien. Naar verwachting zal het vandaag in het noorden en zuidoosten van het land hier en daar nog licht sneeuwen. De temp
ratuur schommelt overal rond de nul graden Celsius.]]>
</description>
</item>
<item>
<title>
<![CDATA[Hereniging moet soepeler ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/nederland ... ler+</link>
<description>
<![CDATA[Nederland is te streng inzake gezinshereniging van immigranten. Daardoor verblijven kinderen ten onrechte in het
uitenland, terwijl ze volgens een Europese richtlijn over mogen komen.]]>
</description>
</item>
<item>
<title>
<![CDATA[Europa bouwt in de ruimte zijn eigen navigatiesysteem ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/economie/ ... em++</link>
<description>
<![CDATA[Koersende schippers en dolende automobilisten zijn straks niet meer afhankelijk van het Amerikaanse GPS-systeem.
uropa lanceert vandaag de eerste satelliet van zijn eigen navigatiesysteem. Galileo Dutch Space, leverancier van de zonnepanelen, is het e
ige Nederlandse bedrijf dat een relatief groot aandeel heeft in het project. De onderneming hoopt op meer Galileo-orders. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Vooral huwelijk zet rem op criminele loopbaan ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/nederland ... aan+</link>
<description>
<![CDATA[Gevangenisstraf is meestal niet de reden dat een crimineel zijn criminele carrière afbreekt. Veel sneller
ordt de loopbaan beëindigd als de misdadiger trouwt.]]>
</description>
</item>
<item>
<title>
<![CDATA[Duitse glorie ging naar Thailand ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/europa/ar ... and+</link>
<description>
<![CDATA[Het leven van Rita Düben is nauw verweven met de Grohe-fabriek in Herzberg. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Ramp heeft vredesregeling Sri Lanka niet dichterbij gebracht ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/wereld/ar ... cht+</link
<description>
<![CDATA[De eerste opvang van tsunami-slachtoffers is redelijk geslaagd in Sri Lanka. Maar dat is voorlopig het enige lich
punt. De wederopbouw verloopt moeizaam en de burgeroorlog dreigt opnieuw op te laaien.]]>
</description>
</item>
<item>
<title>
<![CDATA[Miljardensoap rond computertje lijkt voorlopig niet ten einde ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/economie/ ... +einde+</l
nk>
<description>
<![CDATA[Hoe vaak kun je dom zijn en je bedrijf op het spel zetten, en toch als winnaar uit de bus komen? Het antwoord kom
wellicht van de maker van de Blackberry, een gewild hebbeding voor managers.]]>
</description>
</item>
<item>
<title>
<![CDATA[Schaatsen / Uytdehaage incasseert mokerslag ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/sport/art ... lag+</link>
<description>
<![CDATA[Jochem Uytdehaage en Gianni Romme waren de prominentste slachtoffers bij de jacht op startbewijzen voor de Winter
pelen. De olympisch kampioenen van weleer faalden op de vijf kilometer. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Politiek Den Haag maakt van de missie naar Afghanistan een regelrechte klucht ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/dossie ... an+een+reg
lrechte+klucht+</link>
<description>
<![CDATA[Het is niet meer dan logisch dat zowel het kabinet als het parlement bevangen zijn door twijfel over een mogelijk
nieuwe en gevaarlijker militaire missie in Afghanistan. De vraag is immers of we in staat zijn daar een wezenlijke bijdrage te leveren aan
de opbouw van het land. Maar de vraag is ook of we met een ’nee’ de Afghanen en de Navo-bondgenoten in de steek laten; ook al
lijft het aanbod van kracht dat we bereid blijven de ’oude’ missie te continueren. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Marijnissen wil dat Bos voor hem kiest ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/overig ... est+</link>
<description>
<![CDATA[De kans is aanwezig dat links na de volgende verkiezingen voor de Tweede Kamer een absolute meerderheid verwerft.
Maar zullen PvdA, SP en GroenLinks dan echt samen gaan regeren? Jan Marijnissen (SP) vertelt waarom hij wil dat Wouter Bos (PvdA) voor hem
kiest. ]]>
</description>
</item>
<item> <title>
<![CDATA[Veertig jaar gespannen dialoog ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/religi ... oog+</link>
<description>
<![CDATA[In 1965 zocht de rooms-katholieke kerk met het document ’Nostra aetate’ voor het eerst serieuze toena
ering tot het jodendom. Dit jaar stond Rome daar uitgebreid bij stil. Hoe staat het met de grote verzoening? Twee Nederlandse deskundigen,
een joodse en een katholieke gaan in dialoog.]]>
</description>
</item>
<item>
<title>
<![CDATA[Accra-verklaring / Wij mogen onze mond niet houden ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/podium ... den+</link>
<description>
<![CDATA[Toegegeven, de Accra-verklaring die de synode van de PKN heeft overgenomen, bevat zwakke punten. Maar de kern be
elst vragen die ieder aangaan.]]>
</description>
</item>
<item>
<title>
<![CDATA[Schouten / Geronseld voor de djihad? ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/dossie ... %3F+</link>
<description>
<![CDATA[Bij binnenkomst zag ik het al liggen, gebonden maar liefst en naast de leunstoel, een teken dat het er niet allee
voor de show lag maar dat het ook gelezen werd. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Student van het jaar Murat Ersoy wil met zijn Turkse studentenvereniging de integratie bevorderen.]]>
</title>
<link>
http://www.trouw.nl/degids/gidsartikele ... e+studente
vereniging+de+integratie+bevorderen.</link>
<description>
<![CDATA[Bij de verkiezing van de student van het jaar 2005 is bewust voor een allochtone student gekozen, door webzine Sc
enceGuide samen met de landelijke studentenbonden. „Omdat de meest genoemde studenten van het jaar Samir A. en Mohammed B. zijn, en
ij iemand willen bekronen die staat voor al die duizenden allochtone studenten die zich maatschappelijk en in hun studie voluit inzetten",
aldus het webzine.]]>
</description>
</item>
<item>
<title>
<![CDATA[De Ludwig. Bij elke verhuizing stond ik weer in dubio. En dan nam ik hem maar weer mee. ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/dossie ... io.+En+dan+
am+ik+hem+maar+weer+mee.+</link>
<description>
<![CDATA[Toen ik 13 was kocht ik een drumstel. Al mijn broers, vier stuks, speelden gitaar, maar ik had er geen aanleg voo
. Voor drummen ook niet, maar het leek me leuk. Een erg praktische keuze was het niet. Je bent één van vijf kinderen, je woont in een ri
tjeshuis en je kiest als instrument de drums. Toen een van mijn gitaarspelende broers van instrument wilde veranderen en interesse voor he
slagwerk toonde, stuurden mijn ouders hem diplomatiek richting de klarinet. En kochten er meteen een demper bij.]]>
</description>
</item>
</channel>
</rss>
ñ[/text]
> (setq data (get-url "http://www.trouw.nl/rss/"))
*** glibc detected *** double free or corruption (!prev): 0x080b1360 ***
Aborted
[nodep@zeep]~$
That webpage is in a wrong XML format but more intresing it that it contains
HIGH-ASCII characters.. Is that perhpas causing the problem? Here the out put from newlisp grabbing that page ->
[text]<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[Trouw | Voorpagina]]></title>
<link>http://www.trouw.nl/rss/</link>
<language>nl-nl</language>
<copyright>Copyright: Trouw</copyright>
<image>
<title>Trouw</title>
<url>http://www.trouw.nl/trouw.nl/images/tro ... n.gif</url>
<link>http://www.trouw.nl/</link>
</image>
<item>
<title>
<![CDATA[Schapen in de sneeuw ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/nederland ... euw+</link>
<description>
<![CDATA[De schapen met hun dikke vacht hebben geen last van de kou. Gewillig poseren ze in dit Hollandse winterlandschap
in de buurt van Kwadijk, Noord-Holland, voor de Trouw-fotograaf. Vooral in de noordelijke provincies Friesland en Groningen vielen gister
n flinke sneeuwbuien. Naar verwachting zal het vandaag in het noorden en zuidoosten van het land hier en daar nog licht sneeuwen. De temp
ratuur schommelt overal rond de nul graden Celsius.]]>
</description>
</item>
<item>
<title>
<![CDATA[Hereniging moet soepeler ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/nederland ... ler+</link>
<description>
<![CDATA[Nederland is te streng inzake gezinshereniging van immigranten. Daardoor verblijven kinderen ten onrechte in het
uitenland, terwijl ze volgens een Europese richtlijn over mogen komen.]]>
</description>
</item>
<item>
<title>
<![CDATA[Europa bouwt in de ruimte zijn eigen navigatiesysteem ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/economie/ ... em++</link>
<description>
<![CDATA[Koersende schippers en dolende automobilisten zijn straks niet meer afhankelijk van het Amerikaanse GPS-systeem.
uropa lanceert vandaag de eerste satelliet van zijn eigen navigatiesysteem. Galileo Dutch Space, leverancier van de zonnepanelen, is het e
ige Nederlandse bedrijf dat een relatief groot aandeel heeft in het project. De onderneming hoopt op meer Galileo-orders. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Vooral huwelijk zet rem op criminele loopbaan ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/nederland ... aan+</link>
<description>
<![CDATA[Gevangenisstraf is meestal niet de reden dat een crimineel zijn criminele carrière afbreekt. Veel sneller
ordt de loopbaan beëindigd als de misdadiger trouwt.]]>
</description>
</item>
<item>
<title>
<![CDATA[Duitse glorie ging naar Thailand ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/europa/ar ... and+</link>
<description>
<![CDATA[Het leven van Rita Düben is nauw verweven met de Grohe-fabriek in Herzberg. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Ramp heeft vredesregeling Sri Lanka niet dichterbij gebracht ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/wereld/ar ... cht+</link
<description>
<![CDATA[De eerste opvang van tsunami-slachtoffers is redelijk geslaagd in Sri Lanka. Maar dat is voorlopig het enige lich
punt. De wederopbouw verloopt moeizaam en de burgeroorlog dreigt opnieuw op te laaien.]]>
</description>
</item>
<item>
<title>
<![CDATA[Miljardensoap rond computertje lijkt voorlopig niet ten einde ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/economie/ ... +einde+</l
nk>
<description>
<![CDATA[Hoe vaak kun je dom zijn en je bedrijf op het spel zetten, en toch als winnaar uit de bus komen? Het antwoord kom
wellicht van de maker van de Blackberry, een gewild hebbeding voor managers.]]>
</description>
</item>
<item>
<title>
<![CDATA[Schaatsen / Uytdehaage incasseert mokerslag ]]>
</title>
<link>
http://www.trouw.nl/hetnieuws/sport/art ... lag+</link>
<description>
<![CDATA[Jochem Uytdehaage en Gianni Romme waren de prominentste slachtoffers bij de jacht op startbewijzen voor de Winter
pelen. De olympisch kampioenen van weleer faalden op de vijf kilometer. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Politiek Den Haag maakt van de missie naar Afghanistan een regelrechte klucht ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/dossie ... an+een+reg
lrechte+klucht+</link>
<description>
<![CDATA[Het is niet meer dan logisch dat zowel het kabinet als het parlement bevangen zijn door twijfel over een mogelijk
nieuwe en gevaarlijker militaire missie in Afghanistan. De vraag is immers of we in staat zijn daar een wezenlijke bijdrage te leveren aan
de opbouw van het land. Maar de vraag is ook of we met een ’nee’ de Afghanen en de Navo-bondgenoten in de steek laten; ook al
lijft het aanbod van kracht dat we bereid blijven de ’oude’ missie te continueren. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Marijnissen wil dat Bos voor hem kiest ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/overig ... est+</link>
<description>
<![CDATA[De kans is aanwezig dat links na de volgende verkiezingen voor de Tweede Kamer een absolute meerderheid verwerft.
Maar zullen PvdA, SP en GroenLinks dan echt samen gaan regeren? Jan Marijnissen (SP) vertelt waarom hij wil dat Wouter Bos (PvdA) voor hem
kiest. ]]>
</description>
</item>
<item> <title>
<![CDATA[Veertig jaar gespannen dialoog ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/religi ... oog+</link>
<description>
<![CDATA[In 1965 zocht de rooms-katholieke kerk met het document ’Nostra aetate’ voor het eerst serieuze toena
ering tot het jodendom. Dit jaar stond Rome daar uitgebreid bij stil. Hoe staat het met de grote verzoening? Twee Nederlandse deskundigen,
een joodse en een katholieke gaan in dialoog.]]>
</description>
</item>
<item>
<title>
<![CDATA[Accra-verklaring / Wij mogen onze mond niet houden ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/podium ... den+</link>
<description>
<![CDATA[Toegegeven, de Accra-verklaring die de synode van de PKN heeft overgenomen, bevat zwakke punten. Maar de kern be
elst vragen die ieder aangaan.]]>
</description>
</item>
<item>
<title>
<![CDATA[Schouten / Geronseld voor de djihad? ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/dossie ... %3F+</link>
<description>
<![CDATA[Bij binnenkomst zag ik het al liggen, gebonden maar liefst en naast de leunstoel, een teken dat het er niet allee
voor de show lag maar dat het ook gelezen werd. ]]>
</description>
</item>
<item>
<title>
<![CDATA[Student van het jaar Murat Ersoy wil met zijn Turkse studentenvereniging de integratie bevorderen.]]>
</title>
<link>
http://www.trouw.nl/degids/gidsartikele ... e+studente
vereniging+de+integratie+bevorderen.</link>
<description>
<![CDATA[Bij de verkiezing van de student van het jaar 2005 is bewust voor een allochtone student gekozen, door webzine Sc
enceGuide samen met de landelijke studentenbonden. „Omdat de meest genoemde studenten van het jaar Samir A. en Mohammed B. zijn, en
ij iemand willen bekronen die staat voor al die duizenden allochtone studenten die zich maatschappelijk en in hun studie voluit inzetten",
aldus het webzine.]]>
</description>
</item>
<item>
<title>
<![CDATA[De Ludwig. Bij elke verhuizing stond ik weer in dubio. En dan nam ik hem maar weer mee. ]]>
</title>
<link>
http://www.trouw.nl/deverdieping/dossie ... io.+En+dan+
am+ik+hem+maar+weer+mee.+</link>
<description>
<![CDATA[Toen ik 13 was kocht ik een drumstel. Al mijn broers, vier stuks, speelden gitaar, maar ik had er geen aanleg voo
. Voor drummen ook niet, maar het leek me leuk. Een erg praktische keuze was het niet. Je bent één van vijf kinderen, je woont in een ri
tjeshuis en je kiest als instrument de drums. Toen een van mijn gitaarspelende broers van instrument wilde veranderen en interesse voor he
slagwerk toonde, stuurden mijn ouders hem diplomatiek richting de klarinet. En kochten er meteen een demper bij.]]>
</description>
</item>
</channel>
</rss>
ñ[/text]
-- (define? (Cornflakes))
'get-url' should be fine for high-ASCII, i.e. you could do:
for downloading.
what other operation are yoou using on the data?
Lutz
Code: Select all
(write-file "a.tgz" (get-url "http://newlisp.org/downloads/newlisp-8.7.1.tgz"))
what other operation are yoou using on the data?
Lutz
Yes i thought that too I never had troubles with binary data befor so thats
not it i guess.
I do a xml-parse and a list? (see above is my code).
But as you can see a simple 'get-url on that web-page does crash too!
It looks like its inside the 'get-url function.
Regards, Norman.
not it i guess.
I do a xml-parse and a list? (see above is my code).
But as you can see a simple 'get-url on that web-page does crash too!
It looks like its inside the 'get-url function.
Regards, Norman.
-- (define? (Cornflakes))
I did and xml-parse on some of the snippets containing >127 ASCII without a problem. UTF-8 characters can have that.
Perhaps you can save the offending piece of data to a file and reproduce the problem to just a few statements b y eliminating as much as possible code from your program. Else it is impossible to debug this.
Lutz
Perhaps you can save the offending piece of data to a file and reproduce the problem to just a few statements b y eliminating as much as possible code from your program. Else it is impossible to debug this.
Lutz
It happened again, this time for the "http://www.newlisp.org/rss.cgi?News"
*** glibc detected *** double free or corruption (!prev): 0x08095418 ***
I realy cant figure it out...But im 100% sure its the 'get-url function where/when it goes wrong...But the problem could remain somewhere in the
combination of getting an url and buffering perhpas..
Norman.
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
Segmentation fault
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
Segmentation fault
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
Segmentation fault
here an strace output perhpas it helps?
execve("/usr/bin/newlisp", ["newlisp"], [/* 36 vars */]) = 0
uname({sys="Linux", node="zeep", ...}) = 0
brk(0) = 0x8071cec
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/i686/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/i686/sse2", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/i686", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/sse2", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686/sse2", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/sse2", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=87458, ...}) = 0
mmap2(NULL, 87458, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P3\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=176353, ...}) = 0
mmap2(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002d000
mmap2(0x4004e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20) = 0x4004e000
close(3) = 0
open("/usr/X11R6/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13126, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40050000
mmap2(NULL, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40051000
mmap2(0x40053000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40053000
close(3) = 0
open("/usr/X11R6/lib/libreadline.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libreadline.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\257"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=208620, ...}) = 0
mmap2(NULL, 179444, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40055000
mmap2(0x4007c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26) = 0x4007c000
mmap2(0x40080000, 3316, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40080000
mprotect(0xbffff000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|0x1000000) = -1 EINVAL (Invalid argument)
mprotect(0xbfff8000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffc000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffe000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xbfffc000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffd000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
close(3) = 0
open("/usr/X11R6/lib/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\342"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=253600, ...}) = 0
mmap2(NULL, 256236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40081000
mmap2(0x400b7000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35) = 0x400b7000
close(3) = 0
open("/usr/X11R6/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20U\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1340373, ...}) = 0
mmap2(NULL, 1150196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400c0000
mmap2(0x401d3000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x112) = 0x401d3000
mmap2(0x401d7000, 7412, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401d7000
close(3) = 0
open("/usr/X11R6/lib/libgpm.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgpm.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \32\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=19284, ...}) = 0
mmap2(NULL, 22920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401d9000
mmap2(0x401de000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0x401de000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401df000
mprotect(0x401d3000, 4096, PROT_READ) = 0
munmap(0x40017000, 87458) = 0
brk(0) = 0x8071cec
brk(0x8092cec) = 0x8092cec
brk(0x8093000) = 0x8093000
rt_sigaction(SIGINT, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGVTALRM, {0x804a330, [VTALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPROF, {0x804a330, [PROF], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804a330, [PIPE], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {0x804a330, [CHLD], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
open("/usr/share/newlisp/init.lsp", O_RDONLY) = -1 ENOENT (No such file or directory)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0720, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
write(1, "newLISP v.8.7.6 on linux, execut"..., 62) = 62
write(1, "\n", 1) = 1
rt_sigaction(SIGINT, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGALRM, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGVTALRM, {0x804a330, [VTALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [VTALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGPROF, {0x804a330, [PROF], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [PROF], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGPIPE, {0x804a330, [PIPE], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [PIPE], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGCHLD, {0x804a330, [CHLD], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [CHLD], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
access("/home/nodep/.terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/terminfo/x/xterm", R_OK) = 0
open("/usr/share/terminfo/x/xterm", O_RDONLY) = 3
read(3, "\32\1\34\0\35\0\17\0i\1\230\4", 12) = 12
read(3, "xterm|X11 terminal emulator\0", 28) = 28
read(3, "\0\1\0\0\1\0\0\0\1\0\0\0\0\1\1\0\0\0\0\0\0\0\1\0\0\1\0"..., 29) = 29
read(3, "\0", 1) = 1
read(3, "P\0\10\0\30\0\377\377\377\377\377\377\377\377\377\377\377"..., 30) = 30
read(3, "\0\0\4\0\6\0\10\0\31\0\36\0&\0*\0.\0\377\3779\0J\0L\0P"..., 722) = 722
read(3, "\33[Z\0\7\0\r\0\33[%i%p1%d;%p2%dr\0\33[3g\0\33["..., 1176) = 1176
read(3, "", 10) = 0
close(3) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, TIOCSWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2586
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40018000, 4096) = 0
open("/usr/lib/locale/en_US/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=178476, ...}) = 0
mmap2(NULL, 178476, PROT_READ, MAP_PRIVATE, 3, 0) = 0x401e0000
close(3) = 0
stat64("/etc/inputrc", {st_mode=S_IFREG|0644, st_size=690, ...}) = 0
open("/etc/inputrc", O_RDONLY) = 3
read(3, "# /etc/inputrc\n# This file confi"..., 690) = 690
close(3) = 0
brk(0x80b4000) = 0x80b4000
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, TIOCGWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, TIOCSWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTERM, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGALRM, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTSTP, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTTOU, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTTIN, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGWINCH, {0x4006f920, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
write(1, "> ", 2) = 2
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "(", 1) = 1
write(1, "(", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "e", 1) = 1
write(1, "e", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "t", 1) = 1
write(1, "t", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "q", 1) = 1
write(1, "q", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, " ", 1) = 1
write(1, " ", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "u", 1) = 1
write(1, "u", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "r", 1) = 1
write(1, "r", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "l", 1) = 1
write(1, "l", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, " ", 1) = 1
write(1, " ", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "(", 1) = 1
write(1, "(", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "g", 1) = 1
write(1, "g", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "e", 1) = 1
write(1, "e", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "t", 1) = 1
write(1, "t", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "-", 1) = 1
write(1, "-", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "u", 1) = 1
write(1, "u", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "r", 1) = 1
write(1, "r", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "l", 1) = 1
write(1, "l", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, " ", 1) = 1
write(1, " ", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "\"", 1) = 1
write(1, "\"", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "h", 1) = 1
write(1, "h", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "t", 1) = 1
write(1, "t", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "t", 1) = 1
write(1, "t", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "p", 1) = 1
write(1, "p", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ":", 1) = 1
write(1, ":", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "/", 1) = 1
write(1, "/", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "/", 1) = 1
write(1, "/", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ".", 1) = 1
write(1, ".", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "n", 1) = 1
write(1, "n", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "e", 1) = 1
write(1, "e", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "l", 1) = 1
write(1, "l", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "i", 1) = 1
write(1, "i", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "p", 1) = 1
write(1, "p", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ".", 1) = 1
write(1, ".", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "o", 1) = 1
write(1, "o", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "r", 1) = 1
write(1, "r", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "g", 1) = 1
write(1, "g", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "/", 1) = 1
write(1, "/", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "r", 1) = 1
write(1, "r", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ".", 1) = 1
write(1, ".", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "c", 1) = 1
write(1, "c", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "g", 1) = 1
write(1, "g", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "i", 1) = 1
write(1, "i", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "?", 1) = 1
write(1, "?", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "N", 1) = 1
write(1, "N", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "e", 1) = 1
write(1, "e", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "\"", 1) = 1
write(1, "\"", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ")", 1) = 1
write(1, ")", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ")", 1) = 1
write(1, ")", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "\r", 1) = 1
write(1, "\n", 1) = 1
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGALRM, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTSTP, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTTOU, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTTIN, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL}, {0x4006f920, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
gettimeofday({1136450159, 64543}, NULL) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
gettimeofday({1136450159, 64589}, NULL) = 0
getpid() = 4428
open("/etc/resolv.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=96, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "nameserver localhost\nnameserver "..., 4096) = 96
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
uname({sys="Linux", node="zeep", ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1083, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1083
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
open("/usr/X11R6/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=87458, ...}) = 0
mmap2(NULL, 87458, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4020c000
close(4) = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\33\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=41351, ...}) = 0
mmap2(NULL, 37516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40018000
mmap2(0x40020000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7) = 0x40020000
close(4) = 0
munmap(0x4020c000, 87458) = 0
open("/etc/host.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=27, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
read(4, "order hosts, bind\nmulti on\n", 4096) = 27
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40022000, 4096) = 0
open("/etc/hosts", O_RDONLY) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=614, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
read(4, "#\n# hosts\t\tThis file describes a"..., 4096) = 614
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40022000, 4096) = 0
open("/usr/X11R6/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=87458, ...}) = 0
mmap2(NULL, 87458, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4020c000
close(4) = 0
open("/lib/libnss_dns.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\r\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=21024, ...}) = 0
mmap2(NULL, 20616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40022000
mmap2(0x40026000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3) = 0x40026000
close(4) = 0
open("/usr/X11R6/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libresolv.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200$\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=73805, ...}) = 0
mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40222000
mprotect(0x40230000, 18632, PROT_NONE) = 0
mmap2(0x40231000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xe) = 0x40231000
mmap2(0x40233000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40233000
close(4) = 0
munmap(0x4020c000, 87458) = 0
gettimeofday({1136450159, 65944}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("213.51.129.37")}, 28) = 0
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1136450159, 66036}, NULL) = 0
poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(4, "7n\1\0\0\1\0\0\0\0\0\0\3www\7newlisp\3org\0\0\1\0"..., 33, 0) = 33
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(4, FIONREAD, [96]) = 0
recvfrom(4, "7n\201\200\0\1\0\2\0\1\0\1\3www\7newlisp\3org\0\0\1\0"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("213.51.129.37")}, [16]) = 96
close(4) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("66.235.209.72")}, 16) = 0
send(3, "GET /rss.cgi?News HTTP/1.1\r\n", 28, 0) = 28
send(3, "Host: www.newlisp.org\r\n", 23, 0) = 23
send(3, "User-Agent: newLISP v8706\r\n", 27, 0) = 27
send(3, "Connection: close\r\n", 19, 0) = 19
send(3, "\r\n", 2, 0) = 2
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "H", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "T", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "T", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "P", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "/", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, ".", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "2", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recselect(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "K", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "D", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "a", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "t", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "e", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, ":", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "T", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "h", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "u", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, ",", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "5", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "J", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "a", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "2", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
..........
..........
etc....etc...
...........
..........
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "</link>", 7, 0) = 7
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "b", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " </item>", 11, 0) = 11
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "e", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " </channel>", 14, 0) = 14
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "6", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "</rss>", 6, 0) = 6
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
close(3)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
*** glibc detected *** double free or corruption (!prev): 0x08095418 ***
I realy cant figure it out...But im 100% sure its the 'get-url function where/when it goes wrong...But the problem could remain somewhere in the
combination of getting an url and buffering perhpas..
Norman.
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
Segmentation fault
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
Segmentation fault
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
Segmentation fault
here an strace output perhpas it helps?
execve("/usr/bin/newlisp", ["newlisp"], [/* 36 vars */]) = 0
uname({sys="Linux", node="zeep", ...}) = 0
brk(0) = 0x8071cec
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/i686/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/i686/sse2", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/i686", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls/sse2", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/tls", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686/sse2", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/sse2/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/sse2", 0xbfffeea0) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=87458, ...}) = 0
mmap2(NULL, 87458, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P3\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=176353, ...}) = 0
mmap2(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002d000
mmap2(0x4004e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20) = 0x4004e000
close(3) = 0
open("/usr/X11R6/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13126, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40050000
mmap2(NULL, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40051000
mmap2(0x40053000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40053000
close(3) = 0
open("/usr/X11R6/lib/libreadline.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libreadline.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\257"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=208620, ...}) = 0
mmap2(NULL, 179444, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40055000
mmap2(0x4007c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26) = 0x4007c000
mmap2(0x40080000, 3316, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40080000
mprotect(0xbffff000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|0x1000000) = -1 EINVAL (Invalid argument)
mprotect(0xbfff8000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffc000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffe000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xbfffc000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfffd000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
close(3) = 0
open("/usr/X11R6/lib/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\342"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=253600, ...}) = 0
mmap2(NULL, 256236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40081000
mmap2(0x400b7000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35) = 0x400b7000
close(3) = 0
open("/usr/X11R6/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20U\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1340373, ...}) = 0
mmap2(NULL, 1150196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400c0000
mmap2(0x401d3000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x112) = 0x401d3000
mmap2(0x401d7000, 7412, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401d7000
close(3) = 0
open("/usr/X11R6/lib/libgpm.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgpm.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \32\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=19284, ...}) = 0
mmap2(NULL, 22920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401d9000
mmap2(0x401de000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0x401de000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401df000
mprotect(0x401d3000, 4096, PROT_READ) = 0
munmap(0x40017000, 87458) = 0
brk(0) = 0x8071cec
brk(0x8092cec) = 0x8092cec
brk(0x8093000) = 0x8093000
rt_sigaction(SIGINT, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGVTALRM, {0x804a330, [VTALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPROF, {0x804a330, [PROF], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804a330, [PIPE], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {0x804a330, [CHLD], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {SIG_DFL}, 8) = 0
open("/usr/share/newlisp/init.lsp", O_RDONLY) = -1 ENOENT (No such file or directory)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0720, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
write(1, "newLISP v.8.7.6 on linux, execut"..., 62) = 62
write(1, "\n", 1) = 1
rt_sigaction(SIGINT, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGALRM, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGVTALRM, {0x804a330, [VTALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [VTALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGPROF, {0x804a330, [PROF], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [PROF], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGPIPE, {0x804a330, [PIPE], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [PIPE], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGCHLD, {0x804a330, [CHLD], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [CHLD], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
access("/home/nodep/.terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/terminfo/x/xterm", R_OK) = 0
open("/usr/share/terminfo/x/xterm", O_RDONLY) = 3
read(3, "\32\1\34\0\35\0\17\0i\1\230\4", 12) = 12
read(3, "xterm|X11 terminal emulator\0", 28) = 28
read(3, "\0\1\0\0\1\0\0\0\1\0\0\0\0\1\1\0\0\0\0\0\0\0\1\0\0\1\0"..., 29) = 29
read(3, "\0", 1) = 1
read(3, "P\0\10\0\30\0\377\377\377\377\377\377\377\377\377\377\377"..., 30) = 30
read(3, "\0\0\4\0\6\0\10\0\31\0\36\0&\0*\0.\0\377\3779\0J\0L\0P"..., 722) = 722
read(3, "\33[Z\0\7\0\r\0\33[%i%p1%d;%p2%dr\0\33[3g\0\33["..., 1176) = 1176
read(3, "", 10) = 0
close(3) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, TIOCSWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2586
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40018000, 4096) = 0
open("/usr/lib/locale/en_US/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=178476, ...}) = 0
mmap2(NULL, 178476, PROT_READ, MAP_PRIVATE, 3, 0) = 0x401e0000
close(3) = 0
stat64("/etc/inputrc", {st_mode=S_IFREG|0644, st_size=690, ...}) = 0
open("/etc/inputrc", O_RDONLY) = 3
read(3, "# /etc/inputrc\n# This file confi"..., 690) = 690
close(3) = 0
brk(0x80b4000) = 0x80b4000
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, TIOCGWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, TIOCSWINSZ, {ws_row=43, ws_col=132, ws_xpixel=1192, ws_ypixel=649}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTERM, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGALRM, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTSTP, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTTOU, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTTIN, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGWINCH, {0x4006f920, [], SA_RESTORER, 0x400e8cb8}, {SIG_DFL}, 8) = 0
write(1, "> ", 2) = 2
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "(", 1) = 1
write(1, "(", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "e", 1) = 1
write(1, "e", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "t", 1) = 1
write(1, "t", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "q", 1) = 1
write(1, "q", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, " ", 1) = 1
write(1, " ", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "u", 1) = 1
write(1, "u", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "r", 1) = 1
write(1, "r", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "l", 1) = 1
write(1, "l", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, " ", 1) = 1
write(1, " ", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "(", 1) = 1
write(1, "(", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "g", 1) = 1
write(1, "g", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "e", 1) = 1
write(1, "e", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "t", 1) = 1
write(1, "t", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "-", 1) = 1
write(1, "-", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "u", 1) = 1
write(1, "u", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "r", 1) = 1
write(1, "r", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "l", 1) = 1
write(1, "l", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, " ", 1) = 1
write(1, " ", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "\"", 1) = 1
write(1, "\"", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "h", 1) = 1
write(1, "h", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "t", 1) = 1
write(1, "t", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "t", 1) = 1
write(1, "t", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "p", 1) = 1
write(1, "p", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ":", 1) = 1
write(1, ":", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "/", 1) = 1
write(1, "/", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "/", 1) = 1
write(1, "/", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ".", 1) = 1
write(1, ".", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "n", 1) = 1
write(1, "n", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "e", 1) = 1
write(1, "e", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "l", 1) = 1
write(1, "l", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "i", 1) = 1
write(1, "i", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "p", 1) = 1
write(1, "p", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ".", 1) = 1
write(1, ".", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "o", 1) = 1
write(1, "o", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "r", 1) = 1
write(1, "r", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "g", 1) = 1
write(1, "g", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "/", 1) = 1
write(1, "/", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "r", 1) = 1
write(1, "r", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ".", 1) = 1
write(1, ".", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "c", 1) = 1
write(1, "c", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "g", 1) = 1
write(1, "g", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "i", 1) = 1
write(1, "i", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "?", 1) = 1
write(1, "?", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "N", 1) = 1
write(1, "N", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "e", 1) = 1
write(1, "e", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "w", 1) = 1
write(1, "w", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "s", 1) = 1
write(1, "s", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "\"", 1) = 1
write(1, "\"", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ")", 1) = 1
write(1, ")", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, ")", 1) = 1
write(1, ")", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(0, "\r", 1) = 1
write(1, "\n", 1) = 1
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x804a330, [INT], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGALRM, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, {0x804a330, [ALRM], SA_RESTORER|SA_RESTART, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTSTP, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTTOU, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGTTIN, {SIG_DFL}, {0x4006f860, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL}, {0x4006f920, [], SA_RESTORER, 0x400e8cb8}, 8) = 0
gettimeofday({1136450159, 64543}, NULL) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
gettimeofday({1136450159, 64589}, NULL) = 0
getpid() = 4428
open("/etc/resolv.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=96, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "nameserver localhost\nnameserver "..., 4096) = 96
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
uname({sys="Linux", node="zeep", ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1083, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1083
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
open("/usr/X11R6/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=87458, ...}) = 0
mmap2(NULL, 87458, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4020c000
close(4) = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\33\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=41351, ...}) = 0
mmap2(NULL, 37516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40018000
mmap2(0x40020000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7) = 0x40020000
close(4) = 0
munmap(0x4020c000, 87458) = 0
open("/etc/host.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=27, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
read(4, "order hosts, bind\nmulti on\n", 4096) = 27
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40022000, 4096) = 0
open("/etc/hosts", O_RDONLY) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=614, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
read(4, "#\n# hosts\t\tThis file describes a"..., 4096) = 614
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40022000, 4096) = 0
open("/usr/X11R6/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=87458, ...}) = 0
mmap2(NULL, 87458, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4020c000
close(4) = 0
open("/lib/libnss_dns.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\r\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=21024, ...}) = 0
mmap2(NULL, 20616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40022000
mmap2(0x40026000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3) = 0x40026000
close(4) = 0
open("/usr/X11R6/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libresolv.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200$\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=73805, ...}) = 0
mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x40222000
mprotect(0x40230000, 18632, PROT_NONE) = 0
mmap2(0x40231000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xe) = 0x40231000
mmap2(0x40233000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40233000
close(4) = 0
munmap(0x4020c000, 87458) = 0
gettimeofday({1136450159, 65944}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("213.51.129.37")}, 28) = 0
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1136450159, 66036}, NULL) = 0
poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(4, "7n\1\0\0\1\0\0\0\0\0\0\3www\7newlisp\3org\0\0\1\0"..., 33, 0) = 33
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(4, FIONREAD, [96]) = 0
recvfrom(4, "7n\201\200\0\1\0\2\0\1\0\1\3www\7newlisp\3org\0\0\1\0"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("213.51.129.37")}, [16]) = 96
close(4) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("66.235.209.72")}, 16) = 0
send(3, "GET /rss.cgi?News HTTP/1.1\r\n", 28, 0) = 28
send(3, "Host: www.newlisp.org\r\n", 23, 0) = 23
send(3, "User-Agent: newLISP v8706\r\n", 27, 0) = 27
send(3, "Connection: close\r\n", 19, 0) = 19
send(3, "\r\n", 2, 0) = 2
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 0 (Timeout)
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "H", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "T", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "T", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "P", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "/", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, ".", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "2", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recselect(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "K", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "D", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "a", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "t", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "e", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, ":", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "T", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "h", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "u", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, ",", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "5", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "J", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "a", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "2", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
..........
..........
etc....etc...
...........
..........
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "</link>", 7, 0) = 7
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "b", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " </item>", 11, 0) = 11
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "e", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " </channel>", 14, 0) = 14
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "6", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "</rss>", 6, 0) = 6
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "1", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, " ", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "0", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\r", 1, 0) = 1
select(1024, [3], NULL, [3], {0, 1000}) = 1 (left {0, 10000})
recv(3, "\n", 1, 0) = 1
close(3)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
-- (define? (Cornflakes))
Addon !
this Segdumps -> (setq bla (get-url "http://www.newlisp.org/rss.cgi?News"))
this does not -> (get-url "http://www.newlisp.org/rss.cgi?News")
this Segdumps -> (setq bla (get-url "http://www.newlisp.org/rss.cgi?News"))
this does not -> (get-url "http://www.newlisp.org/rss.cgi?News")
-- (define? (Cornflakes))
All version of newlisp do crash ....
The error here is realted to: "Crashes in malloc(), free() or realloc() are almost always related to heap corruption, such as overflowing an allocated chunk or freeing the same pointer twice"
But where ? Im not sure if its newlisp related could very well be a new version
of anyting below..
libm.so.6 => /lib/libm.so.6 (0x4002c000)
libdl.so.2 => /lib/libdl.so.2 (0x40050000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x40054000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40080000)
libc.so.6 => /lib/libc.so.6 (0x400bf000)
/lib/ld-linux.so.2 (0x40000000)
libgpm.so.1 => /lib/libgpm.so.1 (0x401d8000)
Its very very odd, I cant reproduce the error to happen it just happens
randomly now... all get-url actions are oke... Could it be a memory free issue?
Norman.
The error here is realted to: "Crashes in malloc(), free() or realloc() are almost always related to heap corruption, such as overflowing an allocated chunk or freeing the same pointer twice"
But where ? Im not sure if its newlisp related could very well be a new version
of anyting below..
libm.so.6 => /lib/libm.so.6 (0x4002c000)
libdl.so.2 => /lib/libdl.so.2 (0x40050000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x40054000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40080000)
libc.so.6 => /lib/libc.so.6 (0x400bf000)
/lib/ld-linux.so.2 (0x40000000)
libgpm.so.1 => /lib/libgpm.so.1 (0x401d8000)
Its very very odd, I cant reproduce the error to happen it just happens
randomly now... all get-url actions are oke... Could it be a memory free issue?
Norman.
-- (define? (Cornflakes))
NOTES
The Unix98 standard requires malloc(), calloc(), and realloc() to set errno to ENOMEM upon failure. Glibc assumes that
this is done (and the glibc versions of these routines do this); if you use a private malloc implementation that does
not set errno, then certain library routines may fail without having a reason in errno.
Crashes in malloc(), free() or realloc() are almost always related to heap corruption, such as overflowing an allocated
chunk or freeing the same pointer twice.
Recent versions of Linux libc (later than 5.4.23) and GNU libc (2.x) include a malloc implementation which is tunable
via environment variables. When MALLOC_CHECK_ is set, a special (less efficient) implementation is used which is
designed to be tolerant against simple errors, such as double calls of free() with the same argument, or overruns of a
single byte (off-by-one bugs). Not all such errors can be protected against, however, and memory leaks can result. If
MALLOC_CHECK_ is set to 0, any detected heap corruption is silently ignored; if set to 1, a diagnostic is printed on
stderr; if set to 2, abort() is called immediately. This can be useful because otherwise a crash may happen much
later, and the true cause for the problem is then very hard to track down.
BUGS
By default, Linux follows an optimistic memory allocation strategy. This means that when malloc() returns non-NULL
there is no guarantee that the memory really is available. This is a really bad bug. In case it turns out that the
system is out of memory, one or more processes will be killed by the infamous OOM killer. In case Linux is employed
under circumstances where it would be less desirable to suddenly lose some randomly picked processes, and moreover the
kernel version is sufficiently recent, one can switch off this overcommitting behavior using a command like
# echo 2 > /proc/sys/vm/overcommit_memory
See also the kernel Documentation directory, files vm/overcommit-accounting and sysctl/vm.txt.
So I put the MALLOC_CHECK_=0/1/2 in my enironment and it runs !
No problems and NO abort!.. So somthing is fishy here.. This should not
be done but be managed by libc (see above the man page of malloc)
Seeking the internet on this topic it seems to happen a lot... But if its
a slackware distribution issue ?? I cant figure it out..
Norman.
The Unix98 standard requires malloc(), calloc(), and realloc() to set errno to ENOMEM upon failure. Glibc assumes that
this is done (and the glibc versions of these routines do this); if you use a private malloc implementation that does
not set errno, then certain library routines may fail without having a reason in errno.
Crashes in malloc(), free() or realloc() are almost always related to heap corruption, such as overflowing an allocated
chunk or freeing the same pointer twice.
Recent versions of Linux libc (later than 5.4.23) and GNU libc (2.x) include a malloc implementation which is tunable
via environment variables. When MALLOC_CHECK_ is set, a special (less efficient) implementation is used which is
designed to be tolerant against simple errors, such as double calls of free() with the same argument, or overruns of a
single byte (off-by-one bugs). Not all such errors can be protected against, however, and memory leaks can result. If
MALLOC_CHECK_ is set to 0, any detected heap corruption is silently ignored; if set to 1, a diagnostic is printed on
stderr; if set to 2, abort() is called immediately. This can be useful because otherwise a crash may happen much
later, and the true cause for the problem is then very hard to track down.
BUGS
By default, Linux follows an optimistic memory allocation strategy. This means that when malloc() returns non-NULL
there is no guarantee that the memory really is available. This is a really bad bug. In case it turns out that the
system is out of memory, one or more processes will be killed by the infamous OOM killer. In case Linux is employed
under circumstances where it would be less desirable to suddenly lose some randomly picked processes, and moreover the
kernel version is sufficiently recent, one can switch off this overcommitting behavior using a command like
# echo 2 > /proc/sys/vm/overcommit_memory
See also the kernel Documentation directory, files vm/overcommit-accounting and sysctl/vm.txt.
So I put the MALLOC_CHECK_=0/1/2 in my enironment and it runs !
No problems and NO abort!.. So somthing is fishy here.. This should not
be done but be managed by libc (see above the man page of malloc)
Seeking the internet on this topic it seems to happen a lot... But if its
a slackware distribution issue ?? I cant figure it out..
Norman.
-- (define? (Cornflakes))
Okay !
some ColdMetal debugging here a gdb output with realtime tracking...
Hope its usefull for a small indication...
$gdb newlisp
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) handle SIGPIPE nostop
Signal Stop Print Pass to program Description
SIGPIPE No Yes Yes Broken pipe
(gdb) run
Starting program: /usr/bin/newlisp
(no debugging symbols found)
(no debugging symbols found)
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (load "rss-ticker2.lsp")
--------------
Remove screen output here...
--------------
*** glibc detected *** double free or corruption (!prev): 0x080a2850 ***
Program received signal SIGABRT, Aborted.
0x400e7d81 in kill () from /lib/libc.so.6
(gdb) bt full
#0 0x400e7d81 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0x400e7b05 in raise () from /lib/libc.so.6
No symbol table info available.
#2 0x400e905d in abort () from /lib/libc.so.6
No symbol table info available.
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#5 0x40121abf in _int_free () from /lib/libc.so.6
No symbol table info available.
#6 0x401206df in free () from /lib/libc.so.6
No symbol table info available.
#7 0x0804c268 in ?? ()
No symbol table info available.
#8 0x080a2850 in ?? ()
No symbol table info available.
#9 0x401d59c0 in __libc_tsd_MALLOC_data () from /lib/libc.so.6
No symbol table info available.
#10 0xbffff0e8 in ?? ()
No symbol table info available.
#11 0x0809d8c0 in ?? ()
No symbol table info available.
#12 0x080884d8 in ?? ()
No symbol table info available.
#13 0x080a55b0 in ?? ()
No symbol table info available.
#14 0xbffff108 in ?? ()
No symbol table info available.
#15 0x0804b608 in ?? ()
No symbol table info available.
#16 0x080a5590 in ?? ()
No symbol table info available.
#17 0x0809d8a0 in ?? ()
No symbol table info available.
#18 0xbffff108 in ?? ()
No symbol table info available.
#19 0x0804c340 in ?? ()
No symbol table info available.
#20 0x00000024 in ?? ()
No symbol table info available.
#21 0x00000004 in ?? ()
No symbol table info available.
#22 0x08073910 in ?? ()
No symbol table info available.
#23 0x08073900 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#24 0x00000003 in ?? ()
No symbol table info available.
#25 0x0809d8a0 in ?? ()
No symbol table info available.
#26 0xbffff128 in ?? ()
No symbol table info available.
#27 0x08050059 in ?? ()
No symbol table info available.
#28 0x08073900 in ?? ()
No symbol table info available.
#29 0x08095748 in ?? ()
No symbol table info available.
#30 0x00000024 in ?? ()
No symbol table info available.
#31 0x080731a0 in ?? ()
No symbol table info available.
#32 0x080a7a38 in ?? ()
No symbol table info available.
#33 0x080735c0 in ?? ()
No symbol table info available.
#34 0xbffff158 in ?? ()
No symbol table info available.
#35 0x080508ce in ?? ()
No symbol table info available.
#36 0x08073640 in ?? ()
No symbol table info available.
#37 0x00000008 in ?? ()
No symbol table info available.
#38 0x40121a24 in _int_free () from /lib/libc.so.6
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
(gdb)
in short ->
(gdb) backtrace
#0 0x400e7d81 in kill () from /lib/libc.so.6
#1 0x400e7b05 in raise () from /lib/libc.so.6
#2 0x400e905d in abort () from /lib/libc.so.6
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
#5 0x40121abf in _int_free () from /lib/libc.so.6
#6 0x401206df in free () from /lib/libc.so.6
#7 0x0804c268 in ?? ()
#8 0x080a2850 in ?? ()
#9 0x401d59c0 in __libc_tsd_MALLOC_data () from /lib/libc.so.6
#10 0xbffff0e8 in ?? ()
#11 0x0809d8c0 in ?? ()
#12 0x080884d8 in ?? ()
#13 0x080a55b0 in ?? ()
#14 0xbffff108 in ?? ()
#15 0x0804b608 in ?? ()
#16 0x080a5590 in ?? ()
#17 0x0809d8a0 in ?? ()
#18 0xbffff108 in ?? ()
#19 0x0804c340 in ?? ()
#20 0x00000024 in ?? ()
#21 0x00000004 in ?? ()
#22 0x08073910 in ?? ()
#23 0x08073900 in ?? ()
#24 0x00000003 in ?? ()
#25 0x0809d8a0 in ?? ()
#26 0xbffff128 in ?? ()
#27 0x08050059 in ?? ()
#28 0x08073900 in ?? ()
#29 0x08095748 in ?? ()
#30 0x00000024 in ?? ()
#31 0x080731a0 in ?? ()
#32 0x080a7a38 in ?? ()
#33 0x080735c0 in ?? ()
#34 0xbffff158 in ?? ()
#35 0x080508ce in ?? ()
#36 0x08073640 in ?? ()
#37 0x00000008 in ?? ()
#38 0x40121a24 in _int_free () from /lib/libc.so.6
some ColdMetal debugging here a gdb output with realtime tracking...
Hope its usefull for a small indication...
$gdb newlisp
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) handle SIGPIPE nostop
Signal Stop Print Pass to program Description
SIGPIPE No Yes Yes Broken pipe
(gdb) run
Starting program: /usr/bin/newlisp
(no debugging symbols found)
(no debugging symbols found)
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (load "rss-ticker2.lsp")
--------------
Remove screen output here...
--------------
*** glibc detected *** double free or corruption (!prev): 0x080a2850 ***
Program received signal SIGABRT, Aborted.
0x400e7d81 in kill () from /lib/libc.so.6
(gdb) bt full
#0 0x400e7d81 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0x400e7b05 in raise () from /lib/libc.so.6
No symbol table info available.
#2 0x400e905d in abort () from /lib/libc.so.6
No symbol table info available.
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#5 0x40121abf in _int_free () from /lib/libc.so.6
No symbol table info available.
#6 0x401206df in free () from /lib/libc.so.6
No symbol table info available.
#7 0x0804c268 in ?? ()
No symbol table info available.
#8 0x080a2850 in ?? ()
No symbol table info available.
#9 0x401d59c0 in __libc_tsd_MALLOC_data () from /lib/libc.so.6
No symbol table info available.
#10 0xbffff0e8 in ?? ()
No symbol table info available.
#11 0x0809d8c0 in ?? ()
No symbol table info available.
#12 0x080884d8 in ?? ()
No symbol table info available.
#13 0x080a55b0 in ?? ()
No symbol table info available.
#14 0xbffff108 in ?? ()
No symbol table info available.
#15 0x0804b608 in ?? ()
No symbol table info available.
#16 0x080a5590 in ?? ()
No symbol table info available.
#17 0x0809d8a0 in ?? ()
No symbol table info available.
#18 0xbffff108 in ?? ()
No symbol table info available.
#19 0x0804c340 in ?? ()
No symbol table info available.
#20 0x00000024 in ?? ()
No symbol table info available.
#21 0x00000004 in ?? ()
No symbol table info available.
#22 0x08073910 in ?? ()
No symbol table info available.
#23 0x08073900 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#24 0x00000003 in ?? ()
No symbol table info available.
#25 0x0809d8a0 in ?? ()
No symbol table info available.
#26 0xbffff128 in ?? ()
No symbol table info available.
#27 0x08050059 in ?? ()
No symbol table info available.
#28 0x08073900 in ?? ()
No symbol table info available.
#29 0x08095748 in ?? ()
No symbol table info available.
#30 0x00000024 in ?? ()
No symbol table info available.
#31 0x080731a0 in ?? ()
No symbol table info available.
#32 0x080a7a38 in ?? ()
No symbol table info available.
#33 0x080735c0 in ?? ()
No symbol table info available.
#34 0xbffff158 in ?? ()
No symbol table info available.
#35 0x080508ce in ?? ()
No symbol table info available.
#36 0x08073640 in ?? ()
No symbol table info available.
#37 0x00000008 in ?? ()
No symbol table info available.
#38 0x40121a24 in _int_free () from /lib/libc.so.6
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
(gdb)
in short ->
(gdb) backtrace
#0 0x400e7d81 in kill () from /lib/libc.so.6
#1 0x400e7b05 in raise () from /lib/libc.so.6
#2 0x400e905d in abort () from /lib/libc.so.6
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
#5 0x40121abf in _int_free () from /lib/libc.so.6
#6 0x401206df in free () from /lib/libc.so.6
#7 0x0804c268 in ?? ()
#8 0x080a2850 in ?? ()
#9 0x401d59c0 in __libc_tsd_MALLOC_data () from /lib/libc.so.6
#10 0xbffff0e8 in ?? ()
#11 0x0809d8c0 in ?? ()
#12 0x080884d8 in ?? ()
#13 0x080a55b0 in ?? ()
#14 0xbffff108 in ?? ()
#15 0x0804b608 in ?? ()
#16 0x080a5590 in ?? ()
#17 0x0809d8a0 in ?? ()
#18 0xbffff108 in ?? ()
#19 0x0804c340 in ?? ()
#20 0x00000024 in ?? ()
#21 0x00000004 in ?? ()
#22 0x08073910 in ?? ()
#23 0x08073900 in ?? ()
#24 0x00000003 in ?? ()
#25 0x0809d8a0 in ?? ()
#26 0xbffff128 in ?? ()
#27 0x08050059 in ?? ()
#28 0x08073900 in ?? ()
#29 0x08095748 in ?? ()
#30 0x00000024 in ?? ()
#31 0x080731a0 in ?? ()
#32 0x080a7a38 in ?? ()
#33 0x080735c0 in ?? ()
#34 0xbffff158 in ?? ()
#35 0x080508ce in ?? ()
#36 0x08073640 in ?? ()
#37 0x00000008 in ?? ()
#38 0x40121a24 in _int_free () from /lib/libc.so.6
-- (define? (Cornflakes))
Sorry ! no debug info in previous one !! here is the correct debug...
enjoy ;-)
*** glibc detected *** double free or corruption (!prev): 0x080a2848 ***
Program received signal SIGABRT, Aborted.
0x400e7d81 in kill () from /lib/libc.so.6
(gdb) bt full
#0 0x400e7d81 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0x400e7b05 in raise () from /lib/libc.so.6
No symbol table info available.
#2 0x400e905d in abort () from /lib/libc.so.6
No symbol table info available.
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#5 0x40121abf in _int_free () from /lib/libc.so.6
No symbol table info available.
#6 0x401206df in free () from /lib/libc.so.6
No symbol table info available.
#7 0x0804c268 in deleteList (cell=0x401d3ff4) at newlisp.c:1536
next = (CELL *) 0x401d3ff4
#8 0x0804b608 in evaluateExpression (cell=0x80a2848) at newlisp.c:1112
result = (CELL *) 0x80a55a8
args = (CELL *) 0x8073910
pCell = (CELL *) 0x401d59c0
resultIdxSave = 4
#9 0x08050059 in evaluateBlock (cell=0x8073900) at newlisp.c:3966
result = (CELL *) 0x0
#10 0x080508ce in p_dolist (params=0x8073290) at newlisp.c:4246
cell = (CELL *) 0x3
list = (CELL *) 0x80735c0
symbol = (SYMBOL *) 0x80930e8
#11 0x0804b832 in evaluateExpression (cell=0x80731a0) at newlisp.c:1058
result = (CELL *) 0x80731a0
args = (CELL *) 0x8073470
pCell = (CELL *) 0x8071e00
resultIdxSave = 2
#12 0x08050059 in evaluateBlock (cell=0x80731a0) at newlisp.c:3966
result = (CELL *) 0x0
#13 0x080503c5 in repeat (params=0x8073150, type=2) at newlisp.c:4094
result = (CELL *) 0x2
cell = (CELL *) 0x0
resultIdxSave = 2
#14 0x080502d1 in p_until (params=0x8073150) at newlisp.c:4060
No locals.
#15 0x0804b832 in evaluateExpression (cell=0x8073140) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x8073160
pCell = (CELL *) 0x8071d90
resultIdxSave = 2
#16 0x0804b07c in evaluateStream (stream=0xbffff320, outDevice=0, flag=1) at newlisp.c:855
program = (CELL *) 0x8073000
eval = (CELL *) 0x80731e0
---Type <return> to continue, or q <return> to quit---
resultIdxSave = 1
result = 1
#17 0x0804d8ac in loadFile (fileName=0x8091fc8 "rss-ticker2.lsp", offset=0, encryptFlag=134683484) at newlisp.c:2446
result = (CELL *) 0x0
stream = {handle = 6, ptr = 0x80998d7 "\n\n(println default)\n(exit)\n",
buffer = 0x8099098 "#!/usr/bin/newlisp\n;;\n;; RSS Ticker v1.0 (c) Norman 2004\n;;\n;; Displays RSS Feed titels in your terminal screen\n;; by using tput codes.\n;;\n;; Linux terminal version with ANSI and tput required\n;; \n;;\n"..., position = 0, size = 18432}
errNo = 0
dataLen = 0
errorJumpSave = {{__jmpbuf = {134709576, -1073744412, -1073744780, -1073744488, -1073744832, 134522561}, __mask_was_saved = 0,
__saved_mask = {__val = {0 <repeats 32 times>}}}}
key = "\000\000\000\000\001\000\000\000@H\035@\001\000\000"
#18 0x08050bc1 in p_load (params=0x8071d40) at newlisp.c:4366
fileName = 0x8091fc8 "rss-ticker2.lsp"
result = (CELL *) 0x0
#19 0x0804b832 in evaluateExpression (cell=0x8072fb0) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x8072fc0
pCell = (CELL *) 0x8072920
resultIdxSave = 1
#20 0x0804b07c in evaluateStream (stream=0xbffff400, outDevice=2, flag=0) at newlisp.c:855
program = (CELL *) 0x8071d60
eval = (CELL *) 0x8071d40
resultIdxSave = 0
result = 1
#21 0x0804aeca in executeCommandLine (command=0xbffff400 "", outDevice=2, cmdStream=0xbffff460) at newlisp.c:833
stream = {handle = 0, ptr = 0x8092088 "", buffer = 0x8092070 "(load \"rss-ticker2.lsp\")", position = 0, size = 2072}
#22 0x0804a801 in main (argc=1, argv=0xbffff5e4) at newlisp.c:663
command = "c\223\004\b\224W\f@¨÷\004@ ", '\0' <repeats 11 times>, ":þ\f@d«\f@t#\f@¨÷\004@\b\000\000\000\214ý\004@Ðý\004@Ø_\001@|f\001@\000\000\000\000dõÿ¿\230u\000@Ý\222\004\b\216ÿw\001À\212\004\b õÿ¿(f\001@\005\000\000\000Ðý\004@\001\000\000\000\000\000\000\000\001\000\000\000\211Ë\f@ õÿ¿ô?\035@\000\000\000\000äõÿ¿8õÿ¿\216ÿw\001\220õÿ¿Ðd\001@Ý\222\004\b/÷ÿ¿Îð\021@¤\235\f@¨÷\004@8õÿ¿uB\r@ô?\035@ìõÿ¿Xõÿ¿ºn\004@Ø_\001@Xk\001@X"...
cmdStream = {handle = 0, ptr = 0x0, buffer = 0x0, position = 0, size = 0}
idx = 1
cmd = 0x8092070 "(load \"rss-ticker2.lsp\")"
(gdb) backtrace
#0 0x400e7d81 in kill () from /lib/libc.so.6
#1 0x400e7b05 in raise () from /lib/libc.so.6
#2 0x400e905d in abort () from /lib/libc.so.6
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
#5 0x40121abf in _int_free () from /lib/libc.so.6
#6 0x401206df in free () from /lib/libc.so.6
#7 0x0804c268 in deleteList (cell=0x401d3ff4) at newlisp.c:1536
#8 0x0804b608 in evaluateExpression (cell=0x80a2848) at newlisp.c:1112
#9 0x08050059 in evaluateBlock (cell=0x8073900) at newlisp.c:3966
#10 0x080508ce in p_dolist (params=0x8073290) at newlisp.c:4246
#11 0x0804b832 in evaluateExpression (cell=0x80731a0) at newlisp.c:1058
#12 0x08050059 in evaluateBlock (cell=0x80731a0) at newlisp.c:3966
#13 0x080503c5 in repeat (params=0x8073150, type=2) at newlisp.c:4094
#14 0x080502d1 in p_until (params=0x8073150) at newlisp.c:4060
#15 0x0804b832 in evaluateExpression (cell=0x8073140) at newlisp.c:1058
#16 0x0804b07c in evaluateStream (stream=0xbffff320, outDevice=0, flag=1) at newlisp.c:855
#17 0x0804d8ac in loadFile (fileName=0x8091fc8 "rss-ticker2.lsp", offset=0, encryptFlag=134683484) at newlisp.c:2446
#18 0x08050bc1 in p_load (params=0x8071d40) at newlisp.c:4366
#19 0x0804b832 in evaluateExpression (cell=0x8072fb0) at newlisp.c:1058
#20 0x0804b07c in evaluateStream (stream=0xbffff400, outDevice=2, flag=0) at newlisp.c:855
#21 0x0804aeca in executeCommandLine (command=0xbffff400 "", outDevice=2, cmdStream=0xbffff460) at newlisp.c:833
#22 0x0804a801 in main (argc=1, argv=0xbffff5e4) at newlisp.c:663
(gdb)
enjoy ;-)
*** glibc detected *** double free or corruption (!prev): 0x080a2848 ***
Program received signal SIGABRT, Aborted.
0x400e7d81 in kill () from /lib/libc.so.6
(gdb) bt full
#0 0x400e7d81 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0x400e7b05 in raise () from /lib/libc.so.6
No symbol table info available.
#2 0x400e905d in abort () from /lib/libc.so.6
No symbol table info available.
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#5 0x40121abf in _int_free () from /lib/libc.so.6
No symbol table info available.
#6 0x401206df in free () from /lib/libc.so.6
No symbol table info available.
#7 0x0804c268 in deleteList (cell=0x401d3ff4) at newlisp.c:1536
next = (CELL *) 0x401d3ff4
#8 0x0804b608 in evaluateExpression (cell=0x80a2848) at newlisp.c:1112
result = (CELL *) 0x80a55a8
args = (CELL *) 0x8073910
pCell = (CELL *) 0x401d59c0
resultIdxSave = 4
#9 0x08050059 in evaluateBlock (cell=0x8073900) at newlisp.c:3966
result = (CELL *) 0x0
#10 0x080508ce in p_dolist (params=0x8073290) at newlisp.c:4246
cell = (CELL *) 0x3
list = (CELL *) 0x80735c0
symbol = (SYMBOL *) 0x80930e8
#11 0x0804b832 in evaluateExpression (cell=0x80731a0) at newlisp.c:1058
result = (CELL *) 0x80731a0
args = (CELL *) 0x8073470
pCell = (CELL *) 0x8071e00
resultIdxSave = 2
#12 0x08050059 in evaluateBlock (cell=0x80731a0) at newlisp.c:3966
result = (CELL *) 0x0
#13 0x080503c5 in repeat (params=0x8073150, type=2) at newlisp.c:4094
result = (CELL *) 0x2
cell = (CELL *) 0x0
resultIdxSave = 2
#14 0x080502d1 in p_until (params=0x8073150) at newlisp.c:4060
No locals.
#15 0x0804b832 in evaluateExpression (cell=0x8073140) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x8073160
pCell = (CELL *) 0x8071d90
resultIdxSave = 2
#16 0x0804b07c in evaluateStream (stream=0xbffff320, outDevice=0, flag=1) at newlisp.c:855
program = (CELL *) 0x8073000
eval = (CELL *) 0x80731e0
---Type <return> to continue, or q <return> to quit---
resultIdxSave = 1
result = 1
#17 0x0804d8ac in loadFile (fileName=0x8091fc8 "rss-ticker2.lsp", offset=0, encryptFlag=134683484) at newlisp.c:2446
result = (CELL *) 0x0
stream = {handle = 6, ptr = 0x80998d7 "\n\n(println default)\n(exit)\n",
buffer = 0x8099098 "#!/usr/bin/newlisp\n;;\n;; RSS Ticker v1.0 (c) Norman 2004\n;;\n;; Displays RSS Feed titels in your terminal screen\n;; by using tput codes.\n;;\n;; Linux terminal version with ANSI and tput required\n;; \n;;\n"..., position = 0, size = 18432}
errNo = 0
dataLen = 0
errorJumpSave = {{__jmpbuf = {134709576, -1073744412, -1073744780, -1073744488, -1073744832, 134522561}, __mask_was_saved = 0,
__saved_mask = {__val = {0 <repeats 32 times>}}}}
key = "\000\000\000\000\001\000\000\000@H\035@\001\000\000"
#18 0x08050bc1 in p_load (params=0x8071d40) at newlisp.c:4366
fileName = 0x8091fc8 "rss-ticker2.lsp"
result = (CELL *) 0x0
#19 0x0804b832 in evaluateExpression (cell=0x8072fb0) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x8072fc0
pCell = (CELL *) 0x8072920
resultIdxSave = 1
#20 0x0804b07c in evaluateStream (stream=0xbffff400, outDevice=2, flag=0) at newlisp.c:855
program = (CELL *) 0x8071d60
eval = (CELL *) 0x8071d40
resultIdxSave = 0
result = 1
#21 0x0804aeca in executeCommandLine (command=0xbffff400 "", outDevice=2, cmdStream=0xbffff460) at newlisp.c:833
stream = {handle = 0, ptr = 0x8092088 "", buffer = 0x8092070 "(load \"rss-ticker2.lsp\")", position = 0, size = 2072}
#22 0x0804a801 in main (argc=1, argv=0xbffff5e4) at newlisp.c:663
command = "c\223\004\b\224W\f@¨÷\004@ ", '\0' <repeats 11 times>, ":þ\f@d«\f@t#\f@¨÷\004@\b\000\000\000\214ý\004@Ðý\004@Ø_\001@|f\001@\000\000\000\000dõÿ¿\230u\000@Ý\222\004\b\216ÿw\001À\212\004\b õÿ¿(f\001@\005\000\000\000Ðý\004@\001\000\000\000\000\000\000\000\001\000\000\000\211Ë\f@ õÿ¿ô?\035@\000\000\000\000äõÿ¿8õÿ¿\216ÿw\001\220õÿ¿Ðd\001@Ý\222\004\b/÷ÿ¿Îð\021@¤\235\f@¨÷\004@8õÿ¿uB\r@ô?\035@ìõÿ¿Xõÿ¿ºn\004@Ø_\001@Xk\001@X"...
cmdStream = {handle = 0, ptr = 0x0, buffer = 0x0, position = 0, size = 0}
idx = 1
cmd = 0x8092070 "(load \"rss-ticker2.lsp\")"
(gdb) backtrace
#0 0x400e7d81 in kill () from /lib/libc.so.6
#1 0x400e7b05 in raise () from /lib/libc.so.6
#2 0x400e905d in abort () from /lib/libc.so.6
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
#5 0x40121abf in _int_free () from /lib/libc.so.6
#6 0x401206df in free () from /lib/libc.so.6
#7 0x0804c268 in deleteList (cell=0x401d3ff4) at newlisp.c:1536
#8 0x0804b608 in evaluateExpression (cell=0x80a2848) at newlisp.c:1112
#9 0x08050059 in evaluateBlock (cell=0x8073900) at newlisp.c:3966
#10 0x080508ce in p_dolist (params=0x8073290) at newlisp.c:4246
#11 0x0804b832 in evaluateExpression (cell=0x80731a0) at newlisp.c:1058
#12 0x08050059 in evaluateBlock (cell=0x80731a0) at newlisp.c:3966
#13 0x080503c5 in repeat (params=0x8073150, type=2) at newlisp.c:4094
#14 0x080502d1 in p_until (params=0x8073150) at newlisp.c:4060
#15 0x0804b832 in evaluateExpression (cell=0x8073140) at newlisp.c:1058
#16 0x0804b07c in evaluateStream (stream=0xbffff320, outDevice=0, flag=1) at newlisp.c:855
#17 0x0804d8ac in loadFile (fileName=0x8091fc8 "rss-ticker2.lsp", offset=0, encryptFlag=134683484) at newlisp.c:2446
#18 0x08050bc1 in p_load (params=0x8071d40) at newlisp.c:4366
#19 0x0804b832 in evaluateExpression (cell=0x8072fb0) at newlisp.c:1058
#20 0x0804b07c in evaluateStream (stream=0xbffff400, outDevice=2, flag=0) at newlisp.c:855
#21 0x0804aeca in executeCommandLine (command=0xbffff400 "", outDevice=2, cmdStream=0xbffff460) at newlisp.c:833
#22 0x0804a801 in main (argc=1, argv=0xbffff5e4) at newlisp.c:663
(gdb)
-- (define? (Cornflakes))
Lutz,
What version of readline do you use?
What does newlisp with readline?
I compiled newlisp without readline (and pjot also) NO problems,
WITH readline it crashes...
my readline version is: readline-4.3-i486-3
Pjots version: readline-4.3-i486-3
PS: does not have to be the problem! but just checking..
Reagrds, Norman
What version of readline do you use?
What does newlisp with readline?
I compiled newlisp without readline (and pjot also) NO problems,
WITH readline it crashes...
my readline version is: readline-4.3-i486-3
Pjots version: readline-4.3-i486-3
PS: does not have to be the problem! but just checking..
Reagrds, Norman
-- (define? (Cornflakes))
Well i changed to readline-5.0 and still crashes..here the output...
What does newlisp do with readline regarding functions? malloc?
here my makefile
# makefile for newLISP v. 8.x.x on LINUX
#
# Note, that readline support may require different libraries on different OSs
#
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DREADLINE -DLINUX
#CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DLINUX
CC = gcc
default: $(OBJS)
# $(CC) $(OBJS) -g -lm -ldl -lreadline -ltermcap -o newlisp
$(CC) $(OBJS) -g -lm -ldl -lreadline -lncurses -o newlisp
# $(CC) $(OBJS) -g -lm -ldl -o newlisp
# strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux
(gdb) bt
#0 0x400e7d81 in kill () from /lib/libc.so.6
#1 0x400e7b05 in raise () from /lib/libc.so.6
#2 0x400e905d in abort () from /lib/libc.so.6
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
#5 0x40121abf in _int_free () from /lib/libc.so.6
#6 0x401206df in free () from /lib/libc.so.6
#7 0x0804c268 in deleteList (cell=0x401d3ff4) at newlisp.c:1536
#8 0x0804b608 in evaluateExpression (cell=0x80a3fc0) at newlisp.c:1112
#9 0x08050059 in evaluateBlock (cell=0x80736f0) at newlisp.c:3966
#10 0x080508ce in p_dolist (params=0x80731d0) at newlisp.c:4246
#11 0x0804b832 in evaluateExpression (cell=0x80731b0) at newlisp.c:1058
#12 0x08050059 in evaluateBlock (cell=0x80731b0) at newlisp.c:3966
#13 0x080503c5 in repeat (params=0x8073150, type=2) at newlisp.c:4094
#14 0x080502d1 in p_until (params=0x8073150) at newlisp.c:4060
#15 0x0804b832 in evaluateExpression (cell=0x8073140) at newlisp.c:1058
#16 0x0804b07c in evaluateStream (stream=0xbffff3e0, outDevice=0, flag=1) at newlisp.c:855
#17 0x0804d8ac in loadFile (fileName=0x8096648 "rss-ticker2.lsp", offset=0, encryptFlag=134683484) at newlisp.c:2446
#18 0x08050bc1 in p_load (params=0x8071d40) at newlisp.c:4366
#19 0x0804b832 in evaluateExpression (cell=0x8072fb0) at newlisp.c:1058
#20 0x0804b07c in evaluateStream (stream=0xbffff4c0, outDevice=2, flag=0) at newlisp.c:855
#21 0x0804aeca in executeCommandLine (command=0xbffff4c0 "", outDevice=2, cmdStream=0xbffff520) at newlisp.c:833
#22 0x0804a801 in main (argc=1, argv=0xbffff6a4) at newlisp.c:663
(gdb) bt full
#0 0x400e7d81 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0x400e7b05 in raise () from /lib/libc.so.6
No symbol table info available.
#2 0x400e905d in abort () from /lib/libc.so.6
No symbol table info available.
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#5 0x40121abf in _int_free () from /lib/libc.so.6
No symbol table info available.
#6 0x401206df in free () from /lib/libc.so.6
No symbol table info available.
#7 0x0804c268 in deleteList (cell=0x401d3ff4) at newlisp.c:1536
next = (CELL *) 0x401d3ff4
#8 0x0804b608 in evaluateExpression (cell=0x80a3fc0) at newlisp.c:1112
result = (CELL *) 0x80a6c10
args = (CELL *) 0x8073700
pCell = (CELL *) 0x401d59c0
resultIdxSave = 4
#9 0x08050059 in evaluateBlock (cell=0x80736f0) at newlisp.c:3966
result = (CELL *) 0x0
#10 0x080508ce in p_dolist (params=0x80731d0) at newlisp.c:4246
cell = (CELL *) 0x3
list = (CELL *) 0x8073340
symbol = (SYMBOL *) 0x809f090
#11 0x0804b832 in evaluateExpression (cell=0x80731b0) at newlisp.c:1058
result = (CELL *) 0x80731b0
args = (CELL *) 0x80731e0
pCell = (CELL *) 0x8071e00
resultIdxSave = 2
#12 0x08050059 in evaluateBlock (cell=0x80731b0) at newlisp.c:3966
result = (CELL *) 0x0
#13 0x080503c5 in repeat (params=0x8073150, type=2) at newlisp.c:4094
result = (CELL *) 0x2
cell = (CELL *) 0x0
resultIdxSave = 2
#14 0x080502d1 in p_until (params=0x8073150) at newlisp.c:4060
No locals.
#15 0x0804b832 in evaluateExpression (cell=0x8073140) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x8073160
pCell = (CELL *) 0x8071d90
resultIdxSave = 2
#16 0x0804b07c in evaluateStream (stream=0xbffff3e0, outDevice=0, flag=1) at newlisp.c:855
---Type <return> to continue, or q <return> to quit---
program = (CELL *) 0x8073000
eval = (CELL *) 0x80731c0
resultIdxSave = 1
result = 1
#17 0x0804d8ac in loadFile (fileName=0x8096648 "rss-ticker2.lsp", offset=0, encryptFlag=134683484) at newlisp.c:2446
result = (CELL *) 0x0
stream = {handle = 6, ptr = 0x809add7 "\n\n(println default)\n(exit)\n",
buffer = 0x809a598 "#!/usr/bin/newlisp\n;;\n;; RSS Ticker v1.0 (c) Norman 2004\n;;\n;; Displays RSS Feed titels in your terminal screen\n;;
by using tput codes.\n;;\n;; Linux terminal version with ANSI and tput required\n;; \n;;\n"..., position = 0, size = 18432}
errNo = 0
dataLen = 0
errorJumpSave = {{__jmpbuf = {134709576, -1073744220, -1073744588, -1073744296, -1073744640, 134522561}, __mask_was_saved = 0,
__saved_mask = {__val = {0 <repeats 32 times>}}}}
key = "pôÿ¿\000\000\000\000àóÿ¿@óÿ¿"
#18 0x08050bc1 in p_load (params=0x8071d40) at newlisp.c:4366
fileName = 0x8096648 "rss-ticker2.lsp"
result = (CELL *) 0x0
#19 0x0804b832 in evaluateExpression (cell=0x8072fb0) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x8072fc0
pCell = (CELL *) 0x8072920
resultIdxSave = 1
#20 0x0804b07c in evaluateStream (stream=0xbffff4c0, outDevice=2, flag=0) at newlisp.c:855
program = (CELL *) 0x8071d60
eval = (CELL *) 0x8071d40
resultIdxSave = 0
result = 1
#21 0x0804aeca in executeCommandLine (command=0xbffff4c0 "", outDevice=2, cmdStream=0xbffff520) at newlisp.c:833
stream = {handle = 0, ptr = 0x8096798 "", buffer = 0x8096780 "(load \"rss-ticker2.lsp\")", position = 0, size = 2072}
#22 0x0804a801 in main (argc=1, argv=0xbffff6a4) at newlisp.c:663
command = "c\223\004\b\224W\f@¨÷\004@ ", '\0' <repeats 11 times>, ":þ\f@d«\f@t#\f@¨÷\004@\b\000\000\000\214ý\004@Ðý\004@Ø_\001@|f\001
@\000\000\000\000$öÿ¿\230u\000@Ý\222\004\b\216ÿw\001À\212\004\bàõÿ¿(f\001@\005\000\000\000Ðý\004@\001\000\000\000\000\000\000\000\001\000\000
\000\211Ë\f@àõÿ¿ô?\035@\000\000\000\000¤öÿ¿øõÿ¿\216ÿw\001Pöÿ¿Ðd\001@Ý\222\004\bÕ÷ÿ¿Îð\021@¤\235\f@¨÷\004@øõÿ¿uB\r@ô?\035@¬öÿ¿\030öÿ¿ºn\004@Ø_
\001@Xk\001@\030"...
cmdStream = {handle = 0, ptr = 0x0, buffer = 0x0, position = 0, size = 0}
idx = 1
cmd = 0x8096780 "(load \"rss-ticker2.lsp\")"
(gdb)
What does newlisp do with readline regarding functions? malloc?
here my makefile
# makefile for newLISP v. 8.x.x on LINUX
#
# Note, that readline support may require different libraries on different OSs
#
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DREADLINE -DLINUX
#CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DLINUX
CC = gcc
default: $(OBJS)
# $(CC) $(OBJS) -g -lm -ldl -lreadline -ltermcap -o newlisp
$(CC) $(OBJS) -g -lm -ldl -lreadline -lncurses -o newlisp
# $(CC) $(OBJS) -g -lm -ldl -o newlisp
# strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux
(gdb) bt
#0 0x400e7d81 in kill () from /lib/libc.so.6
#1 0x400e7b05 in raise () from /lib/libc.so.6
#2 0x400e905d in abort () from /lib/libc.so.6
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
#5 0x40121abf in _int_free () from /lib/libc.so.6
#6 0x401206df in free () from /lib/libc.so.6
#7 0x0804c268 in deleteList (cell=0x401d3ff4) at newlisp.c:1536
#8 0x0804b608 in evaluateExpression (cell=0x80a3fc0) at newlisp.c:1112
#9 0x08050059 in evaluateBlock (cell=0x80736f0) at newlisp.c:3966
#10 0x080508ce in p_dolist (params=0x80731d0) at newlisp.c:4246
#11 0x0804b832 in evaluateExpression (cell=0x80731b0) at newlisp.c:1058
#12 0x08050059 in evaluateBlock (cell=0x80731b0) at newlisp.c:3966
#13 0x080503c5 in repeat (params=0x8073150, type=2) at newlisp.c:4094
#14 0x080502d1 in p_until (params=0x8073150) at newlisp.c:4060
#15 0x0804b832 in evaluateExpression (cell=0x8073140) at newlisp.c:1058
#16 0x0804b07c in evaluateStream (stream=0xbffff3e0, outDevice=0, flag=1) at newlisp.c:855
#17 0x0804d8ac in loadFile (fileName=0x8096648 "rss-ticker2.lsp", offset=0, encryptFlag=134683484) at newlisp.c:2446
#18 0x08050bc1 in p_load (params=0x8071d40) at newlisp.c:4366
#19 0x0804b832 in evaluateExpression (cell=0x8072fb0) at newlisp.c:1058
#20 0x0804b07c in evaluateStream (stream=0xbffff4c0, outDevice=2, flag=0) at newlisp.c:855
#21 0x0804aeca in executeCommandLine (command=0xbffff4c0 "", outDevice=2, cmdStream=0xbffff520) at newlisp.c:833
#22 0x0804a801 in main (argc=1, argv=0xbffff6a4) at newlisp.c:663
(gdb) bt full
#0 0x400e7d81 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0x400e7b05 in raise () from /lib/libc.so.6
No symbol table info available.
#2 0x400e905d in abort () from /lib/libc.so.6
No symbol table info available.
#3 0x4011a46c in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4 0x40122df6 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#5 0x40121abf in _int_free () from /lib/libc.so.6
No symbol table info available.
#6 0x401206df in free () from /lib/libc.so.6
No symbol table info available.
#7 0x0804c268 in deleteList (cell=0x401d3ff4) at newlisp.c:1536
next = (CELL *) 0x401d3ff4
#8 0x0804b608 in evaluateExpression (cell=0x80a3fc0) at newlisp.c:1112
result = (CELL *) 0x80a6c10
args = (CELL *) 0x8073700
pCell = (CELL *) 0x401d59c0
resultIdxSave = 4
#9 0x08050059 in evaluateBlock (cell=0x80736f0) at newlisp.c:3966
result = (CELL *) 0x0
#10 0x080508ce in p_dolist (params=0x80731d0) at newlisp.c:4246
cell = (CELL *) 0x3
list = (CELL *) 0x8073340
symbol = (SYMBOL *) 0x809f090
#11 0x0804b832 in evaluateExpression (cell=0x80731b0) at newlisp.c:1058
result = (CELL *) 0x80731b0
args = (CELL *) 0x80731e0
pCell = (CELL *) 0x8071e00
resultIdxSave = 2
#12 0x08050059 in evaluateBlock (cell=0x80731b0) at newlisp.c:3966
result = (CELL *) 0x0
#13 0x080503c5 in repeat (params=0x8073150, type=2) at newlisp.c:4094
result = (CELL *) 0x2
cell = (CELL *) 0x0
resultIdxSave = 2
#14 0x080502d1 in p_until (params=0x8073150) at newlisp.c:4060
No locals.
#15 0x0804b832 in evaluateExpression (cell=0x8073140) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x8073160
pCell = (CELL *) 0x8071d90
resultIdxSave = 2
#16 0x0804b07c in evaluateStream (stream=0xbffff3e0, outDevice=0, flag=1) at newlisp.c:855
---Type <return> to continue, or q <return> to quit---
program = (CELL *) 0x8073000
eval = (CELL *) 0x80731c0
resultIdxSave = 1
result = 1
#17 0x0804d8ac in loadFile (fileName=0x8096648 "rss-ticker2.lsp", offset=0, encryptFlag=134683484) at newlisp.c:2446
result = (CELL *) 0x0
stream = {handle = 6, ptr = 0x809add7 "\n\n(println default)\n(exit)\n",
buffer = 0x809a598 "#!/usr/bin/newlisp\n;;\n;; RSS Ticker v1.0 (c) Norman 2004\n;;\n;; Displays RSS Feed titels in your terminal screen\n;;
by using tput codes.\n;;\n;; Linux terminal version with ANSI and tput required\n;; \n;;\n"..., position = 0, size = 18432}
errNo = 0
dataLen = 0
errorJumpSave = {{__jmpbuf = {134709576, -1073744220, -1073744588, -1073744296, -1073744640, 134522561}, __mask_was_saved = 0,
__saved_mask = {__val = {0 <repeats 32 times>}}}}
key = "pôÿ¿\000\000\000\000àóÿ¿@óÿ¿"
#18 0x08050bc1 in p_load (params=0x8071d40) at newlisp.c:4366
fileName = 0x8096648 "rss-ticker2.lsp"
result = (CELL *) 0x0
#19 0x0804b832 in evaluateExpression (cell=0x8072fb0) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x8072fc0
pCell = (CELL *) 0x8072920
resultIdxSave = 1
#20 0x0804b07c in evaluateStream (stream=0xbffff4c0, outDevice=2, flag=0) at newlisp.c:855
program = (CELL *) 0x8071d60
eval = (CELL *) 0x8071d40
resultIdxSave = 0
result = 1
#21 0x0804aeca in executeCommandLine (command=0xbffff4c0 "", outDevice=2, cmdStream=0xbffff520) at newlisp.c:833
stream = {handle = 0, ptr = 0x8096798 "", buffer = 0x8096780 "(load \"rss-ticker2.lsp\")", position = 0, size = 2072}
#22 0x0804a801 in main (argc=1, argv=0xbffff6a4) at newlisp.c:663
command = "c\223\004\b\224W\f@¨÷\004@ ", '\0' <repeats 11 times>, ":þ\f@d«\f@t#\f@¨÷\004@\b\000\000\000\214ý\004@Ðý\004@Ø_\001@|f\001
@\000\000\000\000$öÿ¿\230u\000@Ý\222\004\b\216ÿw\001À\212\004\bàõÿ¿(f\001@\005\000\000\000Ðý\004@\001\000\000\000\000\000\000\000\001\000\000
\000\211Ë\f@àõÿ¿ô?\035@\000\000\000\000¤öÿ¿øõÿ¿\216ÿw\001Pöÿ¿Ðd\001@Ý\222\004\bÕ÷ÿ¿Îð\021@¤\235\f@¨÷\004@øõÿ¿uB\r@ô?\035@¬öÿ¿\030öÿ¿ºn\004@Ø_
\001@Xk\001@\030"...
cmdStream = {handle = 0, ptr = 0x0, buffer = 0x0, position = 0, size = 0}
idx = 1
cmd = 0x8096780 "(load \"rss-ticker2.lsp\")"
(gdb)
Last edited by newdep on Sat Jan 07, 2006 10:59 am, edited 2 times in total.
-- (define? (Cornflakes))
Lutz,
Without any strange options.. here a simple debug of get-url
like this -> (goes wrong!) (and below also one thats oke!!)
(setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
s$gdb newlisp
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/newlisp
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
Program received signal SIGSEGV, Segmentation fault.
0x400e2dc9 in malloc_consolidate () from /lib/libc.so.6
(gdb) bt
#0 0x400e2dc9 in malloc_consolidate () from /lib/libc.so.6
#1 0x400e2493 in _int_malloc () from /lib/libc.so.6
#2 0x400e1548 in malloc () from /lib/libc.so.6
#3 0x0804c730 in allocMemory (nbytes=2325) at newlisp.c:1594
#4 0x0804c501 in copyCell (cell=0x401969c0) at newlisp.c:1484
#5 0x0804fbeb in setDefine (symbol=0x80aecd8, params=0x6d783f3c, type=1702240364) at newlisp.c:3597
#6 0x0804fa27 in p_setq (params=0x808bc00) at newlisp.c:3516
#7 0x0804bc22 in evaluateExpression (cell=0x808ba70) at newlisp.c:1058
#8 0x0804b46c in evaluateStream (stream=0xbffff440, outDevice=2, flag=0) at newlisp.c:855
#9 0x0804b2ba in executeCommandLine (command=0xbffff440 "", outDevice=2, cmdStream=0xbffff4a0) at newlisp.c:833
#10 0x0804abf1 in main (argc=1, argv=0xbffff624) at newlisp.c:663
(gdb) bt full
#0 0x400e2dc9 in malloc_consolidate () from /lib/libc.so.6
No symbol table info available.
#1 0x400e2493 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#2 0x400e1548 in malloc () from /lib/libc.so.6
No symbol table info available.
#3 0x0804c730 in allocMemory (nbytes=2325) at newlisp.c:1594
ptr = (void *) 0x40194ff4
#4 0x0804c501 in copyCell (cell=0x401969c0) at newlisp.c:1484
newCell = (CELL *) 0x808bc40
#5 0x0804fbeb in setDefine (symbol=0x80aecd8, params=0x6d783f3c, type=1702240364) at newlisp.c:3597
cell = (CELL *) 0x808bc00
#6 0x0804fa27 in p_setq (params=0x808bc00) at newlisp.c:3516
symbol = (SYMBOL *) 0x6576206c
next = (CELL *) 0x808a800
#7 0x0804bc22 in evaluateExpression (cell=0x808ba70) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x808ba80
pCell = (CELL *) 0x401969c0
resultIdxSave = 1
#8 0x0804b46c in evaluateStream (stream=0xbffff440, outDevice=2, flag=0) at newlisp.c:855
program = (CELL *) 0x808a820
eval = (CELL *) 0x808a800
resultIdxSave = 0
result = 1
#9 0x0804b2ba in executeCommandLine (command=0xbffff440 "", outDevice=2, cmdStream=0xbffff4a0) at newlisp.c:833
stream = {handle = 0, ptr = 0x80adcd2 "", buffer = 0x80adc98 "(setq url (get-url \"http://www.newlisp.org/rss.cgi?News\"))",
position = 0, size = 2106}
#10 0x0804abf1 in main (argc=1, argv=0xbffff624) at newlisp.c:663
command = "Õ\225\004\b\224g\b@\030õ\004@ ", '\0' <repeats 11 times>, ":\016\t@d»\b@t3\b@\030õ\004@\006\000\000\000,ø\004@hø\004@Ø_\00
1@|f\001@\000\000\000\000¤õÿ¿\230u\000@>\225\004\b\216ÿw\001\020\214\004\b`õÿ¿(f\001@\004\000\000\000hø\004@\001\000\000\000\000\000\000\000\
001\000\000\000\211Û\b@`õÿ¿ôO\031@\000\000\000\000$öÿ¿xõÿ¿\216ÿw\001Ðõÿ¿Ðd\001@>\225\004\b`÷ÿ¿Î\000\016@¤\b@\030õ\004@xõÿ¿uR\t@ôO\031@,öÿ¿\2
30õÿ¿ºn\004@Ø_\001@Xk\001@\230"...
cmdStream = {handle = 0, ptr = 0x0, buffer = 0x0, position = 0, size = 0}
idx = 1
cmd = 0x80adc98 "(setq url (get-url \"http://www.newlisp.org/rss.cgi?News\"))"
(gdb)
AND without !!! the setq url !!! is works oke !!!
$gdb newlisp
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/newlisp
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (get-url "http://www.newlisp.org/rss.cgi?News")
[text]<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="newLISP Wiki/CMS rss.cgi v. 1.0" -->
<rss version="0.92">
<channel>
<title>newLISP</title>
<description>News and Comments</description>
<link>http://newlisp.org</link>
<copyright>copyright (c) Lutz Mueller, 2005. All rights reserved.</copyright>
<item>
<title>development version newLISP 8.7.6</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :52%202006 </link>
</item>
<item>
<title>development version newLISP 8.7.5</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :58%202005 </link>
</item>
<item>
<title>development version newLISP 8.7.4</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :18%202005 </link>
</item>
<item>
<title>newLISP coding competition</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=lutz% ... :41%202005 </link>
</item>
<item>
<title>Users about newLISP</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :41%202005 </link>
</item>
<item>
<title>development version newLISP 8.7.3</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :06%202005 </link>
</item>
<item>
<title>repost development version newLISP 8.7.2</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :18%202005 </link>
</item>
<item>
<title>development version newLISP 8.7.2</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :14%202005 </link>
</item>
<item>
<title>newLISP release version 8.7.1</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=lutz% ... :50%202005 </link>
</item>
</channel>
</rss>
[/text]
> bt
nil
>
Without any strange options.. here a simple debug of get-url
like this -> (goes wrong!) (and below also one thats oke!!)
(setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
s$gdb newlisp
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/newlisp
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
Program received signal SIGSEGV, Segmentation fault.
0x400e2dc9 in malloc_consolidate () from /lib/libc.so.6
(gdb) bt
#0 0x400e2dc9 in malloc_consolidate () from /lib/libc.so.6
#1 0x400e2493 in _int_malloc () from /lib/libc.so.6
#2 0x400e1548 in malloc () from /lib/libc.so.6
#3 0x0804c730 in allocMemory (nbytes=2325) at newlisp.c:1594
#4 0x0804c501 in copyCell (cell=0x401969c0) at newlisp.c:1484
#5 0x0804fbeb in setDefine (symbol=0x80aecd8, params=0x6d783f3c, type=1702240364) at newlisp.c:3597
#6 0x0804fa27 in p_setq (params=0x808bc00) at newlisp.c:3516
#7 0x0804bc22 in evaluateExpression (cell=0x808ba70) at newlisp.c:1058
#8 0x0804b46c in evaluateStream (stream=0xbffff440, outDevice=2, flag=0) at newlisp.c:855
#9 0x0804b2ba in executeCommandLine (command=0xbffff440 "", outDevice=2, cmdStream=0xbffff4a0) at newlisp.c:833
#10 0x0804abf1 in main (argc=1, argv=0xbffff624) at newlisp.c:663
(gdb) bt full
#0 0x400e2dc9 in malloc_consolidate () from /lib/libc.so.6
No symbol table info available.
#1 0x400e2493 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#2 0x400e1548 in malloc () from /lib/libc.so.6
No symbol table info available.
#3 0x0804c730 in allocMemory (nbytes=2325) at newlisp.c:1594
ptr = (void *) 0x40194ff4
#4 0x0804c501 in copyCell (cell=0x401969c0) at newlisp.c:1484
newCell = (CELL *) 0x808bc40
#5 0x0804fbeb in setDefine (symbol=0x80aecd8, params=0x6d783f3c, type=1702240364) at newlisp.c:3597
cell = (CELL *) 0x808bc00
#6 0x0804fa27 in p_setq (params=0x808bc00) at newlisp.c:3516
symbol = (SYMBOL *) 0x6576206c
next = (CELL *) 0x808a800
#7 0x0804bc22 in evaluateExpression (cell=0x808ba70) at newlisp.c:1058
result = (CELL *) 0x1
args = (CELL *) 0x808ba80
pCell = (CELL *) 0x401969c0
resultIdxSave = 1
#8 0x0804b46c in evaluateStream (stream=0xbffff440, outDevice=2, flag=0) at newlisp.c:855
program = (CELL *) 0x808a820
eval = (CELL *) 0x808a800
resultIdxSave = 0
result = 1
#9 0x0804b2ba in executeCommandLine (command=0xbffff440 "", outDevice=2, cmdStream=0xbffff4a0) at newlisp.c:833
stream = {handle = 0, ptr = 0x80adcd2 "", buffer = 0x80adc98 "(setq url (get-url \"http://www.newlisp.org/rss.cgi?News\"))",
position = 0, size = 2106}
#10 0x0804abf1 in main (argc=1, argv=0xbffff624) at newlisp.c:663
command = "Õ\225\004\b\224g\b@\030õ\004@ ", '\0' <repeats 11 times>, ":\016\t@d»\b@t3\b@\030õ\004@\006\000\000\000,ø\004@hø\004@Ø_\00
1@|f\001@\000\000\000\000¤õÿ¿\230u\000@>\225\004\b\216ÿw\001\020\214\004\b`õÿ¿(f\001@\004\000\000\000hø\004@\001\000\000\000\000\000\000\000\
001\000\000\000\211Û\b@`õÿ¿ôO\031@\000\000\000\000$öÿ¿xõÿ¿\216ÿw\001Ðõÿ¿Ðd\001@>\225\004\b`÷ÿ¿Î\000\016@¤\b@\030õ\004@xõÿ¿uR\t@ôO\031@,öÿ¿\2
30õÿ¿ºn\004@Ø_\001@Xk\001@\230"...
cmdStream = {handle = 0, ptr = 0x0, buffer = 0x0, position = 0, size = 0}
idx = 1
cmd = 0x80adc98 "(setq url (get-url \"http://www.newlisp.org/rss.cgi?News\"))"
(gdb)
AND without !!! the setq url !!! is works oke !!!
$gdb newlisp
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/newlisp
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (get-url "http://www.newlisp.org/rss.cgi?News")
[text]<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="newLISP Wiki/CMS rss.cgi v. 1.0" -->
<rss version="0.92">
<channel>
<title>newLISP</title>
<description>News and Comments</description>
<link>http://newlisp.org</link>
<copyright>copyright (c) Lutz Mueller, 2005. All rights reserved.</copyright>
<item>
<title>development version newLISP 8.7.6</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :52%202006 </link>
</item>
<item>
<title>development version newLISP 8.7.5</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :58%202005 </link>
</item>
<item>
<title>development version newLISP 8.7.4</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :18%202005 </link>
</item>
<item>
<title>newLISP coding competition</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=lutz% ... :41%202005 </link>
</item>
<item>
<title>Users about newLISP</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :41%202005 </link>
</item>
<item>
<title>development version newLISP 8.7.3</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :06%202005 </link>
</item>
<item>
<title>repost development version newLISP 8.7.2</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :18%202005 </link>
</item>
<item>
<title>development version newLISP 8.7.2</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :14%202005 </link>
</item>
<item>
<title>newLISP release version 8.7.1</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=lutz% ... :50%202005 </link>
</item>
</channel>
</rss>
[/text]
> bt
nil
>
-- (define? (Cornflakes))
Okay, I found something very interesting.
1) Start a new xTerm, then start newlisp. From the newLisp console, I run this:
(setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
This is the result:
2) Start a new xTerm, then start newLisp. From the newLisp console, I run this:
(get-url "http://www.newlisp.org/rss.cgi?News")
This is the result:
Peter
1) Start a new xTerm, then start newlisp. From the newLisp console, I run this:
(setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
This is the result:
As you see, I arrive back to the Linux prompt immediately, without results.peter@Solarstriker:~$ newlisp
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
peter@Solarstriker:~$
2) Start a new xTerm, then start newLisp. From the newLisp console, I run this:
(get-url "http://www.newlisp.org/rss.cgi?News")
This is the result:
Look at how the result ends: with a [/text], which is correct. Now, if I run the first query in this same session again, this is the result:peter@Solarstriker:~$ newlisp
newLISP v.8.7.6 on linux, execute 'newlisp -h' for more info.
> (get-url "http://www.newlisp.org/rss.cgi?News")
[text]<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="newLISP Wiki/CMS rss.cgi v. 1.0" -->
<rss version="0.92">
<channel>
<title>newLISP</title>
<description>News and Comments</description>
<link>http://newlisp.org</link>
<copyright>copyright (c) Lutz Mueller, 2005. All rights reserved.</copyright>
<item>
<title>development version newLISP 8.7.6</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :52%202006 </link>
</item>
<item>
...... ETCETERA......
2020%2017:01:14%202005 </link>
</item>
<item>
<title>newLISP release version 8.7.1</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=lutz% ... :50%202005 </link>
</item>
</channel>
</rss>
[/text]
It seems to work, but look at how the query ends: with !02005<á, instead of [/text].> (setq url (get-url "http://www.newlisp.org/rss.cgi?News"))
[text]<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="newLISP Wiki/CMS rss.cgi v. 1.0" -->
<rss version="0.92">
<channel>
<title>newLISP</title>
<description>News and Comments</description>
<link>http://newlisp.org</link>
<copyright>copyright (c) Lutz Mueller, 2005. All rights reserved.</copyright>
<item>
<title>development version newLISP 8.7.6</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=Lutz% ... :52%202006 </link>
</item>
<item>
<title>development version newLISP 8.7.5</title>
<description></description>
.....ETCETERA.....
</item>
<item>
<title>newLISP release version 8.7.1</title>
<description></description>
<link>http://newlisp.org/index.cgi?find=lutz% ... :50%202005 </link>
</item>
</channel>
</rss>
!02005 <á
Peter