expat + ntpl = sigsev
Piotr Szymanski
djurban w it-zone.org
Śro, 21 Sty 2004, 19:51:12 CET
Hi,
Paweł Sikora(Wednesday 21 of January 2004 19:06):
> to zapodaj linka do bugzilli jak to gdzies zglosisz.
Hmm,
19:42 <thiago> in fact, it looks like libpthread itself (set_thread_area,
set_tid_address)
19:42 <djurban> the process tries to change the block size, but brk(0x80b9000)
didnt return 0 -> error, the process didnt check the result of
brk(0x80b9000) and tried to write to the memmory which caused
a sig11
19:43 <djurban> I thouh it was an error in glibc
19:43 <djurban> ie in nptl
19:43 <thiago> that looks like nptl itself
19:44 <thiago> it's setting the thread pointer, then it's setting one signal
(SIG32)
19:44 <thiago> it sets the stack to 8MB, does a futex
19:45 <djurban> but my friend thhinks its qt's fault, because brk returns what
it should and qt doesnt check the returned values
19:45 <djurban> Im in the middle of searching for the code that does it
19:45 <thiago> RETURN VALUE
19:45 <thiago> On success, brk returns zero, and sbrk returns a
pointer to the start
19:45 <thiago> of the new area. On error, -1 is returned, and errno is
set to ENOMEM.
19:45 <thiago> can you valgrind that?
19:46 <djurban> unfortunately nptl doesnt allow valgrinding
BTW. Moglbys sie w miare szybko (20 minut pojawic na ircu?)
(irc.kde.org, /query djurban)
--
Piotr Szymanski
djurban w pld-linux.org
Więcej informacji o liście dyskusyjnej pld-devel-pl