[Bug 213257] New: KMail just crashes when started
https://bugzilla.novell.com/show_bug.cgi?id=213257 Summary: KMail just crashes when started Product: openSUSE 10.2 Version: Alpha 5 plus Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: KDE AssignedTo: kde-maintainers@suse.de ReportedBy: stbinner@suse.de QAContact: qa@suse.de On Factory and Alpha5plus just crashes when started without helpful backtrace. The Kontact KMail part works fine though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from dmueller@novell.com 2006-10-18 04:57 MST ------- I'll give a look -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |mmeeks@novell.com ------- Comment #2 from dmueller@novell.com 2006-10-18 05:14 MST ------- its caused by symbol interposing: Duplicate symbols: /opt/kde-35/bin/kmail /opt/kde-35/lib/libkmailprivate.so implement: KMKernel::mySelf is there some way to disable -Bdirect for a couple of symbols? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 ------- Comment #3 from dmueller@novell.com 2006-10-18 05:18 MST ------- ok, I was able to workaround it with a one liner.. but this is a serious limitation of -Bdirect. I'm not sure how much worth it is anyway now that --dynamic-list-cpp exists. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llunak@novell.com ------- Comment #4 from llunak@novell.com 2006-10-18 06:02 MST ------- $nm -DC kmail | grep mySelf 0804b984 B KMKernel::mySelf IMHO this is -Bdirect bug. This is a copy relocation that always leads to interposing. I think -Bdirect should work only for functions, but this one is clearly in the BSS. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 ------- Comment #5 from dmueller@novell.com 2006-10-18 06:16 MST ------- I don't think it is that easy, there are some interposes where it doesn't matter.. readelf -r /opt/kde-35/bin/kmail | grep R_386_COPY 0804d220 00000a05 R_386_COPY 0804d220 _ZN12KApplication4KApp 0804d224 00002e05 R_386_COPY 0804d224 _ZN8KMKernel6mySelfE 0804d228 00004905 R_386_COPY 0804d228 _ZN5QChar4nullE 0804d230 00006305 R_386_COPY 0804d230 _ZTI14QPtrCollection 0804d238 00006405 R_386_COPY 0804d238 _ZTVN10__cxxabiv120__s 0804d264 00006a05 R_386_COPY 0804d264 _ZN7QString11shared_nu 0804d268 00007405 R_386_COPY 0804d268 _ZTI18KUniqueApplicati e.g. QChar::null is close to irrelevant.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 ------- Comment #6 from mmeeks@novell.com 2006-10-18 06:28 MST ------- So - we should ignore the copy relocs as we link the app: + /* app -> library data references get turned into copy + relocs, so objects can migrate unpredictably into the + application itself. */ + else if (h->type == STT_OBJECT) + dt_index |= DT_DIRECT_VAGUE; So - perhaps the patch in binutils is out of sync, or something worse is happening. So - to find the linking bug I would (personally) do: LD_DEBUG=bindings:symbols kmail then I'd diff -u the output vs. with LD_BIND_DIRECT turned off - and find the problematic symbol. Then use 'readelf -y' to dump the 'direct' section data: this should show us the direct linkage table; and it -should- show that none of the STT_OBJECT symbols [ which generate copy relocs ] have direct linkage data (being instead marked 'vague'). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |mmeeks@novell.com Severity|Blocker |Enhancement Status|NEEDINFO |NEW Info Provider|mmeeks@novell.com | Summary|KMail just crashes when |need a way to exclude symbols from -Bdirect |started | ------- Comment #7 from dmueller@novell.com 2006-10-19 04:04 MST ------- as discussed on IRC, the -Bdirect itself is most likely not responsible for that, but given that we have two symbol clashes between kdecore and kio, they shouldn't be -Bdirected and therefore we need a linker script to exclude them. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 ------- Comment #8 from llunak@novell.com 2006-10-20 08:12 MST ------- Created an attachment (id=102138) --> (https://bugzilla.novell.com/attachment.cgi?id=102138&action=view) kdelibs patch I think something like this should do for having exceptions from -Bdirect (the patch being for the KProtocolInfo stuff). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 mmeeks@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mmeeks@novell.com |llunak@novell.com ------- Comment #9 from mmeeks@novell.com 2007-04-27 05:23 MST ------- The solution looks fine, assigning to you Lubos :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213257 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #10 from llunak@novell.com 2007-05-03 06:25 MST ------- Committed to KDE SVN, use KDE_WEAK for any such symbols. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com