This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] initialize bootstrap_map.l_tls_modid


Running some tests on qemu I sometimes hit the assertion

_dl_start_final: Assertion `info->l.l_tls_modid == 0'

I initially thought that it was a bug in qemu, but investigating
further showed that  bootstrap_map.l_tls_modid was stack allocated but
not initialized.

The attached patch initializes it to 0. The bug is a bit hard to
reproduce, but it can be done by initializing l_tls_modid to another
value.

Should I add a bug report in bugzilla?

Best Regards,
Rafael

Attachment: libc.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]