pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42579: Undelivered Mail Returned to Sender
>Number: 42579
>Category: pkg
>Synopsis: Undelivered Mail Returned to Sender
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 05 02:40:00 +0000 2010
>Originator: Sverre Froyen
>Release: NetBSD 5.99.23
>Organization:
Viewmark
>Environment:
System: NetBSD abbor.fesk.com 5.99.23 NetBSD 5.99.23 (ABBOR) #12: Thu Dec 31
10:02:20 MST 2009
toor%abbor.fesk.com@localhost:/usr/src/obj.amd64/sys/arch/amd64/compile/ABBOR
amd64
Architecture: x86_64
Machine: amd64
>Description:
At some point, possibly all the way back to when I first tried KDE4, I started
to see crashes in plasma-desktop. Because it restarts automatically, however,
fixing it was not a priority, but I did start collecting backtraces from core
dumps. One of these shows a problem in the resolver library:
Core was generated by `plasma-desktop'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f7ff56e18ba in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007f7ff56e18ba in _lwp_kill () from /usr/lib/libc.so.12
#1 0x00007f7ffaea4f15 in KCrash::defaultCrashHandler (sig=11) at
/usr/pkgsrc/x11/kdelibs4/work.x86_64/kdelibs-4.3.4/kdeui/util/kcrash.cpp:258
#2 <signal handler called>
#3 0x00007f7ff5689bbb in _malloc_prefork () from /usr/lib/libc.so.12
#4 0x00007f7ff5689e13 in free () from /usr/lib/libc.so.12
#5 0x00007f7ff56a0f3d in __res_ndestroy () from /usr/lib/libc.so.12
#6 0x00007f7ff56a216f in __res_vinit () from /usr/lib/libc.so.12
#7 0x00007f7ff56a967b in res_init () from /usr/lib/libc.so.12
#8 0x00007f7ffb89e683 in QHostInfoAgent::fromName ()
..
>How-To-Repeat:
Use the KDE4 desktop on NetBSD current.
>Fix:
According to Christos, res_init should not be used in a multithreaded program
program (which this is). I do not pretend to understand the Qt code, but
res_init is called from QHostInfoAgent::fromName if local_res_init is set.
Preventing this variable from being set makes the crashes stop (for me at
least). Besides, setting local_res_init seems superfluous since NetBSD
has res_ninit - which is thread-safe. The following patch (to x11/qt4-libs)
has worked well for me:
--- src/network/kernel/qhostinfo_unix.cpp.orig 2009-12-22 08:24:04.000000000
-0700
+++ src/network/kernel/qhostinfo_unix.cpp 2009-12-22 08:25:32.000000000
-0700
@@ -115,6 +115,8 @@ static void resolveLibrary()
if (!local_res_nclose)
local_res_ninit = 0;
}
+ if (local_res_ninit)
+ local_res_init = 0;
#endif
}
--AAD542742C.1262633783/abbor.fesk.com--
>Unformatted:
This is a MIME-encapsulated message.
--AAD542742C.1262633783/abbor.fesk.com
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host abbor.fesk.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<gnats-bugs%gnats.NetBSD.org@localhost>: host
vmbsd06.viewmark.com[216.38.205.113] said:
554 5.7.1 <gnats-bugs%gnats.NetBSD.org@localhost>: Relay access denied (in
reply to
RCPT TO command)
--AAD542742C.1262633783/abbor.fesk.com
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; abbor.fesk.com
X-Postfix-Queue-ID: AAD542742C
X-Postfix-Sender: rfc822; sverre%abbor.fesk.com@localhost
Arrival-Date: Mon, 4 Jan 2010 12:36:22 -0700 (MST)
Final-Recipient: rfc822; gnats-bugs%gnats.NetBSD.org@localhost
Action: failed
Status: 5.7.1
Remote-MTA: dns; vmbsd06.viewmark.com
Diagnostic-Code: smtp; 554 5.7.1 <gnats-bugs%gnats.NetBSD.org@localhost>:
Relay access
denied
--AAD542742C.1262633783/abbor.fesk.com
Content-Description: Undelivered Message
Content-Type: message/rfc822
Return-Path: <sverre%abbor.fesk.com@localhost>
Received: by abbor.fesk.com (Postfix, from userid 101)
id AAD542742C; Mon, 4 Jan 2010 12:36:22 -0700 (MST)
To: gnats-bugs%gnats.NetBSD.org@localhost
Subject: KDE4 plasma crashes - Qt4 resolver interface issue
From: sverre%viewmark.com@localhost
Reply-To: sverre%viewmark.com@localhost
X-send-pr-version: 3.95
Message-Id: <20100104193622.AAD542742C%abbor.fesk.com@localhost>
Date: Mon, 4 Jan 2010 12:36:22 -0700 (MST)
The KDE4 plasma desktop crashes randomly.
Home |
Main Index |
Thread Index |
Old Index