GtkText in Gtk 1.1.1
- From: Robin Ericsson <lobbin lobbin ml org>
- To: gtk-list redhat com
- Subject: GtkText in Gtk 1.1.1
- Date: Mon, 07 Sep 1998 22:26:48 +0200 (CEST)
Ok, I don't know what they did with the text widget between version 1.0.4 and
1.0.5, but obviously that haven't happened in the development release 1.1.1. I
had this crashes with 1.0.4, but never with 1.0.5.
Note: I haven't checked this with the CVS, only with 1.1.1
** ERROR **: file gtktext.c: line 3025 (advance_mark_n): "n > 0"
IOT trap/Abort (core dumped)
Core was generated by `amcl'.
Program terminated with signal 6, IOT trap/Abort.
Reading symbols from /usr/local/lib/libgtk-1.1.so.1...done.
Reading symbols from /usr/local/lib/libgdk-1.1.so.1...done.
Reading symbols from /usr/local/lib/libglib-1.1.so.0...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /lib/libm.so.5...done.
Reading symbols from /lib/libc.so.5...done.
Reading symbols from /usr/X11R6/lib/libXintl.so.6...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0 0x40257c65 in __kill ()
(gdb) bt
#0 0x40257c65 in __kill ()
#1 0x40226ae5 in raise ()
#2 0x400ac21b in advance_mark_n (mark=0xbfffe498, n=0) at gtktext.c:3025
#3 0x400aea58 in draw_line (text=0x805a200, pixel_start_height=91,
lp=0x808d0e4)
at gtktext.c:4569
#4 0x400af182 in expose_text (text=0x805a200, area=0xbfffe558, cursor=0) at
gtktext.c:4808
#5 0x400ab9d7 in insert_expose (text=0x805a200, old_pixels=13, nchars=1,
new_line_count=1)
at gtktext.c:2623
#6 0x400a844e in gtk_text_insert (text=0x805a200, font=0x80746c0,
fore=0x807552c,
back=0x8075568, chars=0x804ebf7 " ", nchars=1) at gtktext.c:805
#7 0x804cdde in textfield_add (
message=0xbfffe604 "220 lobbin.rs ESMTP\n250-lobbin.rs\n250-PIPELINING\n250
8BITMIME\n221 lobbin.rs\n", colortype=2) at window.c:429
#8 0x804b67a in read_from_connection (data=0x0, source=4,
condition=GDK_INPUT_READ)
at net.c:217
#9 0x400f1a68 in gdk_event_wait () at gdk.c:1732
#10 0x400f0cf5 in gdk_event_get () at gdk.c:824
#11 0x40074e09 in gtk_main_iteration_do (blocking=1) at gtkmain.c:573
#12 0x40074d7f in gtk_main_iteration () at gtkmain.c:517
#13 0x40074bd5 in gtk_main () at gtkmain.c:423
#14 0x804a13b in main (argc=1, argv=0xbffff8ac) at amcl.c:34
#15 0x8049dfe in ___crt_dummy__ ()
(gdb) frame 7
#7 0x804cdde in textfield_add (
message=0xbfffe604 "220 lobbin.rs ESMTP\n250-lobbin.rs\n250-PIPELINING\n250
8BITMIME\n221 lobbin.rs\n", colortype=2) at window.c:429
429 gtk_text_insert (GTK_TEXT (text_field), NULL, NULL, NULL,"
", 1 );
(gdb) l
424 case MESSAGE_ANSI:
425 if ( !strstr (message, "\033[") )
426 {
427 gtk_text_insert (GTK_TEXT (text_field), font_normal,
428 foreground, NULL, message, -1);
429 gtk_text_insert (GTK_TEXT (text_field), NULL, NULL, NULL,"
", 1 );
430 gtk_text_backward_delete (GTK_TEXT (text_field), 1);
431
432 break;
433 }
---
''~``
( o o )
+-[Web - http://lobbin.ml.org/-------.oooO--(_)--Oooo.-------------+
| Robin Ericsson - System Administrator - HTML/PERL/C Hacker |
| Implementor of the mud The Shadow Rising - Soon to be open |
+-[eMail - lobbin@lobbin.ml.org]-----------------------------------+
-- How about a fortune?
Only great masters of style can succeed in being obtuse.
-- Oscar Wilde
Most UNIX programmers are great masters of style.
-- The Unnamed Usenetter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]