Created
February 1, 2019 02:25
-
-
Save 7415963987456321/29f13f466a759d1bf7d8b60cd13927e5 to your computer and use it in GitHub Desktop.
Segfault with pointer_contraint enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sway version 1.0-beta.2-300-g204e1f47 (Feb 1 2019, branch 'master') | |
keli@keli~> coredumpctl gdb sway | |
PID: 8533 (sway) | |
UID: 1000 (keli) | |
GID: 985 (users) | |
Signal: 11 (SEGV) | |
Timestamp: Fri 2019-02-01 02:08:25 GMT (14min ago) | |
Command Line: sway -d | |
Executable: /usr/bin/sway | |
Control Group: /user.slice/user-1000.slice/session-7.scope | |
Unit: session-7.scope | |
Slice: user-1000.slice | |
Session: 7 | |
Owner UID: 1000 (keli) | |
Boot ID: 48f19ba5b4fc4eaeb2eb683a6611b270 | |
Machine ID: 82cee4c75e424b1d893ff1b3ebe77788 | |
Hostname: keli | |
Storage: /var/lib/systemd/coredump/core.sway.1000.48f19ba5b4fc4eaeb2eb683a6611b270.8533.1548986905000000.lz4 | |
Message: Process 8533 (sway) of user 1000 dumped core. | |
Stack trace of thread 8533: | |
#0 0x0000555d64456af7 cmd_pointer_constraint (sway) | |
#1 0x0000555d64424d2e config_command (sway) | |
#2 0x0000555d64427b14 read_config (sway) | |
#3 0x0000555d64426a35 load_config (sway) | |
#4 0x0000555d64426c56 load_main_config (sway) | |
#5 0x0000555d6443133e main (sway) | |
#6 0x00007fb7279f3223 __libc_start_main (libc.so.6) | |
#7 0x0000555d64423dce _start (sway) | |
Stack trace of thread 8534: | |
#0 0x00007fb7279bbafc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) | |
#1 0x00007fb72505bbe4 n/a (i965_dri.so) | |
#2 0x00007fb72505b908 n/a (i965_dri.so) | |
#3 0x00007fb7279b5a9d start_thread (libpthread.so.0) | |
#4 0x00007fb727acab23 __clone (libc.so.6) | |
GNU gdb (GDB) 8.2.1 | |
Copyright (C) 2018 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. | |
Type "show copying" and "show warranty" for details. | |
This GDB was configured as "x86_64-pc-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>. | |
Find the GDB manual and other documentation resources online at: | |
<http://www.gnu.org/software/gdb/documentation/>. | |
For help, type "help". | |
Type "apropos word" to search for commands related to "word"... | |
Reading symbols from /usr/bin/sway...done. | |
[New LWP 8533] | |
[New LWP 8534] | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/usr/lib/libthread_db.so.1". | |
Core was generated by `sway -d'. | |
Program terminated with signal SIGSEGV, Segmentation fault. | |
#0 cmd_pointer_constraint (argc=1, argv=0x555d651df7b8) at ../sway/sway/commands/pointer_constraint.c:36 | |
36 ../sway/sway/commands/pointer_constraint.c: No such file or directory. | |
[Current thread is 1 (Thread 0x7fb7258909c0 (LWP 8533))] | |
(gdb) bt full | |
#0 0x0000555d64456af7 in cmd_pointer_constraint (argc=1, argv=0x555d651df7b8) at ../sway/sway/commands/pointer_constraint.c:36 | |
error = 0x0 | |
op = OP_ENABLE | |
cursor = 0x6b476f1a0 | |
seat_config = 0x600000000 | |
#1 0x0000555d64424d2e in config_command (exec=0x555d651df750 "pointer_constraint enable", new_block=0x7ffeb476eeb8) at ../sway/sway/commands.c:396 | |
results = 0x0 | |
argc = 2 | |
argv = 0x555d651df7b0 | |
handler = 0x555d64492150 <handlers+592> | |
command = 0x555d651df520 "\200\367\035e]U" | |
#2 0x0000555d64427b14 in read_config (file=0x555d6502ff20, config=0x555d651da980, swaynag=0x555d651da988) at ../sway/sway/config.c:743 | |
brace_detected = 0 | |
block = 0x0 | |
expanded = 0x555d651df750 "pointer_constraint enable" | |
res = 0x555d651df3e0 | |
new_block = 0x0 | |
reading_main_config = true | |
this_config = 0x555d651dc6d0 '#' <repeats 18 times>, "\n# sway config file\n", '#' <repeats 18 times>, "\nset $lock ~/.config/sway/scripts/lock.sh \nset $grim ~/.config/sway/scripts/grim.sh\nset $slurp ~/.config/sway/scripts/slurp.sh\nset $mod Mod4\nset"... | |
config_size = 7958 | |
success = true | |
line_number = 17 | |
line = 0x555d651de670 "pointer_constraint enable" | |
line_size = 120 | |
nread = 26 | |
stack = 0x555d651de5f0 | |
read = 414 | |
nlines = 1 | |
#3 0x0000555d64426a35 in load_config (path=0x555d651cb2e0 "/home/keli/.config/sway/config", config=0x555d651da980, swaynag=0x555d651da988) | |
at ../sway/sway/config.c:357 | |
sb = | |
{st_dev = 2050, st_ino = 57936217, st_nlink = 1, st_mode = 33188, st_uid = 1000, st_gid = 985, __pad0 = 0, st_rdev = 0, st_size = 7958, st_blksize = 4096, st_blocks = 16, st_atim = {tv_sec = 1548986903, tv_nsec = 383646398}, st_mtim = {tv_sec = 1548986900, tv_nsec = 607074629}, st_ctim = {tv_sec = 1548986900, tv_nsec = 607074629}, __glibc_reserved = {0, 0, 0}} | |
f = 0x555d6502ff20 | |
config_load_success = false | |
#4 0x0000555d64426c56 in load_main_config (file=0x0, is_active=false, validating=false) at ../sway/sway/config.c:450 | |
path = 0x555d651cb2e0 "/home/keli/.config/sway/config" | |
old_config = 0x0 | |
success = true | |
#5 0x0000555d6443133e in main (argc=2, argv=0x7ffeb476f1a8) at ../sway/sway/main.c:370 | |
verbose = 0 | |
debug = 1 | |
validate = 0 | |
allow_unsupported_gpu = 0 | |
long_options = | |
{{name = 0x555d64479d34 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x555d64479d39 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x555d64479d40 "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x555d64479d49 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x555d64479d4f "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x555d64479d57 "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x555d64479d5f "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x555d64479d6e "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0x555d64479d7e "my-next-gpu-wont-be-nvidia", has_arg = 0, flag = 0x0, val = 117}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}} | |
config_path = 0x0 | |
usage = 0x555d64479938 "Usage: sway [options] [command]\n\n -h, --help", ' ' <repeats 13 times>, "Show help message and quit.\n -c, --config <config> Specify a config file.\n -C, --validate Check the validity of the config file, th"... | |
c = -1 | |
(gdb) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment