[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Connection idle is SEGFAULTing
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] Connection idle is SEGFAULTing |
Date: |
Wed, 18 Aug 2010 14:23:58 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.32-trunk-vserver-amd64; KDE/4.4.4; x86_64; ; ) |
Hi!
If the segfault is on line 7 as you claim, that's purely in your code,
processing your data structures and you are not involving any memory or
pointers managed by MHD on that line, so the bug cannot be in MHD.
You might want to run valgrind to find out where your code mismanages memory.
Best,
Christian
On Monday 16 August 2010 19:50:49 Carlos Henrique Júnior wrote:
> it's segfaulting after the connection become idle, when MHD handle
> it's idleness:
>
> http://pastie.org/private/fuqn9hec23fv46qianhsoa
>
> The line of code to pay attention is 7.
>
> Carlos Júnior <address@hidden>
> www.milk-it.net
> +55 31 8763-5606
> +55 31 3227-1009