Bug 103933 - gedit crash on file load from shell
gedit crash on file load from shell
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: gedit (Show other bugs)
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Havoc Pennington
: Triaged
Depends On:
Blocks: CambridgeBlocker 101028 132991
  Show dependency treegraph
Reported: 2003-09-07 20:30 EDT by jahshaka
Modified: 2007-11-30 17:06 EST (History)
3 users (show)

See Also:
Fixed In Version: 2.4.0-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-10-21 16:02:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
fix for this bug (346 bytes, patch)
2003-09-09 12:35 EDT, Matt Wilson
no flags Details | Diff

  None (edit)
Description jahshaka 2003-09-07 20:30:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ia64; en-US; rv:1.4) Gecko/20030902

Description of problem:
Gedit launches no problem, and lets you enter and modify data if you lunch it on
its own first. However if you try to open a file from the shell it crashes.

I get the following error when i try to launch 
>gedit filename

GLib-ERROR **: gmem.c:140: failed to allocate 6917529027641116335 bytes

Version-Release number of selected component (if applicable):
glib-1.2.10-11.1 libgnome-2.2.2-6

How reproducible:

Steps to Reproduce:
1. gedit filename
2. crash

Actual Results:  crashes every time

Expected Results:  it should have opened the file

Additional info:
Comment 1 Matt Wilson 2003-09-09 12:29:33 EDT
gedit-document.c:670: warning: passing arg 2 of `eel_read_entire_file' from
incompatible pointer type
Comment 2 Matt Wilson 2003-09-09 12:35:42 EDT
Created attachment 94333 [details]
fix for this bug
Comment 3 jahshaka 2003-09-25 02:59:09 EDT
has this patch been added into the latest up2date downloads ? i just updated my
system and its still there...

>gedit install.log
GLib-ERROR **: gmem.c:140: failed to allocate 6917529027641116856 bytes
Comment 4 Havoc Pennington 2003-10-08 16:23:33 EDT
This fix hasn't been incorporated yet, that I see.
Comment 5 Matt Wilson 2003-10-21 16:02:18 EDT
in 2.4.0-3
Comment 6 Tony Ernst 2004-07-22 11:04:16 EDT
Will there be an errata issued for this anytime soon?  I had hoped
that an updated gedit rpm might be included in RHEL 3 Update 2, but it
wasn't.  Thanks.
Comment 8 Dan Williams 2005-01-11 14:07:50 EST

Please grab package from:


and report if it works...  This fix is currently targetted at RHEL3 U5.

Comment 9 Dan Williams 2005-01-11 14:08:29 EST
*** Bug 144814 has been marked as a duplicate of this bug. ***
Comment 10 Tony Ernst 2005-01-11 15:49:58 EST

Yes, that fixes the problem.

Thank you!

Comment 11 Rick James 2005-01-11 16:32:56 EST

The gedit-2.2.2-3 patch fixed the problem here.

Comment 12 Jay Turner 2005-04-07 07:28:49 EDT
Fix confirmed with 2.2.2-4 which is scheduled to go out as part of U5 update.
Comment 13 Tim Powers 2005-05-19 09:19:08 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.