Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

TFTP server stack size

In case anyone else is trying to use TFTP - the default stack size for the server daemon is being calculated as 12 bytes! I looked into the CDL for this component and found that the default stack size is being calculated using symbols which are not defined (at least I couldn't find them in my installation). When I manually changed the size to 4096 in configtool, it fixed the crashes I'd been experiencing. FYI...

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, if you look at the .ecc, the ecos config tool doesn't seem to know the CYG default thread stack size variable. When I checked my compilation, the stack size was eventually filled in correctly even though ecos config screen was showing 12.

    --- Quote Start ---

    originally posted by patnystrom@Jul 9 2005, 10:08 PM

    in case anyone else is trying to use tftp - the default stack size for the server daemon is being calculated as 12 bytes[/b]! I looked into the CDL for this component and found that the default stack size is being calculated using symbols which are not defined (at least I couldn't find them in my installation). When I manually changed the size to 4096 in configtool, it fixed the crashes I'd been experiencing. FYI...

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=8236)

    --- Quote End ---

    [/b]

    --- Quote End ---