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

Bug#249986: ld.so crashes by SEGV on custom kernel



At Fri, 21 May 2004 10:52:00 +0400,
Alexander Gordeyev wrote:
>  GM> You may get the different result with the latest glibc 2.3.2.ds1
>  GM> instead of 2.2.5 old woody version.
> 
> Nope, we can't, since we stuck to stable release. I didn't check it against
> glibc-2.3.2, but the source from http://ftp.gnu.org/gnu/glibc contains the
> same bug.

Unfortunatelly we don't have no plan to modify stable release woody.
Moreover, the next release sarge is coming to freeze to release, so
currently we can't change most routines.

> *** dynamic-link.h Thu Jan 30 20:35:50 2003
> --- dynamic-link-fixed.h Thu May 20 11:17:26 2004
> *************** elf_get_dynamic_info (struct link_map *l
> *** 250,255 ****
> --- 250,256 ----
> 
> {                                                                   \
>               /* Combine processing the sections.  */
> \
>               assert (ranges[0].start + ranges[0].size == start);
> \
> +             ranges[1].start = NULL;
> \
>               ranges[0].size += (map)->l_info[DT_PLTRELSZ]->d_un.d_val;
> \
>             }
> \
>         }
> \

> There is more important issue. I recall, clearing of stack even by kernel is
> just pleasant side effect. In fact, it shouldn't (it shouldn't even clear
> the .bss). And I'm very easy imagine some time-critical architecture with
> swapping where just allocated pages aren't cleared due to performance
> issues.
> 
> PS. Did I right understand, you refuse this bug?

Yes, we should not depend on the non-standardized kernel behavior.
Could you provide more information for this bug why this bug fixes the
bug...?

Regards,
-- gotom



Reply to: