Bug 98410 - Applications crash when exiting
Summary: Applications crash when exiting
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-24 11:26 UTC by cismalescumlord
Modified: 2019-11-19 09:19 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg after booting kernel 4.8.3.1 (79.21 KB, text/plain)
2016-10-25 10:58 UTC, cismalescumlord
no flags Details
dmseg taken after kate crashes (100.80 KB, text/plain)
2016-10-25 11:00 UTC, cismalescumlord
no flags Details
dmesg when booting kernel 4.7.6.1 (85.99 KB, text/plain)
2016-10-25 11:00 UTC, cismalescumlord
no flags Details

Description cismalescumlord 2016-10-24 11:26:49 UTC
closing various applications leads to a crash. A couple of examples below. I set DRI_PRIME=1 as that uses the Radeon card and not the Intel. My laptop runs faster, cooler and quieter when I use this. Setting DRI_PRIME=0 does prevent the crashes. Firefox, Thunderbird and PyCharm all run and close just fine with DRI_PRIME=1.

    kate
    No docs r (or the only) opened right now --> disable menu
    radeon: Failed to allocate virtual address for buffer:
    radeon:    size      : 65536 bytes
    radeon:    alignment : 4096 bytes
    radeon:    domains   : 4
    radeon:    va        : 0x0000000000800000
    radeon: Failed to deallocate virtual address for buffer:
    radeon:    size      : 65536 bytes
    radeon:    va        : 0x800000
    radeon: Failed to allocate virtual address for buffer:
    radeon:    size      : 65536 bytes
    radeon:    alignment : 4096 bytes
    radeon:    domains   : 4
    radeon:    va        : 0x0000000000800000
    radeon: Failed to deallocate virtual address for buffer:
    radeon:    size      : 65536 bytes
    radeon:    va        : 0x800000
    radeonsi: Failed to create a context.
    No docs r (or the only) opened right now --> disable menu
    We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf\nLoaded services file OK.\nWARNING: The 'netbios name' is too long (max. 15 chars).\n\n"
    0x1f61ce0 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
    KCrash: Application 'kate' crashing...


    konsole
    radeon: Failed to allocate virtual address for buffer:
    radeon:    size      : 65536 bytes
    radeon:    alignment : 4096 bytes
    radeon:    domains   : 4
    radeon:    va        : 0x0000000000800000
    radeon: Failed to deallocate virtual address for buffer:
    radeon:    size      : 65536 bytes
    radeon:    va        : 0x800000
    radeon: Failed to allocate virtual address for buffer:
    radeon:    size      : 65536 bytes
    radeon:    alignment : 4096 bytes
    radeon:    domains   : 4
    radeon:    va        : 0x0000000000800000
    radeon: Failed to deallocate virtual address for buffer:
    radeon:    size      : 65536 bytes
    radeon:    va        : 0x800000
    radeonsi: Failed to create a context.
    KCrash: Application 'konsole' crashing...

This works fine with Kernel 4.7

$ kate
No docs r (or the only) opened right now --> disable menu
No docs r (or the only) opened right now --> disable menu
We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf\nLoaded services file OK.\nWARNING: The 'netbios name' is too long (max. 15 chars).\n\n"
0x1515460 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.

$ uname -a
Linux andromeda-ascendant 4.7.6-1-default #1 SMP PREEMPT Fri Sep 30 12:22:14 UTC 2016 (fb37fcc) x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Michel Dänzer 2016-10-25 03:16:43 UTC
Please attach the dmesg output corresponding to the problem.

Can you bisect the kernel?
Comment 2 cismalescumlord 2016-10-25 10:58:55 UTC
Created attachment 127537 [details]
dmesg after booting kernel 4.8.3.1
Comment 3 cismalescumlord 2016-10-25 11:00:02 UTC
Created attachment 127538 [details]
dmseg taken after kate crashes
Comment 4 cismalescumlord 2016-10-25 11:00:34 UTC
Created attachment 127539 [details]
dmesg when booting kernel 4.7.6.1
Comment 5 cismalescumlord 2016-10-25 11:02:33 UTC
Added dmesg files, but only kernel 4.8.3.1 is in the Tumbleweed repositories. The best I can do with a bisect is between 4.7.6.1 and 4.8.3.1 which probably isn't much help.

Would a meaningful backtrace of the crash help?
Comment 6 Martin Peres 2019-11-19 09:19:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/748.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.