Bug 166186 - Broken pipe in KIO after network connection lost
Summary: Broken pipe in KIO after network connection lost
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.9.9
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
: 166331 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-10 00:20 UTC by Juha Tuomala
Modified: 2009-10-11 12:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juha Tuomala 2008-07-10 00:20:16 UTC
Version:            (using KDE 3.5.9)
Installed from:    Fedora RPMs

(gdb) run --nofork
Starting program: /usr/bin/kmail --nofork
[Thread debugging using libthread_db enabled]
[New Thread 46912500972960 (LWP 19485)]
[New Thread 1084229968 (LWP 19488)]
[New Thread 1094719824 (LWP 19489)]
[New Thread 1105209680 (LWP 19490)]
[New Thread 1115699536 (LWP 19491)]
WeaverThreadLogger: thread (ID: 3) suspended.
WeaverThreadLogger: thread (ID: 2) suspended.
WeaverThreadLogger: thread (ID: 4) suspended.
WeaverThreadLogger: thread (ID: 1) suspended.

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 46912500972960 (LWP 19485)]
0x0000003d872c6ebb in write () from /lib64/libc.so.6
Current language:  auto; currently c
Missing separate debuginfos, use: debuginfo-install gpgme.x86_64 libgpg-error.x86_64 pcre.x86_64
(gdb) bt
#0  0x0000003d872c6ebb in write () from /lib64/libc.so.6
#1  0x0000003d8726c343 in _IO_new_file_write (f=0x256e5b0, data=0x2aaab2814000, n=1024) at fileops.c:1266
#2  0x0000003d8726c256 in _IO_new_do_write (fp=0x256e5b0, data=0x2aaab2814000 "  1896_50_", to_do=1024) at fileops.c:520
#3  0x0000003d8726d732 in _IO_new_file_xsputn (f=0x256e5b0, data=0x2ba7260, n=6294) at fileops.c:1348
#4  0x0000003d87262a4b in _IO_fwrite (buf=0x7700550052004d00, size=1, count=6294, fp=0x256e5b0) at iofwrite.c:45
#5  0x00000034361dabea in KIO::Connection::sendnow (this=0x239d2b0, _cmd=<value optimized out>, data=@0x7fffae6e4c90) at connection.cpp:194
#6  0x00000034361df5bc in KIO::Slave::send (this=<value optimized out>, cmd=-1300152320, arr=@0x400) at slave.cpp:294
#7  0x00000034361dfdd1 in KIO::SimpleJob::start (this=0x27a5ea0, slave=0x239d1f0) at job.cpp:556
#8  0x00000034361de8bc in KIO::Scheduler::slotScheduleCoSlave (this=0x1aec010) at scheduler.cpp:764
#9  0x00000034361ec301 in KIO::Scheduler::qt_invoke (this=0x1aec010, _id=8, _o=0x7fffae6e4f60) at scheduler.moc:165
#10 0x0000003433b63c29 in QObject::activate_signal (this=0x1aec0b8, clist=<value optimized out>, o=0x7fffae6e4f60) at kernel/qobject.cpp:2359
#11 0x0000003433b64900 in QObject::activate_signal (this=0x15, signal=<value optimized out>) at kernel/qobject.cpp:2328
#12 0x0000003433b87345 in QTimer::event (this=0x1aec0b8, e=0x2aaab2814000) at kernel/qtimer.cpp:222
#13 0x0000003433b02b75 in QApplication::internalNotify (this=<value optimized out>, receiver=0x1aec0b8, e=0x7fffae6e52a0) at kernel/qapplication.cpp:2638
#14 0x0000003433b03e40 in QApplication::notify (this=0x7fffae6e5730, receiver=0x1aec0b8, e=0x7fffae6e52a0) at kernel/qapplication.cpp:2361
#15 0x0000003434dc7e38 in KApplication::notify (this=0x7fffae6e5730, receiver=0x1aec0b8, event=0x7fffae6e52a0) at kapplication.cpp:550
#16 0x0000003433af7d8c in QEventLoop::activateTimers (this=<value optimized out>) at kernel/qapplication.h:523
#17 0x0000003433ab10d1 in QEventLoop::processEvents (this=0x6914b0, flags=<value optimized out>) at kernel/qeventloop_x11.cpp:392
#18 0x0000003433b1a321 in QEventLoop::enterLoop (this=0x15) at kernel/qeventloop.cpp:201
#19 0x0000003433b1a202 in QEventLoop::exec (this=0x15) at kernel/qeventloop.cpp:148
#20 0x0000000000402914 in main (argc=2, argv=<value optimized out>) at main.cpp:110
#21 0x0000003d8721e074 in __libc_start_main (main=0x4027c0 <main>, argc=2, ubp_av=0x7fffae6e59f8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffae6e59e8) at libc-start.c:220
#22 0x0000000000402669 in _start ()
Comment 1 Juha Tuomala 2008-07-10 00:21:49 UTC
it actually appears that i've lost net connection as my irc nicks have changed.
Comment 2 Kevin Kofler 2008-07-10 00:26:29 UTC
Then let's edit the summary to say so. ;-)
Comment 3 Thomas McGuire 2008-07-11 21:57:15 UTC
*** Bug 166331 has been marked as a duplicate of this bug. ***
Comment 4 Will Stephenson 2008-07-18 19:56:50 UTC
David, any insight into this and #165540?  It seems that the SimpleJob * stored in the coSlave (these are other slaves of the same type, right?) is invalid.  This happens using disconnected imap when the network connection breaks.
Comment 5 Juha Tuomala 2008-07-19 12:28:04 UTC
keyword bug #165540 might refer it as link...
Comment 6 Juha Tuomala 2008-07-19 12:29:43 UTC
> This happens using disconnected imap when the network connection breaks. 

for the record, mine imap is on-line one.
Comment 7 Josh Berry 2009-04-05 21:39:46 UTC
Could not reproduce on SVN trunk r949397.  (KDE 4)

Tried to reproduce this by killing my courier-imapd while KMail was doing I/O to the IMAP server.  Tried several times, and each time KMail recovered flawlessly. It transparently reestablished the connection without any indication that anything had gone wrong.  (And yes, I confirmed that the imapd was, in fact, killed.)
Comment 8 Martin Koller 2009-09-29 18:20:06 UTC
Well, then let's close it until someone can reproduce it.
Comment 9 Juha Tuomala 2009-09-29 19:20:18 UTC
Sorry, i have been nonresponsive. Actually i stopped reporting bugs to kde's bugzilla this summer since last release of kdeaddressbook closed tons of bugs including wishes (not reported by me) for no reason.

So until there is a clear policy for bug management here, agreed by everyone, i'm not going to participate anymore.
Comment 10 David Faure 2009-09-30 22:07:07 UTC
It's unrelated to this report, bug: the kaddressbook author closed all kaddressbook bugs because he rewrote completely the GUI while also porting kaddressbook to a new technology, akonadi. There is therefore -very- little left of the old kaddressbook (just a few dialogs).
If you find that an old bug still applies in 4.4 once it's released, feel free to reopen it. I was a bit surprised by this move too, but it kind of makes sense: rather than the maintainer having to go through 500 old bugs to keep only the still-valid ones, why not share that work with others who can do it: those who reported them.
Comment 11 Juha Tuomala 2009-09-30 23:07:09 UTC
(In reply to comment #10)
> It's unrelated to this report, bug: the kaddressbook author closed all
> kaddressbook bugs 

True.

> because he rewrote completely the GUI while also porting
> kaddressbook to a new technology, akonadi. There is therefore -very- little
> left of the old kaddressbook (just a few dialogs).

True.

> If you find that an old bug still applies in 4.4 once it's 
> released, feel free to reopen it. 

Cannot since I'm not the owner.

> I was a bit surprised by this move too, but it kind of makes sense: 
> rather than the maintainer having to go through 500 old bugs to keep
> only the still-valid ones, why not share that work with others 
> who can do it: those who reported them.

I agree with you fully. But you missed that he flushed completely 
valid feature *wishes* which in most cases don't have anything to
do with rewrite which doesn't change features that much. And that was the
exact case, *those* he closed *were* valid, had good discussion history 
which at least I consider somewhat valuable community participation.

Another point is to modify vanilla bugzilla so much, that community
cannot take part to clean up those 500 bugs. That's what people exactly 
would like to do, but are not even trusted for that - apparently.
Lot of those wishes were also so old, that original report might have
disappeared (at least I've not seen re-openings).

I've noticed that some developers ignore the reports completely and
let the reports pile up. Makes then wonder, why to have such database
at all.

Showing such ignorance and arrogance towards the community drives 
people away by just plain disgust. In my opinion at some parts KDE
has grown too big and popular and healthy community doesn't exist 
anymore. Sometimes it reminds me from GNOME-users-are-stupid-episode.

I used to report most of the crashes and thought that it would make
difference, but whatta hell, now I've more time to something else.
Comment 12 Juha Tuomala 2009-10-01 09:16:54 UTC
in last i mean s#original report#original reporter#
Comment 13 Thomas McGuire 2009-10-01 12:23:08 UTC
> I've noticed that some developers ignore the reports completely and
> let the reports pile up. Makes then wonder, why to have such database
> at all.

> Showing such ignorance and arrogance towards the community drives 
> people away by just plain disgust. In my opinion at some parts KDE
> has grown too big and popular and healthy community doesn't exist 
> anymore. Sometimes it reminds me from GNOME-users-are-stupid-episode.

It is certainly true that there are problems with the bug handling. We developers do KDE development in our free time, and there are so many reports that it is impossible to deal with all of them. For example, I do not ignore KMail reports, I read all incoming reports and comments, but I don't really have the time to actually deal with them. The Bugsquad helps us there a lot, especially in detecting incoming duplicates. Still, the database is useful, I personally find it especially useful to detect regressions in new releases or really bad bugs (which I admittedly didn't find the time to fix, for example the famous Slave::deref() crash). With the limited resources we have, it is natural that the reports 'pile up', I wish it would be different. That doesn't mean however that there is no use in bugzilla.

In the KAddressbook case, there is simply not a single developer working on the old KAddressbook, so having those reports open would not help. It was a mistake to close the wish reports though, we should have thought about that a bit more.

Please do not attribute our bug handling to ignorance and arrogance, that doesn't reflect the truth. We care about our software in our users, it is just that we don't have the resources to express that by dealing with bug reports in a better way.
Comment 14 Juha Tuomala 2009-10-01 13:29:35 UTC
I wrote somewhat lengthy response and konqueror crashed. I can feel the irony here. :-/ Perhaps i try later again.
Comment 15 David Faure 2009-10-02 10:31:04 UTC
> Cannot since I'm not the owner.

If you're interested in helping with bug triaging and/or reopening the 
kaddressbook wishes that still apply, I can you give the bugzilla permissions 
for doing so. The deal is: no more ranting, though :)

> I used to report most of the crashes and thought that it would make
> difference, but whatta hell, now I've more time to something else.

We always (try to) fix crashes, I don't see what the closing of old kaddressbok 
bugs has to do with that. The old bugs don't apply anymore, and the old wishes 
were closed by mistake, I agree.
Comment 16 Juha Tuomala 2009-10-02 10:55:55 UTC
Why not open the rights for everyone? I never saw any problems in Red Hat's bugzilla - for example that someone would have been setting wrong versions or components and vandalizing it.

Current strict policy is just damaging the community itself more than non-proven vandalizing would do. Giving me the rights is not going to solve the lack of manpower in needed scale and thus doesn't really solve anything.
Comment 17 David Faure 2009-10-02 12:50:14 UTC
Because we have seen people being unreasonable, like reopening bugs 
over and over again, for instance in the few "controversial" bugs (e.g. 
those related to politics, like which countries should appear in the 
country list, and a few other similar issues). We open the rights to 
everyone who asks and who appears to be reasonable. But we cannot just 
open it for everyone passing by. This solution does scale - we have a 
growing group of people who work on triaging bugs, whereas we had 
none just a few years ago.

David.
Comment 18 Juha Tuomala 2009-10-11 12:44:47 UTC
Whatever, I'm done with this bugzilla unless I see a written policy that I can agree with.