Closed ajouellette closed 8 years ago
Make sure you have the latest version of sway.
If you have the latest version then please run addr2line on the backtrace lines and post the result.
You can use this script to make it a bit easier. Just run:
$ cat log | python addr2line_sway.py /path/to/sway
I do have the latest version of sway and this is what I got:
Backtrace: sway(error_handler+0x2b) [0x41b88b]
/home/aaron/devel/sway/sway/output.c:135
Backtrace: sway(free_flat_list+0x6) [0x41be66]
/home/aaron/devel/sway/sway/resize.c:67
Backtrace: sway(read_config+0x402) [0x40cc12]
/home/aaron/devel/sway/sway/commands.c:2111
Backtrace: sway(load_config+0x79) [0x40ce99]
/home/aaron/devel/sway/sway/commands.c:2161
Backtrace: sway() [0x40acb7]
/home/aaron/devel/sway/sway/commands.c:1483
Backtrace: sway(handle_command+0x1a3) [0x407003]
/home/aaron/devel/sway/sway/commands.c:448
Backtrace: sway() [0x4139a0]
/home/aaron/devel/sway/sway/focus.c:83
Backtrace: sway(main+0x323) [0x406383]
/home/aaron/devel/sway/sway/commands.c:210
Backtrace: sway(_start+0x29) [0x4063c9]
/home/aaron/devel/sway/sway/commands.c:215
None of that makes sense.
Indeed, is it the same sway binary you used when producing the log and when running addr2line?
I'll see what I can figure out when I get home. I might have actually used the wrong sway binary ...
Sorry about that, it does look like I used two different sway binaries. Using the manually compiled binary, this is what I got:
Backtrace: bin/sway(error_handler+0xaa) [0x41e144]
/home/aaron/devel/sway/common/log.c:147
Backtrace: bin/sway(free_flat_list+0x3d) [0x41e6ca]
/home/aaron/devel/sway/common/stringop.c:87 (discriminator 1)
Backtrace: bin/sway() [0x40daee]
/home/aaron/devel/sway/sway/config.c:57
Backtrace: bin/sway() [0x40dc39]
/home/aaron/devel/sway/sway/config.c:83 (discriminator 3)
Backtrace: bin/sway(read_config+0x39d) [0x40e50c]
/home/aaron/devel/sway/sway/config.c:319
Backtrace: bin/sway(load_config+0xfc) [0x40e144]
/home/aaron/devel/sway/sway/config.c:210
Backtrace: bin/sway() [0x4095d3]
/home/aaron/devel/sway/sway/commands.c:1099
Backtrace: bin/sway(handle_command+0x2ef) [0x40d411]
/home/aaron/devel/sway/sway/commands.c:2299
Backtrace: bin/sway() [0x414ca4]
/home/aaron/devel/sway/sway/handlers.c:374
Backtrace: bin/sway(main+0x3b8) [0x41aee0]
/home/aaron/devel/sway/sway/main.c:203
Backtrace: bin/sway(_start+0x29) [0x405e99]
??:?
Does this make any more sense?
I don't know if anyone else has this problem, but whenever I try to reload the config file, sway crashes. The strange thing is though, that coredumpctl does not show any core dumps (does this mean that it isn't an actual crash?) Here is the what is in the log immediately after I tell sway to reload: