Re: [Evolution] gnome-gtkhtml-editor SIGABRT on return-key

Michael Rothwell wrote:

CVS as of 3am for Gal, GtkHTML, and Evolution:

Program received signal SIGABRT, Aborted.
0x4086dd21 in __kill () from /lib/

[stack trace deleted]

the following patch removes (hides?) the problem:

-----------------------------patch start-------------------------------
Index: engine.c
RCS file: /cvs/gnome/gtkhtml/components/html-editor/engine.c,v
retrieving revision 1.12
diff -u -b -B -r1.12 engine.c
--- engine.c    2001/04/25 09:13:20     1.12
+++ engine.c    2001/05/18 15:39:45
@@ -54,7 +54,12 @@

        /* printf ("get paragraph data\n"); */

- return value ? value : ""; + if (value) { + return CORBA_string_dup(value); + } + else { + return CORBA_string_alloc(0); + }

 static void
---------------------------patch end------------------------------------

ORBit does it's own storage mgmt. since the return value from this function is used by ORBit it's freed after it is sent back to the caller. Therefore use the ORBit memroy allocation functions to allocate memory for the return values.

Michael Lausch
See my web page <> or query PGP key server for PGP key.
"Reality is that which, when you stop believing in it, doesn't go away".
                -- Philip K. Dick

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]