XForms: fl_exe_command dumper blues?

Anthony E Cooper (anthony.cooper@virgin.net)
Wed, 20 May 1998 22:05:57 +0100

# To subscribers of the xforms list from Anthony E Cooper <anthony.cooper@virgin.net> :

Hello,

I am in the middle of writing a go-online dialer GUI in XForms (V0.88,
Linux i386 Kernel v2.0.33). It has a number of timers for detecting
online/offline events, idle timeouts, stats displays etc. Everything
worked fine until I added code to abort the dialup operation if it
hadn't managed to connect after 30 seconds. This code basically displays
a dialog and then kills off the dialup process by using fl_exe_command
(which is also used to start the dialup process in the first place). The
fl_exe_command seems to cause the program to dump core about 50% of the
time and/or complain about bad timer ids (this may give you a clue since
the code executed at this point does nothing with any timers so its
something internal to XForms). The only difference between the
fl_exe_command here and when I initially dial up is that the initial
dialup is done in non-block mode in a button callback whereas the other
is done in block mode in a timer callback (registered with
fl_add_timeout). Processes are reaped by a generic SIGCHLD signal
handler which simply does a waitpid (-1, &status, WNOHANG).

Any ideas?

Many thanks for your help in advance.

Tony Cooper.

-- 
/Earth 98% full, please delete anyone you can.

Pay a visit to my home page at: http://freespace.virgin.net/anthony.cooper/

_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html XForms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/