From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-154777-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id E146E1391DB
	for <garchives@archives.gentoo.org>; Mon, 24 Mar 2014 14:48:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DBCBEE0ACD;
	Mon, 24 Mar 2014 14:47:57 +0000 (UTC)
Received: from mail.linznet.at (mail.linznet.at [80.66.32.32])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 96193E077B
	for <gentoo-user@lists.gentoo.org>; Mon, 24 Mar 2014 14:47:56 +0000 (UTC)
Received: (qmail 26838 invoked from network); 24 Mar 2014 14:47:52 -0000
Received: from unknown (HELO puchmayr.linznet.at) (91.142.26.35)
  by mail.linznet.at with ESMTPS (DHE-RSA-AES256-SHA encrypted); 24 Mar 2014 14:47:52 -0000
Received: (qmail 990 invoked by uid 210); 24 Mar 2014 14:47:52 -0000
Received: from zeus.local by persephone (envelope-from <alexander.puchmayr@linznet.at>, uid 201) with qmail-scanner-2.05st 
 (clamdscan: 0.97.3/14948. spamassassin: 3.3.2. perlscan: 2.05st.  
 Clear:RC:1(192.168.1.2):. 
 Processed in 10.802479 secs); 24 Mar 2014 14:47:52 -0000
Received: from zeus.local (HELO zeus.localnet) (192.168.1.2)
  by smtp.local with SMTP; 24 Mar 2014 14:47:41 -0000
From: Alexander Puchmayr <alexander.puchmayr@linznet.at>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] kde-misc/synaptiks crashes immediately [SOLVED]
Date: Mon, 24 Mar 2014 15:47:40 +0100
Message-ID: <2559291.hBRn2L7Vgm@zeus>
User-Agent: KMail/4.10.5 (Linux/3.10.17-gentoo; KDE/4.10.5; x86_64; ; )
In-Reply-To: <20140322171914.48495951@gentoo.org>
References: <2826009.IOZYBX0vv6@prometheus> <20140322171914.48495951@gentoo.org>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="US-ASCII"
X-Archives-Salt: fe29d91a-1162-4daa-97e5-e4fe493863ae
X-Archives-Hash: 780817a3bb0902aa181e28dbf224d0ee

Thanks for the reply.

strace showed very detailed the last syscalls before the SIGSEV:

[pid 21801] sendmsg(9, {msg_name(0)=3DNULL,=20
msg_iov(2)=3D[{"l\4\1\1\0\0\0\0\3\0\0\0X\0\0\0\1\1o\0\23\0\0\0/StatusNo=
tifierItem\0\0\0\0\0\2\1s\0\32\0\0\0org.kde.StatusNotifierItem\0\0\0
\0\0\0\3\1s\0\7\0\0\0NewIcon\0", 104}, {"", 0}], msg_controllen=3D0,=20=

msg_flags=3D0}, MSG_NOSIGNAL) =3D 104
[pid 21801] --- SIGSEGV {si_signo=3DSIGSEGV, si_code=3DSEGV_MAPERR, si_=
addr=3D0x8}=20
---

and file descriptor 9 was connected to dbus. Well, but this did not sho=
w WHERE=20
it crashed.

Next try was ltrace, but ltrace cannot be applied on python scripts (no=
 ELF).

Finally, I checked the dependencies, and starting with pykde4 seemed to=
 be a=20
good idea. Recompiled it with "USE=3Ddebug" and "CXXFLAGS=3D-O2 -g", an=
d voila,=20
synaptiks worked without a problem. Hmmm.=20

So, recompiled pykde with the normal options, and it still worked.
Very strange, since I ran revdep-rebuild and pyhton-updater after the w=
orld=20
upgrade ...=20
Note@self: Maybe updating/re-emerging PyQt4 and pykde4 is worth the tim=
e, even=20
if its not neccessary.

However, it seems to work now.=20

Best regards
=09Alex





Am Samstag, 22. M=E4rz 2014, 17:19:14 schrieb Tom Wijsman:
> On Sat, 22 Mar 2014 16:47:23 +0100
>=20
> Alexander Puchmayr <alexander.puchmayr@linznet.at> wrote:
> > Symptom:
> > Start synaptiks configuration module, get immedeately DrKonqi crash=

> > report (trace attached, likely not much useful since I disabled deb=
ug
> > flags) Start either from kde systemsettings or konsole; the latter
> > gives
> >=20
> > alex@prometheus /datadisk/home/alex $ synaptiks
> > Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14:
> > reading configurations from ~/.fonts.conf is deprecated.
> > KCrash: Application 'synaptiks' crashing...
> > KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from
> > kdeinit sock_file=3D/homedisk/alex/.kde4/socket-prometheus/kdeinit4=
__0
> > unnamed app(17763): Communication problem with  "synaptiks" , it
> > probably crashed.
> > Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Messa=
ge
> > did not receive a reply (timeout by message bus)" "
> >=20
> > Any ideas what could go wrong?
>=20
> The crash would reveal what is wrong; therefore, I suggest you to
> recompile the libraries of those packages with debug flags.
>=20
> See http://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
>=20
> Besides that, you might be able to use strace and/or ltrace (with -f
> parameter; if needed, increase the -s parameter) to see what happens
> under the hood.
>=20
> I'm suspecting you'll find the cause by inspecting both; because as
> the trace mixes in evaluation of a Python script, you might need to u=
se
> strace and/or ltrace to discover which Python script this is.
>=20
> A next step could be to use a debugger on that Python script if the
> trace, strace and/or ltrace are insufficient to reveal the cause.
>=20
> When you have found the cause, can you file the details in a bug at
> https://bugs.gentoo.org such that the maintainers are aware of this?
>=20
> Thank you very much in advance.
--=20
Dipl. Ing. Alexander Puchmayr
Grundbachstra=DFe 36
4060 Leonding, =D6sterreich