ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [ethereal-dev] Colorize Display crashed

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gregor Glomm <gg@xxxxxx>
Date: Thu, 16 Dec 1999 08:53:39 +0100
Hi,

using the menu option "Colorize Display" there is a bug on my system.
I know that my way to use the menu was wrong, but it still not a reason
to
crash the programm.
Here are the steps I made. 
1. choose the Colorize Display
2. press the new button
3. insert in "Filter text" :http
4. choose bg color
5. press ok on the "Edit color filter" dialog
6. press ok on the "Add color to protocols" dialog
7. press ok on the "choos color" dialog
7. Goodby Ethereal (crash)


Here is the bt from gdb.

Gtk-CRITICAL **: file gtkstyle.c: line 350 (gtk_style_copy): assertion
`style != N
ULL' failed.

Program received signal SIGSEGV, Segmentation fault.
0x805e8c7 in color_sel_ok_cb (button=0x83080e8, user_data=0x83543c8)
    at colors.c:666
666               style->base[GTK_STATE_NORMAL] = new_color;
(gdb) bt
#0  0x805e8c7 in color_sel_ok_cb (button=0x83080e8, user_data=0x83543c8)
    at colors.c:666
#1  0x4022866d in gtk_marshal_NONE__NONE (object=0x83080e8,
    func=0x805e7b8 <color_sel_ok_cb>, func_data=0x83543c8,
args=0xbfffed7c)
    at gtkmarshal.c:312
#2  0x40259165 in gtk_handlers_run (handlers=0x836af08,
signal=0xbfffed38,
    object=0x83080e8, params=0xbfffed7c, after=0) at gtksignal.c:1909
#3  0x402584b0 in gtk_signal_real_emit (object=0x83080e8, signal_id=90,
    params=0xbfffed7c) at gtksignal.c:1469
#4  0x40256401 in gtk_signal_emit (object=0x83080e8, signal_id=90)
    at gtksignal.c:552
#5  0x401c25f8 in gtk_button_clicked (button=0x83080e8) at
gtkbutton.c:338
#6  0x401c3d58 in gtk_real_button_released (button=0x83080e8) at
gtkbutton.c:852
#7  0x4022866d in gtk_marshal_NONE__NONE (object=0x83080e8,
    func=0x401c3cc0 <gtk_real_button_released>, func_data=0x0,
args=0xbffff0bc)
    at gtkmarshal.c:312
#8  0x40258353 in gtk_signal_real_emit (object=0x83080e8, signal_id=89,
    params=0xbffff0bc) at gtksignal.c:1432
#9  0x40256401 in gtk_signal_emit (object=0x83080e8, signal_id=89)
    at gtksignal.c:552
#10 0x401c2538 in gtk_button_released (button=0x83080e8) at
gtkbutton.c:329
#11 0x401c36b2 in gtk_button_button_release (widget=0x83080e8,
event=0x83033c0)
    at gtkbutton.c:712
#12 0x40228239 in gtk_marshal_BOOL__POINTER (object=0x83080e8,
---Type <return> to continue, or q <return> to quit---
    func=0x401c35e0 <gtk_button_button_release>, func_data=0x0,
args=0xbffff410)
    at gtkmarshal.c:28
#13 0x402584e9 in gtk_signal_real_emit (object=0x83080e8, signal_id=21,
    params=0xbffff410) at gtksignal.c:1484
#14 0x40256401 in gtk_signal_emit (object=0x83080e8, signal_id=21)
    at gtksignal.c:552
#15 0x4028ef68 in gtk_widget_event (widget=0x83080e8, event=0x83033c0)
    at gtkwidget.c:2843
#16 0x40228192 in gtk_propagate_event (widget=0x83080e8,
event=0x83033c0)
    at gtkmain.c:1313
#17 0x4022730a in gtk_main_do_event (event=0x83033c0) at gtkmain.c:770
#18 0x402da18b in gdk_event_dispatch (source_data=0x0,
current_time=0xbffff794,
    user_data=0x0) at gdkevents.c:2129
#19 0x4030c673 in g_main_dispatch (current_time=0xbffff794) at
gmain.c:656
#20 0x4030ccab in g_main_iterate (block=1, dispatch=1) at gmain.c:874
#21 0x4030ce61 in g_main_run (loop=0x81dcf50) at gmain.c:932
#22 0x40226beb in gtk_main () at gtkmain.c:476
#23 0x80db6be in main (argc=1, argv=0xbffff8a4) at main.c:1433  

By,

Gregor