[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-serveez] core dump when calling svz:sock:data before svz:sock:serve
From: |
Neil W. Van Dyke |
Subject: |
[bug-serveez] core dump when calling svz:sock:data before svz:sock:server |
Date: |
Tue, 5 Mar 2002 16:16:13 -0500 |
After calling "svz:sock:connect" from Guile, Serveez 0.1.3 appeared to
consistently dump core when I called "svx:sock:data" to set the data
before calling "svz:sock:server" to set the managing server.
Serveez stopped dumping core when I changed the code to call
"svz:sock:server" before "svz:sock:data".
If it's essential that the server be set before the data when creating a
socket with "svz:sock:connect", then slightly more graceful handling and
reporting of error conditions would be helpful.
Thanks,
Neil
#0 0x40119583 in svz_array_get (array=0x80ccb10, index=0) at array.c:131
131 return array->data[index];
(gdb) where
#0 0x40119583 in svz_array_get (array=0x80ccb10, index=0) at array.c:131
#1 0x4011b9c6 in svz_binding_filter_net (sock=0x80db860, addr=16777343,
port=14353) at binding.c:589
#2 0x4011babd in svz_binding_filter (sock=0x80db860) at binding.c:632
#3 0x401188c0 in svz_sock_detect_proto (sock=0x80db860) at socket.c:140
#4 0x40110757 in svz_tcp_read_socket (sock=0x80db860) at tcp-socket.c:188
#5 0x4011493b in svz_check_sockets_poll () at server-loop.c:495
#6 0x40114a8c in svz_check_sockets () at server-loop.c:808
#7 0x40113e51 in svz_loop_one () at server-core.c:1236
#8 0x40113f85 in svz_loop () at server-core.c:1310
#9 0x0804ca0a in guile_entry (argc=3, argv=0xbffffb14) at serveez.c:121
#10 0x0804c8f4 in guile_launch_pad (closure=0x804c900, argc=3, argv=0xbffffb14)
at serveez.c:65
#11 0x4005834a in invoke_main_func (body_data=0xbffffa6c) at init.c:636
#12 0x400582ff in scm_boot_guile_1 (base=0xbffffa68, closure=0xbffffa6c)
at init.c:616
#13 0x40058010 in scm_boot_guile (argc=3, argv=0xbffffb14,
main_func=0x804c8e0 <guile_launch_pad>, closure=0x804c900) at init.c:440
#14 0x0804cbc7 in main (argc=3, argv=0xbffffb14) at serveez.c:225
#15 0x401a96cf in __libc_start_main () from /lib/libc.so.6
--
Neil W. Van Dyke
http://www.neilvandyke.org/
- [bug-serveez] core dump when calling svz:sock:data before svz:sock:server,
Neil W. Van Dyke <=