#4 segv during denoise

closed-fixed
nobody
None
5
2004-03-06
2003-10-09
Andrew Burgess
No

gwc 19.10, redhat 9 plus planet CCRMA, tried gcc 3.2 and rawhide gcc 3.3, -g -O0

wav is 460MB, select a few seconds sample, viewall, selectall, denoise, SEGV
From gdb it looks like a stack overflow. ulimit is unlimited.
There are about 2MB on the stack but this seems ok to me. I wrote a
little test program that put 4MB on the stack and it worked fine. I've
had bugs in the past with several hundred MB on the stack and silmilar
symptoms but I can't figure this one out.

This is a mono wav. I can't think of anything else odd. Please email me
if I can help aab@cichlid.com. I will try older gwcs...

gdb transcript follows:

#0 denoise (pPrefs=0x80871e0, pDnprefs=0x820dac0, noise_start=218363483, noise_end=218949886,
first_sample=0, last_sample=230010542, channel_mask=1) at denoise.c:422
422 int framenum = 0 ;
(gdb) p framenum
Cannot access memory at address 0xbfdbdef4
(gdb) where
#0 denoise (pPrefs=0x80871e0, pDnprefs=0x820dac0, noise_start=218363483, noise_end=218949886,
first_sample=0, last_sample=230010542, channel_mask=1) at denoise.c:422
#1 0x08053455 in remove_noise (widget=0x82b4948, data=0x0) at gwc.c:678
#2 0x40208ff6 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#3 0x40241015 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#4 0x4024016d in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#5 0x4023dab2 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#6 0x40195dd0 in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
#7 0x4019778b in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0
#8 0x40208ff6 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#9 0x4024007e in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#10 0x4023dab2 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#11 0x40195ce0 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
#12 0x40196fc1 in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0
#13 0x40208c26 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#14 0x402401b2 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#15 0x4023dab2 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x4027ee4a in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#17 0x40208a6f in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#18 0x402077f4 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#19 0x402c7f15 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#20 0x404619ae in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#21 0x40461e89 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#22 0x40462124 in g_main_run () from /usr/lib/libglib-1.2.so.0
#23 0x4020727f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#24 0x08056b71 in main (argc=2, argv=0xbfffeda4) at gwc.c:2300
#25 0x405d15cd in __libc_start_main () from /lib/libc.so.6

Discussion

  • Jeff Welty
    Jeff Welty
    2004-03-06

    • status: open --> open-fixed
     
  • Jeff Welty
    Jeff Welty
    2004-03-06

    • status: open-fixed --> closed-fixed