Changes between Initial Version and Version 4 of Ticket #41248


Ignore:
Timestamp:
Nov 7, 2013, 2:42:27 PM (11 years ago)
Author:
mf2k (Frank Schima)
Comment:

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers bash), but not yourself since the reporter is automatically Cc'ed.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41248

    • Property Owner changed from macports-tickets@… to raimue@…
    • Property Keywords bash segfault lldb core removed
    • Property Port bash added
  • Ticket #41248 – Description

    initial v4  
    11When executing any undefined command in bash 4.2.45_2, I get a segmentation fault: 11
    22
     3{{{
    34$ echo "test"
    45test
    56$ dummy
    67Segmentation fault: 11
     8}}}
    79
    810I generated a core dump for this segmentation fault, here are the details I extracted from it :
    911
     12{{{
    1013$ lldb
    1114
     
    4952    frame #22: 0x000000010e983052 bash`main + 5994
    5053    frame #23: 0x00007fff8c5905fd libdyld.dylib`start + 1
     54}}}
    5155
    5256Once I exit lldb, the issue is solved and now undefined command execution doesn't segfault, but fails properly :
    5357
     58{{{
    5459$ dummy
    5560-bash: dummy : command not found
     61}}}
    5662