infrastructure: [victor] debug why firefox on vnc crashes
The victor image in https://github.com/volcanocyber/VICTOR-notebook is built on jammy, and has been trying to use firefox as a browser on xfce on a desktop provided through https://github.com/yuvipanda/jupyter-desktop-server
The community representative has mentioned that firefox is flaky. I did some digging while creating a new image and I suspect this is an issue in the bundled vncserver. I looked at the log in $HOME/.vnc/ and see it;s failing with a FPE. Building an image using a distro provided vncserver doesn’t crash.
Wed Jul 12 17:10:14 2023
Connections: accepted: /tmp/tmpd28rxq6f/vnc-socket
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type None(1)
VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888
(EE)
(EE) Backtrace:
(EE) 0: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (xorg_backtrace+0x3f) [0x60816f]
(EE) 1: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (0x400000+0x20b5f9) [0x60b5f9]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f9623b52000+0x42520) [0x7f9623b94520]
(EE) 3: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (_ZNK3rfb6Region9get_rectsEPSt6vectorINS_4RectESaIS2_EEbbi+0x144) [0x631134]
(EE) 4: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (_ZN3rfb22ComparingUpdateTracker7compareEv+0x176) [0x636026]
(EE) 5: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (_ZN3rfb11VNCServerST11writeUpdateEv+0x204) [0x633ed4]
(EE) 6: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (_ZN3rfb11VNCServerST13handleTimeoutEPNS_5TimerE+0x62) [0x634152]
(EE) 7: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (_ZN3rfb5Timer13checkTimeoutsEv+0x8d) [0x6318bd]
(EE) 8: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (_ZN3rfb11VNCServerST13checkTimeoutsEv+0x1d) [0x63202d]
(EE) 9: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (_ZN14XserverDesktop12blockHandlerEPi+0x217) [0x623087]
(EE) 10: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (vncCallBlockHandlers+0x27) [0x617907]
(EE) 11: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (0x400000+0x22065d) [0x62065d]
(EE) 12: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (BlockHandler+0xe5) [0x5bd925]
(EE) 13: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (WaitForSomething+0x18d) [0x605b2d]
(EE) 14: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (Dispatch+0x9d) [0x5b945d]
(EE) 15: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (main+0x3ae) [0x4cd4fe]
(EE) 16: /lib/x86_64-linux-gnu/libc.so.6 (0x7f9623b52000+0x29d90) [0x7f9623b7bd90]
(EE) 17: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80) [0x7f9623b7be40]
(EE) 18: /opt/conda/lib/python3.11/site-packages/jupyter_desktop/share/tigervnc/bin/Xvnc (0x400000+0xcf203) [0x4cf203]
(EE)
(EE) Floating point exception at address 0x631134
Fatal server error:
Caught signal 8 (Floating point exception). Server aborting
Exiting due to channel error.
Exiting due to channel error.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (15 by maintainers)
Commits related to this issue
- Use tightvncserver See https://github.com/2i2c-org/infrastructure/issues/2805 — committed to pnasrat/VICTOR-notebook by pnasrat 3 years ago
- Use tightvncserver See https://github.com/2i2c-org/infrastructure/issues/2805 Also use jupyterhub/jupyter-remote-desktop-proxy — committed to pnasrat/VICTOR-notebook by pnasrat 3 years ago
- Use tightvncserver See https://github.com/2i2c-org/infrastructure/issues/2805 Also use jupyterhub/jupyter-remote-desktop-proxy — committed to pnasrat/VICTOR-notebook by pnasrat 3 years ago
- Use tightvncserver See https://github.com/2i2c-org/infrastructure/issues/2805 Also use jupyterhub/jupyter-remote-desktop-proxy — committed to pnasrat/VICTOR-notebook by pnasrat 3 years ago
The current images now sucessfully launch firefox and run. Further image enhancements should be filed as new issues. @yuvipanda has context for the debugging and fixes done here