gedit crash erases all data in open files

Bug #1296517 reported by ethanay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
New
Undecided
Unassigned

Bug Description

Dmesg: gedit[3263]: segfault at 0 ip b6c0b06b sp bfb143ac error 4 in libglib-2.0.so.0.3200.4[b6b9a000+f7000]

What I expected to happen: Gedit crashed, and I expected to be able to open my saved files and resume working after the crash
What happened instead: Gedit somehow overwrote the saved files with blank data. One file's hidden backup was deleted in the process, somehow. I was able to restore a recent version from the other file's hidden backup copy.

More information:

I had two saved files open as tabs in a single gedit window. I copied a paragraph from the first tab, and opened up a saved LibreOffice Writer document. Upon trying to paste the paragraph data I had copied from gedit into libreoffice writer, gedit crashed. Ubuntu prompt asked me whether I wanted to restart gedit, and i confirmed. Gedit reopened the saved files as completely blank documents.

I am checking the box for security vulnerability because it might be something someone could exploit to force unauthorized loss of data.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gedit 3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-60.62-lowlatency-pae 3.2.55
Uname: Linux 3.2.0-60-lowlatency-pae i686
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Sun Mar 23 21:14:03 2014
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MarkForUpload: True
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
ethanay (ethan-y-us) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
ethanay (ethan-y-us) wrote : Re: [Bug 1296517] Re: gedit crash erases all data in open files

Thanks, Seth. It clearly did cause loss of data, though, so I'm confused
about that part of your statement?
Something in the crash OR an automatic recovery process erased saved work

ethan

On Mon, Mar 24, 2014 at 2:51 PM, Seth Arnold <email address hidden>wrote:

> Thanks for taking the time to report this bug and helping to make Ubuntu
> better. We appreciate the difficulties you are facing, but this appears
> to be a "regular" (non-security) bug. I have unmarked it as a security
> issue since this bug does not show evidence of allowing attackers to
> cross privilege boundaries nor directly cause loss of data/privacy.
> Please feel free to report any other bugs you may find.
>
> ** Information type changed from Private Security to Public
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1296517
>
> Title:
> gedit crash erases all data in open files
>
> Status in "gedit" package in Ubuntu:
> New
>
> Bug description:
> Dmesg: gedit[3263]: segfault at 0 ip b6c0b06b sp bfb143ac error 4 in
> libglib-2.0.so.0.3200.4[b6b9a000+f7000]
>
> What I expected to happen: Gedit crashed, and I expected to be able to
> open my saved files and resume working after the crash
> What happened instead: Gedit somehow overwrote the saved files with
> blank data. One file's hidden backup was deleted in the process, somehow.
> I was able to restore a recent version from the other file's hidden backup
> copy.
>
> More information:
>
> I had two saved files open as tabs in a single gedit window. I
> copied a paragraph from the first tab, and opened up a saved
> LibreOffice Writer document. Upon trying to paste the paragraph data
> I had copied from gedit into libreoffice writer, gedit crashed.
> Ubuntu prompt asked me whether I wanted to restart gedit, and i
> confirmed. Gedit reopened the saved files as completely blank
> documents.
>
> I am checking the box for security vulnerability because it might be
> something someone could exploit to force unauthorized loss of data.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: gedit 3.4.1-0ubuntu1
> ProcVersionSignature: Ubuntu 3.2.0-60.62-lowlatency-pae 3.2.55
> Uname: Linux 3.2.0-60-lowlatency-pae i686
> ApportVersion: 2.0.1-0ubuntu17.6
> Architecture: i386
> Date: Sun Mar 23 21:14:03 2014
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386
> (20120423)
> MarkForUpload: True
> SourcePackage: gedit
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1296517/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.