Closed Bug 14975 Opened 25 years ago Closed 25 years ago

GtkMozilla "simplebrowser" test program segfaults on "test stream"

Categories

(Core Graveyard :: Tracking, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: zuperdee, Assigned: alla-old)

Details

I hope I am assigning this bug correctly...  I apologize if this is not the
correct way to file it.

Anyway, it seems that the "simplebrowser" test program that is part of
GtkMozilla segfaults when I press the "Test Stream" button.  This is on a Red
Hat 6.0 system, compiled with GCC 2.95.1, and glibc 2.1.1.  Here is the
backtrace from gdb:

#0  0x40017b40 in GtkMozillaContainer::WriteStream (this=0x80cbce0,
    data=0xbfffefc0 "<html><body>testing <a href=\"test.html\">HTML</a>
streaming...</body></html>", offset=0, len=76)
    at
../../../../../mozilla/webshell/embed/gtk/lib/GtkMozillaContainer.cpp:498#1
0x40017024 in gtk_mozilla_stream_write (moz=0x80cbba0,
    data=0xbfffefc0 "<html><body>testing <a href=\"test.html\">HTML</a>
streaming...</body></html>", offset=0, len=76)
    at ../../../../../mozilla/webshell/embed/gtk/lib/gtkmozilla.cpp:393
#2  0x80494b3 in stream_clicked (button=0x8081858, arg=0x80cbba0)
    at
../../../../../../mozilla/webshell/embed/gtk/examples/simplebrowser/simplebrowser.c:97
#3  0x402a565d in gtk_marshal_NONE__NONE ()
#4  0x4026a65d in gtk_handlers_run ()
#5  0x40269ab2 in gtk_signal_real_emit ()
#6  0x40267c05 in gtk_signal_emit ()
#7  0x401de188 in gtk_button_clicked ()
#8  0x401df778 in gtk_real_button_released ()
#9  0x402a565d in gtk_marshal_NONE__NONE ()
#10 0x4026996b in gtk_signal_real_emit ()
#11 0x40267c05 in gtk_signal_emit ()
#12 0x401de0c8 in gtk_button_released ()
#13 0x401df132 in gtk_button_button_release ()
#14 0x402a5229 in gtk_marshal_BOOL__POINTER ()
#15 0x40269aeb in gtk_signal_real_emit ()
#16 0x40267c05 in gtk_signal_emit ()
#17 0x4029c9d8 in gtk_widget_event ()
#18 0x4023db22 in gtk_propagate_event ()
#19 0x4023cd7a in gtk_main_do_event ()
#20 0x402e60fb in gdk_event_dispatch ()
#21 0x40313a86 in g_main_dispatch ()
#22 0x40314041 in g_main_iterate ()
#23 0x403141e1 in g_main_run ()
#24 0x4023c7a9 in gtk_main ()
#25 0x80499bd in main (argc=1, argv=0xbffffbd4)
    at
../../../../../../mozilla/webshell/embed/gtk/examples/simplebrowser/simplebrowser.c:214
#26 0x4040dcb3 in __libc_start_main (main=0x8049534 <main>, argc=1,
    argv=0xbffffbd4, init=0x8048f40 <_init>, fini=0x8049a04 <_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffbcc)
    at ../sysdeps/generic/libc-start.c:78
Status: NEW → ASSIGNED
Summary: GtkMozilla "simplebrowser" test program segfaults → GtkMozilla "simplebrowser" test program segfaults on "test stream"
I'm aware of this. It is due to all changes in the stream interfaces in the
change to Necko.

Some day i'll find time to fix this.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed this.
Status: RESOLVED → VERIFIED
Verified.  BTW, I think GtkMozilla should get its own Bugzilla component, too.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.