From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
To: musl@lists.openwall.com
Subject: Re: Reviving planned ldso changes
Date: Sat, 14 Jan 2017 15:30:50 -0600 [thread overview]
Message-ID: <587A988A.50105@Wilcox-Tech.com> (raw)
In-Reply-To: <20170104193627.GO1555@brightrain.aerifal.cx>
[-- Attachment #1: Type: text/plain, Size: 2370 bytes --]
On 04/01/17 13:36, Rich Felker wrote:
> Here's a v2 of the patch with the above issues fixed, and some
> comments that hopefully make it make sense. I still think there's more
> logic needed to allow concurrent ctors from unrelated dlopen in
> multiple threads, though.
>
> Rich
>
Applied to this to Adélie's musl package in a dev overlay and rebooted a
box with this patch applied.
What a fantastic little show!
iv_tls_user_ptr: called on unregistered iv_tls_user
/etc/init.d/syslog-ng: line 34: 2560 Aborted syslog-ng
-s -f "${SYSLOG_NG_CONFIGFILE}"
* ERROR: syslog-ng failed to start
When X tried to start up, further fireworks:
/usr/bin/startkde: line 384: 2638 Segmentation fault kwrapper5
/usr/bin/ksmserver $KDEWM $KSMSERVEROPTIONS
Starting program: /usr/bin/kwrapper5 /usr/bin/ksmserver
process 3281 is executing new program: /usr/bin/ksmserver
[New LWP 3287]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff009938b in operator== (s1=..., s2=...) at tools/qstring.cpp:2686
2686 tools/qstring.cpp: No such file or directory.
(gdb) bt
#0 0x00007ffff009938b in operator== (s1=..., s2=...) at
tools/qstring.cpp:2686
#1 0x00007fffe2af2ae4 in operator!= (s2=..., s1=...) at
/usr/include/qt5/QtCore/qstring.h:632
#2 KHintsSettings::KHintsSettings (this=0x7fffe65829c0, kdeglobals=...)
at
/usr/src/kde-plasma/plasma-integration-5.7.5/work/plasma-integration-5.7.5/src/platformtheme/khintssettings.cpp:70
Where khintssettings.cpp contains:
68 const QString looknfeel = cg.readEntry("LookAndFeelPackage",
defaultLookAndFeelPackage);
70 if (looknfeel != defaultLookAndFeelPackage) {
And defaultLookAndFeelPackage is defined earlier in the source file as a
constant:
static const QString defaultLookAndFeelPackage =
QStringLiteral("org.kde.breeze.desktop");
We can see that defaultLookAndFeelPackage was not initialised correctly:
(gdb) printqs5static looknfeel
$9 = (Qt5 QString)0xffffdde0 length=22: "org.kde.breeze.desktop"
(gdb) printqs5static defaultLookAndFeelPackage
$10 = (Qt5 QString)0xe2d0be90 length=Cannot access memory at address 0x4
It therefore seems to me that this patch still needs some refining.
--arw
--
A. Wilcox (awilfox)
Open-source programmer (C, C++, Python)
https://code.foxkit.us/u/awilfox/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2017-01-14 21:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-03 5:43 Rich Felker
2017-01-04 6:06 ` Rich Felker
2017-01-04 6:22 ` Rich Felker
2017-01-04 19:36 ` Rich Felker
2017-01-14 21:30 ` A. Wilcox [this message]
2017-01-15 17:44 ` Rich Felker
2017-02-26 1:04 ` Szabolcs Nagy
2017-02-26 1:39 ` Rich Felker
2017-02-26 10:28 ` Szabolcs Nagy
2017-02-26 15:20 ` Rich Felker
2017-02-26 15:34 ` Szabolcs Nagy
2017-02-26 21:39 ` Rich Felker
2017-03-03 1:30 ` Rich Felker
2017-03-04 10:58 ` Szabolcs Nagy
2017-03-06 1:11 ` Rich Felker
2017-03-07 22:02 ` Rich Felker
2017-03-08 18:55 ` Rich Felker
2017-03-06 16:25 ` Rich Felker
2017-01-04 10:51 ` Szabolcs Nagy
2017-02-16 1:58 ` Szabolcs Nagy
2017-02-16 2:39 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=587A988A.50105@Wilcox-Tech.com \
--to=awilcox@wilcox-tech.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).