Comment 10 for bug 405378

Revision history for this message
Sjors Gielen (sgielen) wrote :

Tried to find out a little more regarding this.

ubuntu-bug just spawns an ubuntu-kde process, as it should; when killing ubuntu-bug ubuntu-kde stays in the system, so that's not the problem.

The problem is that ubuntu-kde, after trying to send, seems to freeze/halt in a poll():

poll([{fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 18779) = 1 ([{fd=8, revents=POLLIN}])
read(8, "\34\257\311 \247\1\0\0\325\1\0\0\237\337\340\0\0\0\0\0\0\0\0\0P\317)\1\0\0\0\0"..., 4096) = 64
read(8, 0x29f25e4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(8, 0x29f25e4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(8, 0x29f25e4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 18726) = 1 ([{fd=8, revents=POLLIN}])
read(8, "\34K\311 \247\1\0\0\333\1\0\0\271\337\340\0\0\320)\1\0\0\0\0P\317)\1\0\0\0\0"..., 4096) = 64
read(8, 0x29f25e4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(8, 0x29f25e4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(8, 0x29f25e4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}], 4, 18699^C <unfinished ...>
Process 2869 detached

This last poll() never finishes, probably because it waits for GUI input when all windows are gone. During this, apport-bug just stays around wait()ing for the apport-kde process.

This happens after apport-kde just sent the bug report; the next step would be opening the browser, which apport-cli perfectly succeeds to do.