GNOME Bugzilla – Bug 243160
crash at startup (ld-linux lookup symbol?)
Last modified: 2013-09-10 14:03:10 UTC
This is a tracking bug because I didn't feel like spamming any of the reporters with all of the dups this is about to get...
*** bug 213169 has been marked as a duplicate of this bug. ***
*** bug 213716 has been marked as a duplicate of this bug. ***
*** bug 233416 has been marked as a duplicate of this bug. ***
*** bug 239364 has been marked as a duplicate of this bug. ***
*** bug 239899 has been marked as a duplicate of this bug. ***
*** bug 240729 has been marked as a duplicate of this bug. ***
*** bug 240922 has been marked as a duplicate of this bug. ***
*** bug 241856 has been marked as a duplicate of this bug. ***
And now for something somewhat but not entirely different...
*** bug 232153 has been marked as a duplicate of this bug. ***
*** bug 232286 has been marked as a duplicate of this bug. ***
*** bug 234786 has been marked as a duplicate of this bug. ***
*** bug 234798 has been marked as a duplicate of this bug. ***
*** bug 236318 has been marked as a duplicate of this bug. ***
*** bug 236703 has been marked as a duplicate of this bug. ***
*** bug 238124 has been marked as a duplicate of this bug. ***
*** http://bugzilla.ximian.com/show_bug.cgi?id=41495 has been marked as a duplicate of this bug. ***
*** bug 241533 has been marked as a duplicate of this bug. ***
*** bug 242229 has been marked as a duplicate of this bug. ***
*** bug 242307 has been marked as a duplicate of this bug. ***
*** bug 242741 has been marked as a duplicate of this bug. ***
*** bug 242770 has been marked as a duplicate of this bug. ***
25 dups (counting dups of dups)
(The first half are mostly in dlopen; the second half are mostly in bonobo-activation. Maybe it's two bugs?)
*** bug 243203 has been marked as a duplicate of this bug. ***
I can't find anything wrong with our code. I think there is just random memory corruption happening somewhere, except I can't find it. Also, mail_importer_init() is called fairly early in owner_set_cb() so the memory corruption has to happen before then. if all the crashes were in g_module_open(), I'd be blaming libc right about now, but unfortunately there are even a few crashes in mail_importer_module_init() which is a symbol loaded from each importer module. As far as I can tell, there is definetely no memory corruption happening within mail_importer_init(). looking at some of the backtraces, you can tell the correct (strdup'd) string is making it to g_module_open(), but the string passed to dlopen() by g_module_open is *not* the same pointer, so I wonder if glib is doing something fucked? Somehow I doubt this, but...*shrug* for all I know, this memory corruption could be in the shell or calendar or addressbook or summary...or... anywhere.
+ Trace 37028
gmodule.c from glib 1.2 (which is where all the reports are afaict) doesn't do anything with the filename, it just passes the same pointer that we pass to it. but from the bt, those 2 pointers differ. I have no idea how. "Not Possible"
hmmm, as far as the second type of trace, where the crasher is in mail_importer_module_init(), this bt seems the most complete: http://bugzilla.ximian.com/show_bug.cgi?id=41495 if one looks at that bt, one has to wonder if the corruption/bug/whatever is within gconf?
nah, on closer inspection it doesn't seem to be gconf. higher up in the callchain, there's an invalid pointer being passed to parse_default_uri() ? I dunno, maybe the bt is corrupted too, who the hell knows. this bug report is a complete waste of time to even bother looking at imho :\
If the problem is memory corruption, then it can't be in shell or summary since the problem used to happen with 1.2 when things were in separate processes. So it must either be a bonobo-activation/oaf bug, or a race condition in the mailer code.
Given that the 1.3 ones seem quite different from the earlier version ones (none of those are in mail importer init?), it is probably the strongest indication that the problem isn't actually with evolution code. i.e. my first impression and still strongest would be that it is a problem in libdl. Probably the next likeliest candidates are some problem in the indexing code, and/or the mail importer code. All areas, but particularly libdl, get heavily exercised at that initial startup stage - mail_importer_init is run at the same time as async tasks to open folders which are the first real calls to camel, and a lot of symbol resolution is happening. Without some sort of reliable reproduction scenario though ... and we dont even have any of the output from the terminal either, if there is any. I think i may have seen this once, but i'm not sure. I know i have a known buggy dynamic linker w/ multithreaded apps. FWIW some of the dups dont look particularly related, but only maybe half a dozen.
Yeah, I wasn't paying enough attention and didn't notice that a bunch of them are crashes in other threads while mail_importer_init merely happened to be running. Although many of those are crashes in libdl still, so it may still all be related.
closing.
Reopening since just happened to mtgordon
*** bug 244248 has been marked as a duplicate of this bug. ***
changed the summary the last crash was also using libxml from a thread, dunno if thats a problem too
Created attachment 42555 [details] test case
I have not successfully managed to run the attached 37-line program with it segfaulting. looks like a glibc bug
s/with/without/ you mean? :-)
*** bug 245072 has been marked as a duplicate of this bug. ***
*** bug 245136 has been marked as a duplicate of this bug. ***
re-closing since this is a glibc bug
(since it's a glibc bug AND we've reported it AND there's no way to work around it.)
*** bug 245995 has been marked as a duplicate of this bug. ***
*** bug 247230 has been marked as a duplicate of this bug. ***
*** bug 245872 has been marked as a duplicate of this bug. ***
*** bug 247368 has been marked as a duplicate of this bug. ***
*** bug 246201 has been marked as a duplicate of this bug. ***
*** bug 246964 has been marked as a duplicate of this bug. ***
*** bug 250210 has been marked as a duplicate of this bug. ***
*** bug 250450 has been marked as a duplicate of this bug. ***
*** bug 248932 has been marked as a duplicate of this bug. ***
*** bug 249536 has been marked as a duplicate of this bug. ***
*** bug 250278 has been marked as a duplicate of this bug. ***
*** bug 250655 has been marked as a duplicate of this bug. ***
*** bug 250724 has been marked as a duplicate of this bug. ***
*** bug 250902 has been marked as a duplicate of this bug. ***
*** bug 250937 has been marked as a duplicate of this bug. ***
*** bug 251766 has been marked as a duplicate of this bug. ***
*** bug 251829 has been marked as a duplicate of this bug. ***
*** bug 252407 has been marked as a duplicate of this bug. ***
*** bug 252456 has been marked as a duplicate of this bug. ***
*** bug 253318 has been marked as a duplicate of this bug. ***
*** bug 253680 has been marked as a duplicate of this bug. ***
*** bug 252539 has been marked as a duplicate of this bug. ***
*** bug 254394 has been marked as a duplicate of this bug. ***
*** bug 254511 has been marked as a duplicate of this bug. ***
*** bug 254650 has been marked as a duplicate of this bug. ***
*** http://bugzilla.ximian.com/show_bug.cgi?id=55071 has been marked as a duplicate of this bug. ***
*** bug 255345 has been marked as a duplicate of this bug. ***
*** bug 255781 has been marked as a duplicate of this bug. ***
*** bug 255853 has been marked as a duplicate of this bug. ***
*** bug 255257 has been marked as a duplicate of this bug. ***
*** bug 253985 has been marked as a duplicate of this bug. ***
*** bug 251832 has been marked as a duplicate of this bug. ***
*** bug 256036 has been marked as a duplicate of this bug. ***
*** bug 256047 has been marked as a duplicate of this bug. ***
*** bug 256138 has been marked as a duplicate of this bug. ***
*** bug 256139 has been marked as a duplicate of this bug. ***
*** bug 256154 has been marked as a duplicate of this bug. ***
*** bug 256205 has been marked as a duplicate of this bug. ***
*** bug 256415 has been marked as a duplicate of this bug. ***
*** bug 256605 has been marked as a duplicate of this bug. ***
*** bug 256732 has been marked as a duplicate of this bug. ***
*** bug 256737 has been marked as a duplicate of this bug. ***
*** bug 256968 has been marked as a duplicate of this bug. ***
*** bug 257149 has been marked as a duplicate of this bug. ***
*** bug 257153 has been marked as a duplicate of this bug. ***
*** bug 257267 has been marked as a duplicate of this bug. ***
*** bug 257613 has been marked as a duplicate of this bug. ***
FTR, this is fixed in both SUSE 9.1 and Fedora Core 2
*** bug 257745 has been marked as a duplicate of this bug. ***
*** bug 257879 has been marked as a duplicate of this bug. ***
*** bug 257887 has been marked as a duplicate of this bug. ***
*** bug 257888 has been marked as a duplicate of this bug. ***
*** bug 258463 has been marked as a duplicate of this bug. ***
*** bug 258518 has been marked as a duplicate of this bug. ***
*** bug 258852 has been marked as a duplicate of this bug. ***
*** bug 259085 has been marked as a duplicate of this bug. ***
*** bug 259288 has been marked as a duplicate of this bug. ***
*** bug 260461 has been marked as a duplicate of this bug. ***
*** bug 260477 has been marked as a duplicate of this bug. ***
*** bug 260520 has been marked as a duplicate of this bug. ***
*** bug 260670 has been marked as a duplicate of this bug. ***
*** bug 260841 has been marked as a duplicate of this bug. ***
*** http://bugzilla.ximian.com/show_bug.cgi?id=60876 has been marked as a duplicate of this bug. ***
*** bug 260952 has been marked as a duplicate of this bug. ***
*** bug 261036 has been marked as a duplicate of this bug. ***
*** bug 261103 has been marked as a duplicate of this bug. ***
*** bug 261106 has been marked as a duplicate of this bug. ***
*** bug 259703 has been marked as a duplicate of this bug. ***
*** bug 261195 has been marked as a duplicate of this bug. ***
*** bug 261209 has been marked as a duplicate of this bug. ***
*** bug 261269 has been marked as a duplicate of this bug. ***
*** bug 261396 has been marked as a duplicate of this bug. ***
*** bug 261534 has been marked as a duplicate of this bug. ***
*** bug 262037 has been marked as a duplicate of this bug. ***
*** bug 262100 has been marked as a duplicate of this bug. ***
*** bug 262236 has been marked as a duplicate of this bug. ***
*** bug 262666 has been marked as a duplicate of this bug. ***
*** bug 262693 has been marked as a duplicate of this bug. ***
*** bug 262781 has been marked as a duplicate of this bug. ***
*** bug 263018 has been marked as a duplicate of this bug. ***
*** bug 263103 has been marked as a duplicate of this bug. ***
*** bug 263506 has been marked as a duplicate of this bug. ***
*** bug 263579 has been marked as a duplicate of this bug. ***
*** bug 264415 has been marked as a duplicate of this bug. ***
*** bug 264971 has been marked as a duplicate of this bug. ***
*** bug 265418 has been marked as a duplicate of this bug. ***
*** bug 265579 has been marked as a duplicate of this bug. ***
*** bug 265624 has been marked as a duplicate of this bug. ***
*** bug 265695 has been marked as a duplicate of this bug. ***
*** bug 265724 has been marked as a duplicate of this bug. ***
*** bug 266251 has been marked as a duplicate of this bug. ***
*** http://bugzilla.ximian.com/show_bug.cgi?id=66586 has been marked as a duplicate of this bug. ***
*** bug 267281 has been marked as a duplicate of this bug. ***
*** bug 268417 has been marked as a duplicate of this bug. ***
*** http://bugzilla.ximian.com/show_bug.cgi?id=68638 has been marked as a duplicate of this bug. ***
*** bug 268655 has been marked as a duplicate of this bug. ***
*** bug 268665 has been marked as a duplicate of this bug. ***
*** bug 268953 has been marked as a duplicate of this bug. ***
*** bug 268995 has been marked as a duplicate of this bug. ***
*** bug 269376 has been marked as a duplicate of this bug. ***
*** bug 269378 has been marked as a duplicate of this bug. ***
*** bug 269469 has been marked as a duplicate of this bug. ***
*** bug 269808 has been marked as a duplicate of this bug. ***
*** bug 270313 has been marked as a duplicate of this bug. ***
*** Bug 251051 has been marked as a duplicate of this bug. ***
*** Bug 272057 has been marked as a duplicate of this bug. ***
*** Bug 272529 has been marked as a duplicate of this bug. ***
*** Bug 273351 has been marked as a duplicate of this bug. ***
*** Bug 273635 has been marked as a duplicate of this bug. ***
(removing CCs. they don't want to get the spam from this bug)
*** Bug 301968 has been marked as a duplicate of this bug. ***
*** Bug 306352 has been marked as a duplicate of this bug. ***
*** Bug 468031 has been marked as a duplicate of this bug. ***