Re: Problem with fl_set_input

Frank Stefani (EAD-Frank.Stefani@t-online.de)
Tue, 25 Feb 1997 16:40:35 +0100

To subscribers of the xforms list from Frank Stefani <EAD-Frank.Stefani@t-online.de> :

Rob Aspin wrote:
> Some of the linux users of the prog are having a problem that appears to
> be xforms related. When they start the prog a seg fault occures. This
> appears to be related to the fl_set_input command using in the
> initialisation stage of the programme.
>
> >From gdb
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x801fea8 in fl_set_input ()
> (gdb) where
> #0 0x801fea8 in fl_set_input ()
> #1 0x800a120 in ra_initialize ()
> #2 0x8009f03 in main ()
> #3 0x8009e45 in ___crt_dummy__ ()
> #4 0x804af24 in fl_fonts ()
> Cannot access memory at address 0x3.

Oooops! As far as I know no program can access so called NULL
pointers. Have you recognized the address 0x3 ;-))

Check out what the data (string) looks like at the moment of the
fl_set_input() call. Maybe you use a "char mychar[]" instead of
a "char *mychar"??

Hope, this is usefull for you,
Frank.

-- 
---------------------------------------------------------------
      /_____/    /___/     /__ \      EAD-Systeme GmbH
                              \ \     Nachfeldstr. 4
     /__/      /______/   /           D-82490 Farchant, Germany
                          ____/ /     Phone: +49 8821 9623-0
    /______/  /_/   /_/  /_____/      Fax: +49 8821 9623-20
---------------------------------------------------------------
Email: <EAD-Frank.Stefani@t-online.de>
---------------------------------------------------------------
_________________________________________________
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/xforms-archive/