Bug#935753: FATAL:memory_linux.cc Out of memory

2019-10-03 Thread Mikhail Morfikov
Package: chromium
Version: 76.0.3809.100-1
Followup-For: Bug #935753

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

It looks like the problem is in the libgl1-mesa-dri package as described here:
https://bugs.archlinux.org/task/63945

Currently, the 19.2.0-1 version is in SID, which causes the OOM issue.
Downgrading it to 19.1.6-1
fixes the problem.



- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (130, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.1-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages chromium depends on:
ii  chromium-common  76.0.3809.100-1
ii  libasound2   1.1.8-1
ii  libatk-bridge2.0-0   2.34.0-3
ii  libatk1.0-0  2.34.0-1
ii  libatomic1   9.2.1-8
ii  libatspi2.0-02.34.0-3
ii  libavcodec58 7:4.1.4-1+b2
ii  libavformat587:4.1.4-1+b2
ii  libavutil56  7:4.1.4-1+b2
ii  libc62.29-2
ii  libcairo-gobject21.16.0-4
ii  libcairo21.16.0-4
ii  libcups2 2.3.0-5
ii  libdbus-1-3  1.12.16-2
ii  libdrm2  2.4.99-1
ii  libevent-2.1-6   2.1.8-stable-4
ii  libexpat12.2.9-1
ii  libflac8 1.3.3-1
ii  libfontconfig1   2.13.1-2+b1
ii  libfreetype6 2.9.1-4
ii  libgcc1  1:9.2.1-8
ii  libgdk-pixbuf2.0-0   2.38.2+dfsg-1
ii  libglib2.0-0 2.62.0-3
ii  libgtk-3-0   3.24.11-1
ii  libharfbuzz0b2.6.2-1
ii  libicu63 63.2-2
ii  libjpeg62-turbo  1:1.5.2-2+b1
ii  libjsoncpp1  1.7.4-3+b1
ii  liblcms2-2   2.9-4
ii  libminizip1  1.1-8+b1
ii  libnspr4 2:4.21-2
ii  libnss3  2:3.45-1
ii  libopenjp2-7 2.3.0-3
ii  libopus0 1.3-1+b1
ii  libpango-1.0-0   1.42.4-7
ii  libpangocairo-1.0-0  1.42.4-7
ii  libpci3  1:3.6.2-2
ii  libpng16-16  1.6.37-1
ii  libpulse013.0-1
ii  libre2-5 20190901+dfsg-1
ii  libsnappy1v5 1.1.7-1+b1
ii  libstdc++6   9.2.1-8
ii  libvpx6  1.8.1-2
ii  libwebp6 0.6.1-2+b1
ii  libwebpdemux20.6.1-2+b1
ii  libwebpmux3  0.6.1-2+b1
ii  libx11-6 2:1.6.8-1
ii  libx11-xcb1  2:1.6.8-1
ii  libxcb1  1.13.1-2
ii  libxcomposite1   1:0.4.4-2
ii  libxcursor1  1:1.2.0-2
ii  libxdamage1  1:1.1.5-1
ii  libxext6 2:1.3.3-1+b2
ii  libxfixes3   1:5.0.3-1
ii  libxi6   2:1.7.9-1
ii  libxml2  2.9.4+dfsg1-7+b3
ii  libxrandr2   2:1.5.1-1
ii  libxrender1  1:0.9.10-1
ii  libxslt1.1   1.1.32-2.1
ii  libxss1  1:1.2.3-1
ii  libxtst6 2:1.2.3-1
ii  zlib1g   1:1.2.11.dfsg-1+b1

Versions of packages chromium recommends:
ii  chromium-sandbox  76.0.3809.100-1

Versions of packages chromium suggests:
pn  chromium-driver  
pn  chromium-l10n
pn  chromium-shell   

Versions of packages chromium-common depends on:
ii  x11-utils  7.7+4
ii  xdg-utils  1.1.3-1

Versions of packages chromium-common recommends:
ii  chromium-sandbox76.0.3809.100-1
ii  fonts-liberation1:1.07.4-10
ii  libgl1-mesa-dri 19.1.6-1
pn  libu2f-udev 
ii  plasma-workspace [notification-daemon]  4:5.14.5.1-2
pn  system-config-printer   
ii  upower  0.99.11-1
ii  xfce4-notifyd [notification-daemon] 0.4.4-1+b1

Versions of packages chromium-sandbox depends on:
ii  libatomic1  9.2.1-8
ii  libc6   2.29-2
ii  libgcc1 1:9.2.1-8
ii  libstdc++6  9.2.1-8




-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEE5JPPWm5C7TFDUMqpzQRoEHcbZSAFAl2WXAIACgkQzQRoEHcb
ZSC6YxAAvYUZPPEKAFZ6iaIU+Yz2pU9QOhNPApy6inM1oU/KGkZRuF1LOJ0wlbbW
kJSERKuXZOvbAETYzhUHETEUVzW5rxjvdbJNzbkjwxXKdaHwP7TNjC1xS9BjBBgn
Pf3/yo5L9PQNNH5ahokk4AE386fB4RXk9mJCz3x9yERO3W/ilSFDIHOefz0BWoxa
osGkbpG5yS4QxvyiE73ExgKp2moIweChc8XNWGPHC/hByeQ71o3ev07Q+vHlWeAT
35ijik6YOZg82UpDDL7ezs62jmYOCXpzZQ4LMvujT8AcONNqz6s42aDKyKAvc9QI
fsvQbCUY3Cn2Oth2NK+Er04ZGLQv4dzf9Kh11V+ZSfZjTW9poBQTNMgObAedWuGj
eYnEFmawDpq3fClDKWUMRjk8Qq1/m5CJzdm7xfNWxPoMZZzU835/21nOJLCYGskU
KZGJaFP00bFVmclYBAR7rVacBbQHZXVxefbRUeD0PQhDxNgjDH9/F82jEvUjtrBW
kC/KW6TRfvNCk+KAM3QzjRE6GvbK79pwu7IghLaKV9mTKr7Yn6bD2GIE5G0GIipW
llrOp2c5i/a3dV44oyIH6QJHBwue03vhqtJMaOmyJTJjiYAPzPNQgjc6HXZI1qTf
SA5UmzOei2VXIdfbE8elDHRYt2AUtura/2vwcaaU/hjcbndfLIA=
=8PIL
-END PGP SIGNATURE-



Bug#935753: FATAL:memory_linux.cc Out of memory

2019-09-08 Thread 積丹尼 Dan Jacobson
# aptitude install libgl1-mesa-dri/experimental 
libgl1-mesa-dri-dbgsym/experimental-debug chromium-dbgsym
$ chromium -g
(gdb) r
(gdb) bt
#0  0x711b57bb in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x711a0535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x58edd435 in base::debug::BreakDebugger() ()
#3  0x58e43e98 in logging::LogMessage::~LogMessage() ()
#4  0x58e64e4d in base::(anonymous namespace)::OnNoMemorySize(unsigned 
long) [clone .constprop.237] ()
#5  0x58ef0c85 in calloc ()
#6  0x7fffa296c7e9 in query_topology (fd=236, devinfo=0x7fffa8037b98) at 
../src/intel/dev/gen_device_info.c:1323
#7  gen_get_device_info_from_fd (fd=236, devinfo=devinfo@entry=0x7fffa8037b98) 
at ../src/intel/dev/gen_device_info.c:1371
#8  0x7fffa245f4b9 in intelInitScreen2 (dri_screen=0x7fffa8037090) at 
../src/mesa/drivers/dri/i965/intel_screen.c:2495
#9  0x7fffa24cd4b4 in driCreateNewScreen2 (scrn=0, fd=236, 
extensions=, driver_extensions=, 
driver_configs=0x7fffb57f8b30, data=0x7fffa8020f40)
at ../src/mesa/drivers/dri/common/dri_util.c:153
#10 0x7fffd862c275 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#11 0x7fffd8618f79 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#12 0x7fffd8614a64 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#13 0x7fffd8614fde in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#14 0x5981d413 in 
gl::RealGLXApi::glXQueryExtensionsStringFn(_XDisplay*, int) ()
#15 0x5982b18b in gl::GLVisualPickerGLX::GLVisualPickerGLX() ()
#16 0x5982b34e in base::Singleton, 
gl::GLVisualPickerGLX>::CreatorFunc(void*) ()
#17 0x5982a85f in gl::GLVisualPickerGLX* 
base::subtle::GetOrCreateLazyPointer(long*, 
gl::GLVisualPickerGLX* (*)(void*), void*, void (*)(void*), void*) ()
#18 0x5982a9cd in gl::GLSurfaceGLX::InitializeOneOff() ()
#19 0x598bc545 in gl::init::InitializeGLOneOffPlatform() ()
#20 0x598bc74d in 
gl::init::InitializeGLOneOffImplementation(gl::GLImplementation, bool, bool, 
bool, bool) ()
#21 0x598bca96 in gl::init::(anonymous 
namespace)::InitializeGLOneOffHelper(bool) ()
#22 0x598bcfb0 in gl::init::InitializeGLNoExtensionsOneOff() ()
#23 0x59f58622 in gpu::GpuInit::InitializeInProcess(base::CommandLine*, 
gpu::GpuPreferences const&) ()
#24 0x5cb9dd6f in content::InProcessGpuThread::Init() ()
#25 0x58eb4515 in base::Thread::ThreadMain() ()
#26 0x58eee49a in base::(anonymous namespace)::ThreadFunc(void*) ()
#27 0x77f93fa3 in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#28 0x712774cf in clone () from /lib/x86_64-linux-gnu/libc.so.6



Bug#935753: FATAL:memory_linux.cc Out of memory

2019-09-07 Thread Michael Gilbert
control: tag -1 moreinfo

> #4  0x58e64e4d in base::(anonymous 
> namespace)::OnNoMemorySize(unsigned long) [clone .constprop.237] ()
> #5  0x58ef0c85 in calloc ()
> #6  0x7fffaa96c7e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
> #7  0x7fffaa45f4b9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
> #8  0x7fffaa4cd4b4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
> #9  0x7fffd87ca1b5 in ?? () from 
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
> #10 0x7fffd87b6ec9 in ?? () from 
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
> #11 0x7fffd87b2a64 in ?? () from 
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
> #12 0x7fffd87b2fde in ?? () from 
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
> #13 0x5981d413 in 
> gl::RealGLXApi::glXQueryExtensionsStringFn(_XDisplay*, int) ()
[...]
>  ii  libgl1-mesa-dri19.2.0~rc1-1

I wasn't able to reproduce your problem by upgrading packages to
experimental.  However, given
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so is involved in the
backtrace, mesa 19.2.0~rc1 from experimental is most likely the cause.

Since I couldn't reproduce it on my system, it is probably specific to
your hardware.  Could you try updating all of your mesa packages back
to experimental and try again?

Please also install libgl1-mesa-dri-dbgsym beforehand so we can see
what is going on in the ?? parts of the backtrace.

Best wishes,
Mike



Bug#935753: FATAL:memory_linux.cc Out of memory

2019-09-01 Thread 積丹尼 Dan Jacobson
MG> Can you figure out which library it was?  A serious bug needs to be
MG> filed against it.

Should be simple. On a fresh machine try something like
$ sudo apt -o "APT::Default-Release experimental;" install chromium
$ chromium

I've had enough with experimental for now.



Bug#935753: FATAL:memory_linux.cc Out of memory

2019-09-01 Thread Michael Gilbert
control: reopen -1
control: tag -1 - moreinfo

On Sat, Aug 31, 2019 at 9:57 AM Dan Jacobson wrote:
>
> MG> Could you try this again without packages from experimental?  I assume
> MG> its caused by the update to libc6 2.29?
>
> Some other one. So now I use pure sid. Problem solved.

Can you figure out which library it was?  A serious bug needs to be
filed against it.

Best wishes,
Mike



Bug#935753: FATAL:memory_linux.cc Out of memory

2019-08-29 Thread Michael Gilbert
control: tag -1 moreinfo

On Sun, Aug 25, 2019 at 4:36 PM Dan Jacobson wrote:
> Versions of packages chromium depends on:
[...]
> ii  libatk1.0-0  2.33.3+really2.33.3-1
[...]
> ii  libc62.29-0experimental1
[...]
> ii  libjpeg62-turbo  1:2.0.2-1~exp2

Could you try this again without packages from experimental?  I assume
its caused by the update to libc6 2.29?

Best wishes,
Mike



Bug#935753: FATAL:memory_linux.cc Out of memory

2019-08-25 Thread 積丹尼 Dan Jacobson
Package: chromium
Version: 76.0.3809.100-1

# Env:
# LD_LIBRARY_PATH=
#PATH=/home/jidanni/bin:/usr/bin:/bin:/usr/local/bin
#GTK_PATH=
#  CHROMIUM_FLAGS= --show-component-extension-options 
--enable-gpu-rasterization --no-default-browser-check --disable-pings 
--media-router=0 --enable-remote-extensions --load-extension=
/usr/bin/gdb /usr/lib/chromium/chromium -x /tmp/chromiumargs.8R4spW
GNU gdb (Debian 8.3-1) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/chromium/chromium...
Reading symbols from 
/usr/lib/debug/.build-id/c5/b565ee488296ba155602dafc4904ee021d24ef.debug...
(gdb) handle SIG33 pass nostop noprint
SignalStop  Print   Pass to program Description
SIG33 NoNo  Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/lib/chromium/chromium --show-component-extension-options 
--enable-gpu-rasterization --no-default-browser-check --disable-pings 
--media-router=0 --enable-remote-extensions --load-extension= --single-process 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffec6be700 (LWP 10778)]
[Detaching after fork from child process 10779]
[New Thread 0x7fffebebd700 (LWP 10783)]
[New Thread 0x7fffea3fd700 (LWP 10784)]
[New Thread 0x7fffe9bfc700 (LWP 10785)]
[New Thread 0x7fffe93fb700 (LWP 10786)]
[New Thread 0x7fffe8bfa700 (LWP 10787)]
[New Thread 0x7fffdb7fe700 (LWP 10789)]
[New Thread 0x7fffdbfff700 (LWP 10788)]
[New Thread 0x7fffdaffd700 (LWP 10790)]
[New Thread 0x7fffda7fc700 (LWP 10791)]
[New Thread 0x7fffd9ffb700 (LWP 10792)]
[New Thread 0x7fffe828e700 (LWP 10793)]
[New Thread 0x7fffd8ff9700 (LWP 10795)]
[New Thread 0x7fffb3fff700 (LWP 10796)]
[New Thread 0x7fffd97fa700 (LWP 10794)]
[New Thread 0x7fffb2ffd700 (LWP 10797)]
[New Thread 0x7fffb27fc700 (LWP 10798)]
[New Thread 0x7fffb37fe700 (LWP 10799)]
[New Thread 0x7fffb1ffb700 (LWP 10800)]
[New Thread 0x7fffb17fa700 (LWP 10801)]
[New Thread 0x7fffb0ff9700 (LWP 10802)]
[New Thread 0x7fffabfff700 (LWP 10803)]
[New Thread 0x7fffab7fe700 (LWP 10804)]
[10774:10774:0826/042928.466062:ERROR:system_network_context_manager.cc(670)] 
Cannot use V8 Proxy resolver in single process mode.
[Detaching after fork from child process 10805]
[10774:10802:0826/042928.694828:FATAL:memory_linux.cc(42)] Out of memory.

Thread 22 "Chrome_InProcGp" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffb0ff9700 (LWP 10802)]
0x713c1081 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) backtrace
#0  0x713c1081 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x713ac535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x58edd435 in base::debug::BreakDebugger() ()
#3  0x58e43e98 in logging::LogMessage::~LogMessage() ()
#4  0x58e64e4d in base::(anonymous namespace)::OnNoMemorySize(unsigned 
long) [clone .constprop.237] ()
#5  0x58ef0c85 in calloc ()
#6  0x7fffaa96c7e9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#7  0x7fffaa45f4b9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#8  0x7fffaa4cd4b4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#9  0x7fffd87ca1b5 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#10 0x7fffd87b6ec9 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#11 0x7fffd87b2a64 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#12 0x7fffd87b2fde in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
#13 0x5981d413 in 
gl::RealGLXApi::glXQueryExtensionsStringFn(_XDisplay*, int) ()
#14 0x5982b18b in gl::GLVisualPickerGLX::GLVisualPickerGLX() ()
#15 0x5982b34e in base::Singleton, 
gl::GLVisualPickerGLX>::CreatorFunc(void*) ()
#16 0x5982a85f in gl::GLVisualPickerGLX* 
base::subtle::GetOrCreateLazyPointer(long*, 
gl::GLVisualPickerGLX* (*)(void*), void*, void (*)(void*), void*) ()
#17 0x5982a9cd in gl::GLSurfaceGLX::InitializeOneOff() ()
#18 0x598bc545 in gl::init::InitializeGLOneOffPlatform() ()
#19 0x598bc74d in 
gl::init::InitializeGLOneOffImplementation(gl::GLImplementation, bool, bool, 
bool, bool) ()
#20 0x598bca96 in gl::init::(anonymous 
namespace)::InitializeGLOneOffHelper(bool)