RE: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap is used up until system freezes
> -Original Message- > From: Ben Hutchings [mailto:b...@decadent.org.uk] > Sent: Saturday, September 10, 2016 18:11 > To: Jose R R <jose@metztli-it.com>; 837...@bugs.debian.org; Wolfgang > Tichy <wtich...@gmail.com> > Cc: dev <dev@openoffice.apache.org> > Subject: Re: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap > is used up until system freezes > > On Sat, 2016-09-10 at 17:37 -0700, Jose R R wrote: > > On Fri, Sep 9, 2016 at 12:37 PM, Wolfgang Tichy <wtich...@gmail.com> > > wrote: > > > > > > Package: src:linux > > > Version: 3.16.7-ckt25-2+deb8u3 > > > Severity: critical > > > Tags: security > > > Justification: causes serious data loss > > > > > > Dear Maintainer, > > > > > > when I open a particular word document (it contains images and I > > > can send it > > > to you for testing) with libreoffice, all memory and all swap get > > > used up > > > within about a minute. > > > > You may want to *narrow down* your memory issue by trying out Apache > > OpenOffice: > > > > Download: https://openoffice.org/download/ > [...] > > Please, we don't need advocacy for rival software in the Debian BTS. [orcmid] I agree completely, Ben. I don't understand at all how dev@oo.a.o became included in this, since it has nothing to do with development at Apache OpenOffice. My reading of the quoted "narrow down" was as a suggestion for forensic purposes, the same way I test apparent problem documents with different products to see if there is anything in the pattern that gives me clue about what the defect might be. And even so, there is no reason that the dev@ openoffice.apache.org list be cross-posted. I am told that a document-forensic suggestion was not the intention. In that case I want to make it clear that the ASF is completely ecumenical about open-source software projects, sees forking as a feature, and does not participate in advocacy of one project over another. So, in accordance with the ASF operating as a US charity that provides free software as a public good, the Apache OpenOffice project does not concern itself about "rival software." Individuals have their own positions, sometimes rooted deeply in the past, and that shows up on various lists. Those are not official positions, whatever the association of the advocate with Apache projects. That the technical analysis on behalf of an issue on the Debian Bug Tracking System was used in this manner is unfortunate and regrettable. It was also inappropriate that the dev@ openoffice.apache.org list was also so abused. I trust we can remove the cross-posting now and Debian developers can return to their important business without this distraction. - Dennis E. Hamilton ASF Vice President for Apache OpenOffice Chair of the AOO Project Management Committee > > Ben. > > -- > Ben Hutchings > Experience is what causes a person to make new mistakes instead of old > ones. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap is used up until system freezes
On Sat, 2016-09-10 at 17:37 -0700, Jose R R wrote: > On Fri, Sep 9, 2016 at 12:37 PM, Wolfgang Tichy> wrote: > > > > Package: src:linux > > Version: 3.16.7-ckt25-2+deb8u3 > > Severity: critical > > Tags: security > > Justification: causes serious data loss > > > > Dear Maintainer, > > > > when I open a particular word document (it contains images and I > > can send it > > to you for testing) with libreoffice, all memory and all swap get > > used up > > within about a minute. > > You may want to *narrow down* your memory issue by trying out Apache > OpenOffice: > > Download: https://openoffice.org/download/ [...] Please, we don't need advocacy for rival software in the Debian BTS. Ben. -- Ben Hutchings Experience is what causes a person to make new mistakes instead of old ones. signature.asc Description: This is a digitally signed message part
Re: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap is used up until system freezes
On Sat, Sep 10, 2016 at 6:10 PM, Ben Hutchingswrote: > On Sat, 2016-09-10 at 17:37 -0700, Jose R R wrote: >> On Fri, Sep 9, 2016 at 12:37 PM, Wolfgang Tichy >> wrote: >> > >> > Package: src:linux >> > Version: 3.16.7-ckt25-2+deb8u3 >> > Severity: critical >> > Tags: security >> > Justification: causes serious data loss >> > >> > Dear Maintainer, >> > >> > when I open a particular word document (it contains images and I >> > can send it >> > to you for testing) with libreoffice, all memory and all swap get >> > used up >> > within about a minute. >> >> You may want to *narrow down* your memory issue by trying out Apache >> OpenOffice: >> >> Download: https://openoffice.org/download/ > [...] > > Please, we don't need advocacy for rival software in the Debian BTS. If ApacheOO solves the user's problem, then it is probably time for Debian to reevaluate 'rival' alternative. Best Professional Regards. -- Jose R R http://metztli.it - Try at no charge http://b2evolution.net for http://OpenShift.com PaaS - from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way! -
Re: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap is used up until system freezes
On Sat, Sep 10, 2016 at 6:49 PM, Dennis E. Hamilton <dennis.hamil...@acm.org> wrote: > > I don't understand the point of posting this message to dev@oo.a.o, > especially with all the details of an apparent Linux problem in conjunction > with LibreOffice (but not necessarily caused by LibreOffice). > > I assume the recommendation of Apache OpenOffice is not as a substitute Your assumption is false. Period. > but to see if there is any forensic information to be gained by trying it > too. That's similar to why I compare AOO problems reported on .doc and .xls > files in Microsoft Office and LibreOffice to see if there is anything > different that is informative. > > What did you have in mind, Jose? > > > -Original Message- > > From: jose@metztli.com [mailto:jose@metztli.com] On Behalf Of > > Jose R R > > Sent: Saturday, September 10, 2016 17:37 > > To: Wolfgang Tichy <wtich...@gmail.com>; 837...@bugs.debian.org > > Cc: Debian Bug Tracking System <sub...@bugs.debian.org>; dev > > <dev@openoffice.apache.org> > > Subject: Re: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap > > is used up until system freezes > > > > On Fri, Sep 9, 2016 at 12:37 PM, Wolfgang Tichy <wtich...@gmail.com> > > wrote: > > > Package: src:linux > > > Version: 3.16.7-ckt25-2+deb8u3 > > > Severity: critical > > > Tags: security > > > Justification: causes serious data loss > > > > > > Dear Maintainer, > > > > > > when I open a particular word document (it contains images and I can > > send it > > > to you for testing) with libreoffice, all memory and all swap get used > > up > > > within about a minute. > > > > You may want to *narrow down* your memory issue by trying out Apache > > OpenOffice: > > > > Download: https://openoffice.org/download/ > > > [ ... ] > > > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > -- Jose R R http://metztli.it - Try at no charge http://b2evolution.net for http://OpenShift.com PaaS - from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way! - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
RE: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap is used up until system freezes
I don't understand the point of posting this message to dev@oo.a.o, especially with all the details of an apparent Linux problem in conjunction with LibreOffice (but not necessarily caused by LibreOffice). I assume the recommendation of Apache OpenOffice is not as a substitute but to see if there is any forensic information to be gained by trying it too. That's similar to why I compare AOO problems reported on .doc and .xls files in Microsoft Office and LibreOffice to see if there is anything different that is informative. What did you have in mind, Jose? > -Original Message- > From: jose@metztli.com [mailto:jose@metztli.com] On Behalf Of > Jose R R > Sent: Saturday, September 10, 2016 17:37 > To: Wolfgang Tichy <wtich...@gmail.com>; 837...@bugs.debian.org > Cc: Debian Bug Tracking System <sub...@bugs.debian.org>; dev > <dev@openoffice.apache.org> > Subject: Re: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap > is used up until system freezes > > On Fri, Sep 9, 2016 at 12:37 PM, Wolfgang Tichy <wtich...@gmail.com> > wrote: > > Package: src:linux > > Version: 3.16.7-ckt25-2+deb8u3 > > Severity: critical > > Tags: security > > Justification: causes serious data loss > > > > Dear Maintainer, > > > > when I open a particular word document (it contains images and I can > send it > > to you for testing) with libreoffice, all memory and all swap get used > up > > within about a minute. > > You may want to *narrow down* your memory issue by trying out Apache > OpenOffice: > > Download: https://openoffice.org/download/ > [ ... ] - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Bug#837178: linux-image-3.16.0-4-amd64: All memory and swap is used up until system freezes
On Fri, Sep 9, 2016 at 12:37 PM, Wolfgang Tichywrote: > Package: src:linux > Version: 3.16.7-ckt25-2+deb8u3 > Severity: critical > Tags: security > Justification: causes serious data loss > > Dear Maintainer, > > when I open a particular word document (it contains images and I can send it > to you for testing) with libreoffice, all memory and all swap get used up > within about a minute. You may want to *narrow down* your memory issue by trying out Apache OpenOffice: Download: https://openoffice.org/download/ > This happens slowly enough that it can be monitored > with "top" and "free". What I see with top is that soffice.bin (which is > libreoffice) does not use much memory (maybe 2%). Nevertheless more and more > memory gets used. "free -h" gives something like this: > > total used free sharedbuffers cached > Mem: 7.5G 7.4G 141M 5.9G71M 6.4G > -/+ buffers/cache: 917M 6.6G > Swap: 8.0G 663M 7.4G > > Eventually the "used" column in the "Mem:" and "Swap:" and lines reach the > total and the system runs out of memory and becomes totally unresponsive > (even the mouse pointer freezes), no remote logins are possible at this > point, and all keypresses are ignored. The only way to regain control is by > holding down the power button for 10s. However, the "used" column in the > "-/+ buffers/cache:" line stays near 1GB, so that it is clear that > buffers/caches take up almost all the space. > > You may wonder why I file this against the kernel and not libreoffice. Well, > I am sure libreoffice is doing something stupid, that could be fixed to > circumvent this problem. But the kernel should simply not allow any user > process to bring down the entire system. Also it seems the kernel is > allocating caches or buffers until it runs out of all memory and then > freezes. If it was only libreoffice allocating memory, OOM killer would kill > it. But nothing like this happens, even if you wait 2h nothing happens. I > think OOM killer does nothing because no single user process uses a lot of > memory. It's the kernel choking on itself. > > Ok, so now let me speculate on what might be wrong. I am filing this report > for my laptop that has a i7-3667U CPU with integrated Intel graphics card: > 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor > Graphics Controller (rev 09) > But the problem also occurs on 3 other Debian desktop machines that run the > same kernel, and have either Intel or ATI graphics, i.e.: > 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen > Core Processor Integrated Graphics Controller (rev 06) > 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] > Barts PRO [Radeon HD 6850] > 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] > Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] > However, it happens differently on a 4th Debian desktop machine with > 07:00.0 VGA compatible controller: NVIDIA Corporation NV42GL [Quadro FX > 3450/4000 SDI] (rev a2) > On this one, Gnome3 crashes and dmesg has a lot of lines lines like: > [880754.926611] [TTM] Failed to find memory space for buffer > 0x880367e42800 eviction > [880754.926613] [TTM] No space for 880367e42800 (497 pages, 1988K, 1M) > [880754.926614] [TTM] placement[0]=0x00070002 (1) > [880754.926616] [TTM] has_type: 1 > [880754.926617] [TTM] use_type: 1 > [880754.926618] [TTM] flags: 0x000A > [880754.926619] [TTM] gpu_offset: 0x > [880754.926620] [TTM] size: 131072 > [880754.926621] [TTM] available_caching: 0x0007 > [880754.926622] [TTM] default_caching: 0x0001 > This is actually good because after the gnome3 crash the system is still > usable. I should say that in all cases I am using the open source graphics > drivers that use kernel mode setting. So the latter crash leads me to think > that some interaction between the graphics drivers and the kernel leads to > the allocation of too many buffers/caches by the kernel until it runs out. > Probably this is all triggered by libreoffice (running on X) trying to > display some JPG images in a document. > > The reason why I consider this security relevant is that anybody with a user > account can use libreoffice to bring the system down. This will cause data > loss since all other users cannot save any data in open files. > > Thank you very much for considering this report, > Wolfgang Tichy > > > -- Package-specific info: > ** Version: > Linux version 3.16.0-4-amd64 (debian-ker...@lists.debian.org) (gcc version > 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) > > ** Command line: > BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 > root=UUID=111acff4-4673-47ad-85a1-43f48c1c7621 ro quiet > > ** Tainted: W (512) > * Taint on warning. > > ** Kernel log: > [44950.827165] Broke affinity for irq 41 >