Bug 376226 - Kmail crash after start with nouveau errors
Summary: Kmail crash after start with nouveau errors
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 10:55 UTC by Ural
Modified: 2017-06-27 21:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ural 2017-02-09 10:55:44 UTC
Hello. I am using latest Plasma 5.9.1 from kde-overlay on latest gentoo-hardened and kernel 4.9.8 (tried with older also). I am using GCC 5.4.0
All working excellent, except kmail.
When I start, it asks about to import from other mail programs, then said about AccountWizard failure (why?), and then it starts. But when I do something (eg. resize the window), it crash.

While it is running I get this:
Executable is: "/usr/bin/kmail"
Executable exists: true
The specified process does not exist.
org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
"Tag 'a' is not defined in message {<__kuit_internal_top__>KMail has many powerful features that are described in th...}."
"Tag 'br' is not defined in message {<__kuit_internal_top__>Thank you,<br/>The KMail Team</__kuit_internal_top__>}."
org.kde.akonadi.ETM: Subtree:  3 QSet(3, 16, 14, 15, 12, 11, 8)
org.kde.akonadi.ETM: Fetch job took  92 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 7
org.kde.akonadi.ETM: first fetched collection: "Local Folders"
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Fetch job took  96 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 5
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.akonadi.ETM: Fetch job took  1 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 0
this does not work on a KActionCollection containing actions!
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch17: krec 0 pushes 0 bufs 2 relocs 0
nouveau: ch17: buf 00000000 00000002 00000004 00000004 00000000
nouveau: ch17: buf 00000001 00000006 00000004 00000000 00000004

After resize window:
kmail: /var/tmp/portage/x11-libs/libdrm-2.4.75/work/libdrm-2.4.75/nouveau/pushbuf.c:727: nouveau_pushbuf_data: Assertion `kref' failed.
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.
nouveau: kernel rejected pushbuf: Bad file descriptor
nouveau: ch17: krec 0 pushes 1 bufs 4 relocs 0
nouveau: ch17: buf 00000000 00000005 00000004 00000004 00000000
nouveau: ch17: buf 00000001 00000006 00000004 00000000 00000004
nouveau: ch17: buf 00000002 00000034 00000002 00000000 00000002
nouveau: ch17: buf 00000003 00000040 00000004 00000004 00000000
nouveau: ch17: psh 00000000 000000a968 000000aa0c
nouveau:        0x20056080
nouveau:        0x000000d5
nouveau:        0x00000000
nouveau:        0x00000040
nouveau:        0x00000001
nouveau:        0x00000000
nouveau:        0x20046086
nouveau:        0x00000100
nouveau:        0x00000100
nouveau:        0x00000000
nouveau:        0x01d40000
nouveau:        0x2002608c
nouveau:        0x000000cf
nouveau:        0x00000001
nouveau:        0x20056091
nouveau:        0x00000400
nouveau:        0x00000100
nouveau:        0x00000100
nouveau:        0x00000000
nouveau:        0x027b6000
nouveau:        0x80006223
nouveau:        0x2004622c
nouveau:        0x00000000
nouveau:        0x00000000
nouveau:        0x00000100
nouveau:        0x00000100
nouveau:        0x20046230
nouveau:        0x00000000
nouveau:        0x00000001
nouveau:        0x00000000
nouveau:        0x00000001
nouveau:        0x20046234
nouveau:        0x00000000
nouveau:        0x00000001
nouveau:        0x00000000
nouveau:        0x00000001
nouveau:        0x20046234
nouveau:        0x00000000
nouveau:        0x00000000
nouveau:        0x00000000
nouveau:        0x00000000
nouveau:        0x200406c0
nouveau:        0x00000000
nouveau:        0x00238000
nouveau:        0x00000257
nouveau:        0x1000f010
[0209/105411:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x5bc030]GL ERROR :GL_OUT_OF_MEMORY : ScopedTextureBinder::dtor: <- error from previous GL command
[0209/105411:ERROR:gles2_cmd_decoder.cc(4471)] Error: 5 for Command kCopySubTextureCHROMIUM
[0209/105411:ERROR:gles2_cmd_decoder.cc(3579)]   GLES2DecoderImpl: Trying to make lost context current.
[0209/105411:ERROR:gles2_cmd_decoder.cc(3579)]   GLES2DecoderImpl: Trying to make lost context current.
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
[0209/105411:FATAL:scoped_file.cc(30)] Check failed: 0 == IGNORE_EINTR(close(fd)). : Bad file descriptor
#0 0x03d1daebc851 <unknown>
#1 0x03d1daed376e <unknown>
#2 0x03d1daed48ab <unknown>
#3 0x03d1daecf741 <unknown>
#4 0x03d1dab698f3 <unknown>
#5 0x03d1dab69941 <unknown>
#6 0x03d1dab6a0ec <unknown>
#7 0x03d1dab69a59 <unknown>
#8 0x03d1dab6c7ef <unknown>
#9 0x03d1daeb41ba <unknown>
#10 0x03d1daeb431e <unknown>
#11 0x03d1cda2bba0 event_base_loop
#12 0x03d1daeb3709 <unknown>
#13 0x03d1daeefc96 <unknown>
#14 0x03d1daed9294 <unknown>
#15 0x03d1daf083d9 <unknown>
#16 0x03d1daf046ba <unknown>
#17 0x03d1e4a92248 start_thread
#18 0x03d1ee46642d clone

sock_file=/var/run/user/1000/kdeinit5__0
Unable to start Dr. Konqi
Comment 1 Ural 2017-02-09 10:58:29 UTC
Dmesg:
[ 6578.515013] nouveau 0000:01:00.0: kmail[10232]: Unknown handle 0x00000028
[ 6578.515017] nouveau 0000:01:00.0: kmail[10232]: validate_init
[ 6578.515019] nouveau 0000:01:00.0: kmail[10232]: validate: -2
[ 6580.041921] nouveau 0000:01:00.0: gr: TRAP ch 17 [023f2ae000 kmail[10232]]
[ 6580.041930] nouveau 0000:01:00.0: gr: GPC0/TPC0/TEX: 80000041
[ 6580.041937] nouveau 0000:01:00.0: gr: GPC1/TPC0/TEX: 80000041
[ 6580.041942] nouveau 0000:01:00.0: gr: GPC1/TPC1/TEX: 80000041
[ 6580.041949] nouveau 0000:01:00.0: gr: GPC2/TPC0/TEX: 80000041
[ 6580.041954] nouveau 0000:01:00.0: gr: GPC2/TPC1/TEX: 80000041
[ 6580.041971] nouveau 0000:01:00.0: fifo: read fault at 0002180000 engine 00 [GR] client 01 [GPC1/T1_0] reason 02 [PTE] on channel 17 [023f2ae000 kmail[10232]]
[ 6580.041974] nouveau 0000:01:00.0: fifo: gr engine fault on channel 17, recovering...
[ 6595.083098] nouveau 0000:01:00.0: kmail[10232]: failed to idle channel 17 [kmail[10232]]
[ 6610.082719] nouveau 0000:01:00.0: kmail[10232]: failed to idle channel 17 [kmail[10232]]
[ 6621.624146] nouveau 0000:01:00.0: kmail[10301]: Unknown handle 0x00000024
[ 6621.624150] nouveau 0000:01:00.0: kmail[10301]: validate_init
[ 6621.624152] nouveau 0000:01:00.0: kmail[10301]: validate: -2
[ 6978.136258] nouveau 0000:01:00.0: kmail[10301]: Unknown handle 0x00000032
[ 6978.136263] nouveau 0000:01:00.0: kmail[10301]: validate_init
[ 6978.136266] nouveau 0000:01:00.0: kmail[10301]: validate: -2
[ 6979.127683] nouveau 0000:01:00.0: kmail[10301]: Unknown handle 0x00000037
[ 6979.127687] nouveau 0000:01:00.0: kmail[10301]: validate_init
[ 6979.127689] nouveau 0000:01:00.0: kmail[10301]: validate: -2
[ 6979.163525] nouveau 0000:01:00.0: kmail[10301]: Unknown handle 0x0000003a
[ 6979.163530] nouveau 0000:01:00.0: kmail[10301]: validate_init
[ 6979.163532] nouveau 0000:01:00.0: kmail[10301]: validate: -2



I am using GTX 660 with phraph blobs and nouveau
Comment 2 Denis Kurz 2017-06-23 23:33:17 UTC
You forgot to provide the most important version: that of KMail/Kontact. If you still experience this problem, please state all relevant versions. Please note that Plasma has another release cycle as KDE Applications, the latter of which should have versions like 17.04.x right now, or 16.12.x when you reported the bug. You can also state the version used by KMail itself, which would be 5.5.x or 5.4.x, respectively.

Also, this might be graphics stack related, i.e. caused by Qt or your graphics driver. Did you try to upgrade/replace either of them? What did you try? Did anything help? Has the problem vanished since your report?
Comment 3 Christoph Feck 2017-06-27 21:07:25 UTC
Well known nouveau_pushbuf_data crash.