Re: radosgw segfault in 0.56

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 7, 2013 at 1:04 PM, Sylvain Munaut
<s.munaut@xxxxxxxxxxxxxxxxxxxx> wrote:
> Ok, I tracked this down ...
>
> I'm using lighttpd as a FastCGI front end and it doesn't set
> SCRIPT_URI environment.
>
>
> So the line 1123 in rgw/rgw_rest.cc :
>
> s->script_uri = s->env->get("SCRIPT_URI");
>
> Tries to assign NULL to s->script_uri  which crashes with the
> particularly unhelpful stack trace I pasted above ...

Yeah, it's missing a guard here. Strange, I remember fixing this and
others, but I can't find any trace of that. I think setting it to
empty string is ok, though we may want to explore other fixes
(configurable?) -- it affects the Location field in S3 POST response.

Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux