* [Comm] GTK+3 segfault на удалённом X-сервере @ 2017-02-09 19:24 Dmitry Derjavin 2017-02-10 11:23 ` vx8400 0 siblings, 1 reply; 11+ messages in thread From: Dmitry Derjavin @ 2017-02-09 19:24 UTC (permalink / raw) To: ALT Linux Community general discussions Коллеги, добрый день! В конце января заметил, что приложения на GTK+3 падают на удалённом X-сервере, на который осуществлён вход через XDMCP. Это, например, firefox, chromium, evince, meld. С обеих сторон P8. Среди багов GTK+ пока ничего похожего не нашёл. Если кто-то сталкивался с такой проблемой, просьба сообщить. Спасибо! -- ~dd ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-09 19:24 [Comm] GTK+3 segfault на удалённом X-сервере Dmitry Derjavin @ 2017-02-10 11:23 ` vx8400 2017-02-10 11:33 ` Dmitry Derjavin 0 siblings, 1 reply; 11+ messages in thread From: vx8400 @ 2017-02-10 11:23 UTC (permalink / raw) To: ALT Linux Community general discussions Без XDMCP воспроизводится? (ssh -Y .. или export DISPLAY=xserverhost:0)? 09.02.2017, Dmitry Derjavin<dd@altlinux.org> написал(а): > В конце января заметил, что приложения на GTK+3 падают на удалённом > X-сервере, на который осуществлён вход через XDMCP. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-10 11:23 ` vx8400 @ 2017-02-10 11:33 ` Dmitry Derjavin 2017-02-10 13:45 ` vx8400 0 siblings, 1 reply; 11+ messages in thread From: Dmitry Derjavin @ 2017-02-10 11:33 UTC (permalink / raw) To: ALT Linux Community general discussions Пт, 10 фев 2017, 14:23, vx: > Без XDMCP воспроизводится? (ssh -Y .. или export DISPLAY=xserverhost:0)? Да. > 09.02.2017, Dmitry Derjavin<dd@altlinux.org> написал(а): > >> В конце января заметил, что приложения на GTK+3 падают на удалённом >> X-сервере, на который осуществлён вход через XDMCP. -- ~dd ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-10 11:33 ` Dmitry Derjavin @ 2017-02-10 13:45 ` vx8400 2017-02-10 16:34 ` Dmitry Derjavin 0 siblings, 1 reply; 11+ messages in thread From: vx8400 @ 2017-02-10 13:45 UTC (permalink / raw) To: ALT Linux Community general discussions Воспроизвелось с firefox следующее: X-сервер на локальной машине p8, делаем ssh -Y на удаленную p8. При первом удаленном запуске firefox падает с вот таким: vx@usparc:~% firefox 1486730937523 addons.xpi WARN Add-on ru@dictionaries.addons.mozilla.org is missing bootstrap method install [29696] ###!!! ABORT: X_ShmPutImage: BadShmSeg (invalid shared segment parameter); 2 requests ago: file /usr/src/RPM/BUILD/firefox-49.0.1/mozilla/toolkit/xre/nsX11ErrorHandler.cpp, line 157 [29696] ###!!! ABORT: X_ShmPutImage: BadShmSeg (invalid shared segment parameter); 2 requests ago: file /usr/src/RPM/BUILD/firefox-49.0.1/mozilla/toolkit/xre/nsX11ErrorHandler.cpp, line 157 < crash here > Второй раз запускается, рисует свое окно, но виснет без реакции на клики внутрь окна и т.д.: vx@usparc:~% ps -f UID PID PPID C STIME TTY TIME CMD vx 29625 29624 0 12:48 pts/1 00:00:00 -bash vx 29755 29625 0 12:49 pts/1 00:00:00 firefox vx 29756 29755 3 12:49 pts/1 00:00:04 /usr/lib64/firefox/firefox-bin vx 29919 29625 0 12:51 pts/1 00:00:00 ps -f vx@usparc:~% strace -p 29756 strace: Process 29756 attached futex(0x7f5ab0e9b28c, FUTEX_WAIT_PRIVATE, 25, NULL^Cstrace: Process 29756 detached <detached ...> gimp при прочих равных запускается, рисует интерфейс, дальше не проверял. Что надо сделать в Gimp, чтобы он упал? 10.02.2017, Dmitry Derjavin<dd@altlinux.org> написал(а): > Пт, 10 фев 2017, 14:23, vx: > >> Без XDMCP воспроизводится? (ssh -Y .. или export DISPLAY=xserverhost:0)? > > Да. > >> 09.02.2017, Dmitry Derjavin<dd@altlinux.org> написал(а): >> >>> В конце января заметил, что приложения на GTK+3 падают на удалённом >>> X-сервере, на который осуществлён вход через XDMCP. > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-10 13:45 ` vx8400 @ 2017-02-10 16:34 ` Dmitry Derjavin 2017-02-10 19:01 ` vx8400 0 siblings, 1 reply; 11+ messages in thread From: Dmitry Derjavin @ 2017-02-10 16:34 UTC (permalink / raw) To: ALT Linux Community general discussions Пт, 10 фев 2017, 16:45, vx: > gimp при прочих равных запускается, рисует интерфейс, дальше не > проверял. Что надо сделать в Gimp, чтобы он упал? А вот gimp у меня не падает почему-то! При этом: $ chromium zsh: segmentation fault chromium $ evince zsh: segmentation fault evince $ meld zsh: segmentation fault meld -- ~dd ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-10 16:34 ` Dmitry Derjavin @ 2017-02-10 19:01 ` vx8400 2017-02-10 21:01 ` Dmitry Derjavin 0 siblings, 1 reply; 11+ messages in thread From: vx8400 @ 2017-02-10 19:01 UTC (permalink / raw) To: ALT Linux Community general discussions gimp в p8 на gtk2. При ssh -Y с p8 на p8 chromium {без аргументов} и meld {file1 file2} виснут, но segfault нет. 10 февраля 2017 г., 19:34 пользователь Dmitry Derjavin <dd@altlinux.org> написал: > А вот gimp у меня не падает почему-то! При этом: > > $ chromium > zsh: segmentation fault chromium > $ evince > zsh: segmentation fault evince > $ meld > zsh: segmentation fault meld ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-10 19:01 ` vx8400 @ 2017-02-10 21:01 ` Dmitry Derjavin 2017-02-11 7:59 ` vx8400 0 siblings, 1 reply; 11+ messages in thread From: Dmitry Derjavin @ 2017-02-10 21:01 UTC (permalink / raw) To: ALT Linux Community general discussions Пт, 10 фев 2017, 22:01, vx: > gimp в p8 на gtk2. Да, точно, сразу поленился проверить. ;) > При ssh -Y с p8 на p8 chromium {без аргументов} и meld {file1 file2} > виснут, но segfault нет. А по выводу strace что-нибудь видно, на чём они висят? Хотя, похоже, мало что мы там увидим, особенно в meld. -- ~dd ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-10 21:01 ` Dmitry Derjavin @ 2017-02-11 7:59 ` vx8400 2017-02-11 8:17 ` vx8400 0 siblings, 1 reply; 11+ messages in thread From: vx8400 @ 2017-02-11 7:59 UTC (permalink / raw) To: ALT Linux Community general discussions У нас две разных проблемы. У вас segfault -- поставить ulimit -c unlimited, запустить debug-версии, смотреть backtrace после segfault. P.S. У меня не виснет, а подвисает: firefox по ssh -Y подвисает на futex(), перед этим с минутными задержками открыли три пустых вкладки, несколько раз сменили размер окна, после этого висим несколько минут на futex(): .... writev(4, [{iov_base="(\0\4\0\31\0@\3\235\4\0\0\0\0\0\0", iov_len=16}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16 poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}]) recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\1C\7\0\0\0\0\233\21\307\1\310\2\207\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32 futex(0x7f761d50f018, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x7f7631efc370, FUTEX_WAIT_PRIVATE, 2, NULL) = 0 futex(0x7f7631efc370, FUTEX_WAIT_PRIVATE, 2, NULL .... После этого нарисовали квадратиками закладки на новой странице, вывели строку типа "what would you like to share with us?" внизу и т д. В общем, оно на самом деле работает, но с непонятными тормозами. По тому же ssh -Y seamonkey (gtk2) работает ожидаемо быстро. 11.02.2017, Dmitry Derjavin<dd@altlinux.org> написал(а): > Пт, 10 фев 2017, 22:01, vx: >> При ssh -Y с p8 на p8 chromium {без аргументов} и meld {file1 file2} >> виснут, но segfault нет. > > А по выводу strace что-нибудь видно, на чём они висят? Хотя, похоже, > мало что мы там увидим, особенно в meld. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-11 7:59 ` vx8400 @ 2017-02-11 8:17 ` vx8400 2017-02-12 11:24 ` Dmitry Derjavin 0 siblings, 1 reply; 11+ messages in thread From: vx8400 @ 2017-02-11 8:17 UTC (permalink / raw) To: ALT Linux Community general discussions P.P.S. gtk3-demo из gtk3-demo-debuginfo тоже падает? 11.02.2017, vx8400<vx8400@gmail.com> написал(а): > У нас две разных проблемы. У вас segfault -- поставить ulimit -c > unlimited, запустить debug-версии, смотреть backtrace после segfault. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-11 8:17 ` vx8400 @ 2017-02-12 11:24 ` Dmitry Derjavin 2017-02-12 12:10 ` vx8400 0 siblings, 1 reply; 11+ messages in thread From: Dmitry Derjavin @ 2017-02-12 11:24 UTC (permalink / raw) To: vx8400; +Cc: ALT Linux Community general discussions Сб, 11 фев 2017, 11:17, vx: > gtk3-demo из gtk3-demo-debuginfo тоже падает? Да: Program terminated with signal SIGSEGV, Segmentation fault. #0 rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37 37 movdqu (%rdi), %xmm0 -- ~dd ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] GTK+3 segfault на удалённом X-сервере 2017-02-12 11:24 ` Dmitry Derjavin @ 2017-02-12 12:10 ` vx8400 0 siblings, 0 replies; 11+ messages in thread From: vx8400 @ 2017-02-12 12:10 UTC (permalink / raw) To: ALT Linux Community general discussions А gdb на core dump напустить с bt? Откуда оно приходит к успе^Wsegfault? 2017-02-12 14:24 GMT+03:00, Dmitry Derjavin <dd@altlinux.org>: > Сб, 11 фев 2017, 11:17, vx: > >> gtk3-demo из gtk3-demo-debuginfo тоже падает? > > Да: > > Program terminated with signal SIGSEGV, Segmentation fault. > #0 rawmemchr () at ../sysdeps/x86_64/rawmemchr.S:37 > 37 movdqu (%rdi), %xmm0 > > -- > ~dd > ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-02-12 12:10 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-02-09 19:24 [Comm] GTK+3 segfault на удалённом X-сервере Dmitry Derjavin 2017-02-10 11:23 ` vx8400 2017-02-10 11:33 ` Dmitry Derjavin 2017-02-10 13:45 ` vx8400 2017-02-10 16:34 ` Dmitry Derjavin 2017-02-10 19:01 ` vx8400 2017-02-10 21:01 ` Dmitry Derjavin 2017-02-11 7:59 ` vx8400 2017-02-11 8:17 ` vx8400 2017-02-12 11:24 ` Dmitry Derjavin 2017-02-12 12:10 ` vx8400
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git