| Anonymous | Login | Signup for a new account | 11-10-2008 11:01 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000846 | [BusyBox] Other | major | always | 04-22-06 13:18 | 03-01-08 01:35 | ||||
| Reporter | John | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.1.x | ||||||
| Summary | 0000846: msh - break/continue statement within nested loop causes hang or segfault | ||||||||
| Description | To be more exact, break/continue statement within nested loop causes hang or segfault on 2nd/3rd/i.e. >1 iteration. | ||||||||
| Additional Information |
Minimal sample code that shows the bug: n=0 while : do while : do break done echo iteration [ $n = 1 ] && break n=`expr $n + 1` done Run in ash/bash/ksh it echoes iteration twice and exits. Run in msh it echoes iteration once and either hangs or segfaults (I've experienced both; there seem to be some randomness involved). |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |