-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
startx results in a segfault #62
Comments
Grab this patch and apply it to the standard Git PKGBUILD. Install the package generated from this patched PKGBUILD. (Afterwards, check that In a virtual terminal (without X running):
And post the content of |
Might be fixed by 48d181f. |
I'm still experiencing the same issues with 48d181f. I'm using Ubuntu which doesn't use PKGBUILD and also doesn't include I did try installing via import monitors add monitor ... add monitor ... add desktop ... xinit: connection to X server lost I thought that perhaps this issue might be related so I checked the version of some dependencies:
On Ubuntu, It looks like my system already has version 0.3.9 of the above installed, as suggested in the above quotation: Package: libxcb-ewmh2 Package: libxcb-ewmh-dev Here are some other xcb package versions: Package: libxcb-keysyms1-dev Package: libxcb-keysyms1 Package: libx11-xcb-dev Package: libxcb1 Package: libxcb-util0-dev |
This issue only occurs when I have a second monitor connected. If I disconnect my second monitor and run |
Can you make it crash by plugging your secondary monitor? If so, you could run this in a virtual terminal (while bspwm is running):
Then go back to X and plug the second monitor. Switch back to the virtual terminal holding gdb and issue:
|
Nope. The second monitor isn't initialized though. I can start Xorg with only Starting program: /usr/local/bin/bspwm warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 Program received signal SIGSEGV, Segmentation fault. 0x0000000000413f63 in ?? () #0 0x0000000000413f63 in ?? () No symbol table info available. #1 0x000000090061a550 in ?? () No symbol table info available. #2 0x00007fff00000000 in ?? () No symbol table info available. #3 0x0000000000619280 in ?? () No symbol table info available. #4 0x000001f2000001f1 in ?? () No symbol table info available. #5 0x31706f746b736544 in ?? () No symbol table info available. #6 0x00007fffffff9b00 in ?? () No symbol table info available. #7 0x0000000000000005 in ?? () No symbol table info available. #8 0x00007fffffff9b20 in ?? () No symbol table info available. #9 0x00007fffffff9af0 in ?? () No symbol table info available. #10 0x0000000000000005 in ?? () No symbol table info available. #11 0x00007fffffff9b40 in ?? () No symbol table info available. #12 0x0000000000000000 in ?? () No symbol table info available. A debugging session is active. Inferior 1 [process 12735] will be killed. Quit anyway? (y or n) Here's the process I followed: git clone https://github.com/baskerville/bspwm.git cd bspwm make debug sudo make install # startx with only exec xterm in .xinitrc # In the xterm gdb set logging on target exec /usr/local/bin/bspwm run # Segfaults here bt full q y |
This: |
Done. Here's the gdb.txt: Starting program: /usr/local/bin/bspwm warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 Program received signal SIGSEGV, Segmentation fault. 0x0000000000413f63 in ewmh_update_desktop_names () at ewmh.c:80 80 for (j = 0; d->name[j] != '\0' && (i + j) < sizeof(names); j++) #0 0x0000000000413f63 in ewmh_update_desktop_names () at ewmh.c:80 d = 0x1f2000001f1 m = 0x619280 names = "Desktop1\000\235\377\377\377\177\000\000\005\000\000\000\000\000\000\000\340\235\377\377\377\177\000\000\260\235\377\377\377\177\000\000\005\000\000\000\000\000\000\000\000\236\377\377\377\177", '\000' , "/\\\214\367\377\177\000\000\022\000\a\000\003\002\000\000\227\001\000\000\006\000\000\000 \000\000\000\001", '\000' , "\260\235\377\377\377\177\000\000\225\214\336\367\377\177\000\000\001", '\000' , "\b\235\377\377\377\177\000\000\000\000\000\000\000\000\000\000\350A\255\367\377\177\000\000\000\000\000\000\000\000\000\000\240\235\377\377\377\177\000\000\000\000\000\000\000\000\000\000\350A\255\367\377\177\000\000\000\000\000\000\000\000\000\000"... i = 9 j = 0 names_len = 32767 #1 0x00000000004061f4 in add_desktop (m=0x621da0, d=0x621d00) at desktop.c:120 No locals. #2 0x0000000000405bd8 in import_monitors () at monitor.c:300 sres = 0x621910 m = 0x621da0 mm = 0x619280 num = 2 len = 6 outputs = 0x621940 cookies = 0x7fffffff9de0 gpo = 0x620390 #3 0x00000000004042d3 in setup () at bspwm.c:224 mask = 2048 values = {64} net_atoms = {404, 395, 410, 407, 368, 405, 367, 372, 375, 378, 442, 387, 429, 428, 438, 434, 432, 430} qep = 0x6203f0 ifo = 0x7ffff78b9b40 #4 0x000000000040396d in main (argc=1, argv=0x7fffffffe338) at bspwm.c:73 descriptors = {__fds_bits = {0 }} socket_path = '\000' fifo_path = 0x0 sock_fd = 0 ret_fd = 0 dpy_fd = 0 sel = 0 n = 0 sock_address = {sun_family = 0, sun_path = '\000' } rsp_len = 0 msg = '\000' rsp = '\000' event = 0x0 opt = -1 '\377' sp = 0x0 A debugging session is active. Inferior 1 [process 17165] will be killed. Quit anyway? (y or n) |
Should be fixed by 6ae7601. |
Confirmed. Thanks! |
bspwm stopped working on my workstation as of 2c36390.
startx
fails with the following in/var/log/syslog
:This is a dual-head workstation. I tested with an empty bspwmrc and a reduced .xinitrc:
The same version of bspwm works on my laptop.
The text was updated successfully, but these errors were encountered: