Changeset ec13365 in rtems


Ignore:
Timestamp:
Oct 12, 2020, 1:49:07 PM (6 weeks ago)
Author:
Frank Kühndel <frank.kuehndel@…>
Branches:
master
Children:
1229817
Parents:
a479686
git-author:
Frank Kühndel <frank.kuehndel@…> (10/12/20 13:49:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/12/20 13:49:15)
Message:

testsuites/samples/fileio - Increase of stack size

When I use the 'shell' from the fileio sample with the command below:

env QEMU_AUDIO_DRV="none" \
qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 \
-m 256M \
-kernel build/arm/realview_pbx_a9_qemu/testsuites/samples/fileio.exe

The executable crashes with an "BLOWN STACK!!!" as soon as I try to login
as 'root' with password. (The logins without password work fine.)
Increasing the stack size of the affected thread a bit solves the issue.
Hence, I suggest this patch.

My config.ini was

[arm/realview_pbx_a9_qemu]
RTEMS_DEBUG = True
RTEMS_NETWORKING = True
RTEMS_POSIX_API = True
RTEMS_SMP = True
BUILD_TESTS = True

RTEMS origin.master at a479686c112144119866391ceb21c48be6a3eca9

Close #4143

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/fileio/init.c

    ra479686 rec13365  
    631631  rtems_shell_init(
    632632    "SHLL",                          /* task_name */
    633     RTEMS_MINIMUM_STACK_SIZE * 4,    /* task_stacksize */
     633    RTEMS_MINIMUM_STACK_SIZE * 5,    /* task_stacksize */
    634634    100,                             /* task_priority */
    635635    "/dev/foobar",                   /* devname */
Note: See TracChangeset for help on using the changeset viewer.