Article View: pl.comp.lang.pascal
Article #92543Re: [Lazarus][OT] TCurl niestety jeszcze nie naprawiony :(
From: Terrmit
Date: Sun, 06 Apr 2008 21:29
Date: Sun, 06 Apr 2008 21:29
72 lines
3318 bytes
3318 bytes
Łukasz 'Maly' Ostrowski pisze:
> Terrmit wrote:
>> Dostaję
>> Project raised exception class 'External: SIGSEGV'.
>> Execution paused
>> Adress: $0017112B
>> Procedure: strlen
>> File:
>>
>> jak pominę wysyłanie pliku, to reszta idzie na serwer
>> i błędu nie ma, czyli tylko przy przesyłaniu grafiki
>> na serwer program się wywala.
>
>
> Skompiluj z debugging info i z line info i połap się
> gdzie ten segmentation fault leci.
>
Nie jestem pewien, czy właściwe opcje włączyłem, ale
przytoczę fragment z wyjścia debuggera:
[...]
~"[New Thread -1212765296 (LWP 11192)]\n"
~"[Switching to Thread -1212765296 (LWP 11192)]\n"
*stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation
fault",thread-id="8",frame={addr="0x0017112b",func="strlen",args=[],from="/lib/libc.so.6"}
(gdb)
<-stack-info-depth>
^done,depth="12"
(gdb)
<-stack-list-arguments 1 0 0>
^done,stack-args=[frame={level="0",args=[]}]
(gdb)
<-stack-list-frames 0 0>
^done,stack=[frame={level="0",addr="0x0017112b",func="strlen",from="/lib/libc.so.6"}]
(gdb)
<-stack-list-arguments 1 1 1>
^done,stack-args=[frame={level="1",args=[]}]
(gdb)
<-stack-list-frames 1 1>
^done,stack=[frame={level="1",addr="0xb7fbdf06",func="fread",from="/usr/lib/libcurl.so.4"}]
(gdb)
<-stack-list-arguments 1 2 2>
^done,stack-args=[frame={level="2",args=[]}]
(gdb)
<-stack-list-frames 2 2>
^done,stack=[frame={level="2",addr="0xb7fbf24c",func="curl_mvsnprintf",from="/usr/lib/libcurl.so.4"}]
[...]
Chyba wystarczy. To jest to miejsce, gdzie następuje błąd.
Szczerze mówiąc z obsługi debuggera jestem raczej słaby,
także te komunikaty niewiele mi mówią.
Może Tobie coś więcej podpowiedzą.
Sławek
Technical Details
Message-ID:
<ftbfol$ksp$1@nemesis.news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!news.tpi.pl!not-for-mailReferences:
<fssr03$k01$1@atlantis.news.neostrada.pl> <fst2ug$gd3$1@nemesis.news.neostrada.pl> <fstdsc$lcb$1@atlantis.news.neostrada.pl> <ft0tt2$lih$1@atlantis.news.neostrada.pl> <ft1pbr$j$1@atlantis.news.neostrada.pl> <ft2rdj$h4m$1@atlantis.news.neostrada.pl> <ft2ren$h4m$2@atlantis.news.neostrada.pl> <ft2rss$p5g$1@news.dialog.net.pl> <ft4in8$mu0$1@atlantis.news.neostrada.pl> <ft5gmq$c5f$1@news.dialog.net.pl> <ft627f$s2s$1@atlantis.news.neostrada.pl> <ftargs$cn7$1@atlantis.news.neostrada.pl> <ftb453$s32$1@news.dialog.net.pl> <ftb5rt$sqp$1@nemesis.news.neostrada.pl> <ftb67i$dr1$1@atlantis.news.neostrada.pl> <ftb8p7$v6k$1@news.dialog.net.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!news.tpi.pl!not-for-mail From: Terrmit <terrmitv@poczta.onet.pl> Newsgroups: pl.comp.lang.pascal Subject: Re: [Lazarus][OT] TCurl niestety jeszcze nie naprawiony :( Date: Sun, 06 Apr 2008 23:29:42 +0200 Organization: TP - http://www.tp.pl/ Lines: 72 Message-ID: <ftbfol$ksp$1@nemesis.news.neostrada.pl> References: <fssr03$k01$1@atlantis.news.neostrada.pl> <fst2ug$gd3$1@nemesis.news.neostrada.pl> <fstdsc$lcb$1@atlantis.news.neostrada.pl> <ft0tt2$lih$1@atlantis.news.neostrada.pl> <ft1pbr$j$1@atlantis.news.neostrada.pl> <ft2rdj$h4m$1@atlantis.news.neostrada.pl> <ft2ren$h4m$2@atlantis.news.neostrada.pl> <ft2rss$p5g$1@news.dialog.net.pl> <ft4in8$mu0$1@atlantis.news.neostrada.pl> <ft5gmq$c5f$1@news.dialog.net.pl> <ft627f$s2s$1@atlantis.news.neostrada.pl> <ftargs$cn7$1@atlantis.news.neostrada.pl> <ftb453$s32$1@news.dialog.net.pl> <ftb5rt$sqp$1@nemesis.news.neostrada.pl> <ftb67i$dr1$1@atlantis.news.neostrada.pl> <ftb8p7$v6k$1@news.dialog.net.pl> NNTP-Posting-Host: fge166.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.neostrada.pl 1207517781 21401 83.13.160.166 (6 Apr 2008 21:36:21 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sun, 6 Apr 2008 21:36:21 +0000 (UTC) User-Agent: Thunderbird 2.0.0.12 (X11/20080226) In-Reply-To: <ftb8p7$v6k$1@news.dialog.net.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit