Arch +1 +1
I can confirm with git builds of DWM, and ST opening ST via ALT+SHIFT+ENTER
causes problems when quiting X. Rebuilding with termcmd set to open xterm
works fine, xserver closes normally. Opening ST via Dmenu works fine. I dont
think the problem is with DWM, or it is its been a long standing bug, even the
6.0 release of DWM that arch has in ABS has the same problems with ST.
Dmesg shows a kernel opps when closing DWM after at some point opening ST:
[ 314.788024] BUG: unable to handle kernel paging request at c90016508000
[ 314.788032] IP: [] bitfill_aligned+0x80/0x140
[ 314.788037] PGD 7ac18067 PUD 7ac19067 PMD 77146067 PTE 0
[ 314.788041] Oops: 0002 [#1] PREEMPT SMP
[ 314.788098] Modules linked in: arc4 ext4 crc16 mbcache jbd2 b43 bcma
mac80211 cfg80211 joydev rfkill iTCO_wdt gpio_ich iTCO_vendor_support ssb
mmc_core pcmcia coretemp pcmcia_core dell_laptop dcdbas dell_wmi sparse_keymap
microcode psmouse evdev ums_realtek serio_raw pcspkr lpc_ich acpi_cpufreq mperf
i915 sky2 drm_kms_helper i2c_i801 drm wmi processor thermal i2c_algo_bit
i2c_core intel_agp intel_gtt video button battery ac snd_hda_codec_idt
snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer snd
soundcore btrfs crc32c libcrc32c xor zlib_deflate raid6_pq serpent_sse2_x86_64
serpent_generic lrw glue_helper ablk_helper cryptd xts gf128mul dm_crypt dm_mod
sr_mod cdrom sd_mod usb_storage ahci libahci libata scsi_mod uhci_hcd ehci_pci
ehci_hcd usbcore usb_common
[ 314.788102] CPU: 1 PID: 595 Comm: X Not tainted 3.10.3-1-ARCH #1
[ 314.788103] Hardware name: Dell Inc. Inspiron 1545
/0G848F, BIOS A07 05/13/2009
[ 314.788106] task: 88007416e540 ti: 88006c38e000 task.ti:
88006c38e000
[ 314.788110] RIP: 0010:[] []
bitfill_aligned+0x80/0x140
[ 314.788112] RSP: 0018:88006c38faa8 EFLAGS: 00010202
[ 314.788114] RAX: 03a3 RBX: RCX:
[ 314.788116] RDX: 03a3 RSI: c90016101840 RDI: c90016508000
[ 314.788117] RBP: 88006c38fab8 R08: e8c0 R09: 03f7f2ab
[ 314.788119] R10: R11: c90016507ff8 R12:
[ 314.788120] R13: c90016101840 R14: 812cfed0 R15: 0300
[ 314.788123] FS: 7f85642b4880() GS:88007d90()
knlGS:
[ 314.788125] CS: 0010 DS: ES: CR0: 8005003b
[ 314.788127] CR2: c90016508000 CR3: 6c267000 CR4: 000407e0
[ 314.788129] DR0: DR1: DR2:
[ 314.788131] DR3: DR6: 0ff0 DR7: 0400
[ 314.788131] Stack:
[ 314.788138] 8800771cc000 88006c38fb28
812cfcbf
[ 314.788141] 88007ac0c000
818812e0
[ 314.788144] 0006 e8c06c38fb58
8800771cc000
[ 314.788145] Call Trace:
[ 314.788150] [] cfb_fillrect+0x1af/0x3c0
[ 314.788155] [] bit_clear_margins+0x165/0x190
[ 314.788159] [] fbcon_clear_margins+0x63/0x90
[ 314.788162] [] fbcon_switch+0x3bf/0x550
[ 314.788167] [] redraw_screen+0x189/0x260
[ 314.788171] [] fbcon_blank+0x20a/0x2d0
[ 314.788174] [] do_unblank_screen+0xa6/0x1c0
[ 314.788179] [] vt_ioctl+0x10c6/0x1160
[ 314.788183] [] tty_ioctl+0x26d/0xba0
[ 314.788189] [] ? mntput_no_expire+0x3e/0x150
[ 314.788193] [] do_vfs_ioctl+0x2e5/0x4d0
[ 314.788197] [] ? fput+0xe/0x10
[ 314.788201] [] ? task_work_run+0xa4/0xe0
[ 314.788205] [] SyS_ioctl+0x81/0xa0
[ 314.788210] [] system_call_fastpath+0x1a/0x1f
[ 314.788240] Code: 4c 21 e0 48 31 d0 48 89 06 45 29 cb 48 83 c6 08 45 01 d8
31 d2 44 89 c0 41 f7 f1 83 f8 07 89 c2 76 4f 41 89 c1 48 89 f7 0f 1f 00 <4c> 89
17 4c 89 57 08 4c 89 57 10 4c 89 57 18 4c 89 57 20 4c 89
[ 314.788243] RIP [] bitfill_aligned+0x80/0x140
[ 314.788244] RSP
[ 314.788245] CR2: c90016508000
[ 314.788251] ---[ end trace 5b66740fdd766a05 ]---