[RTEMS Project] #4143: fileio - Stack too small for login with password

RTEMS trac trac at rtems.org
Mon Oct 12 13:49:36 UTC 2020


#4143: fileio - Stack too small for login with password
----------------------------------------------+---------------------
 Reporter:  Frank Kuehndel                    |       Owner:  joel@…
     Type:  defect                            |      Status:  closed
 Priority:  normal                            |   Milestone:  6.1
Component:  test                              |     Version:  6
 Severity:  minor                             |  Resolution:  fixed
 Keywords:  fileio,stack,password,login,root  |  Blocked By:
 Blocking:                                    |
----------------------------------------------+---------------------
Changes (by Frank Kühndel <frank.kuehndel@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"ec13365d770f41a3d7ecda661a8844a47b4e1fb9/rtems"
 ec13365/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="ec13365d770f41a3d7ecda661a8844a47b4e1fb9"
 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
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4143#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list