AR# 42656

13.2 PlanAhead - Tcl Command "help exec" Causes an Unexpected Error

Description

In the PlanAhead Tcl console, type: "help exec" and the following error appears:

# An unexpected error has occurred (6)
#
Stack:
[0xffffe500]
[0xffffe405]
/lib/libc.so.6(gsignal+0x50) [0x2bfdf0]
/lib/libc.so.6(abort+0x101) [0x2c1701]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/libstlport.so.5.2(__gnu_cxx::__verbose_terminate_handler()+0x154) [0xf7a277b4]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/libstlport.so.5.2(__cxxabiv1::__terminate(void (*)())+0x15) [0xf7a251a5]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/libstlport.so.5.2 [0xf7a251e2]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/libstlport.so.5.2 [0xf7a2531a]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/librdi_common.so((anonymous namespace)::convert(char const*, char const*, wchar_t*, wchar_t*, stlp_std::basic_string<wchar_t, stlp_std::char_traits<wchar_t>, stlp_std::allocator<wchar_t> >&, stlp_std::codecvt<wchar_t, char, __mbstate_t> const&)+0x245) [0xf7c0fe21]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/librdi_common.so(HI18N::Convert::Out(char const*, char const*, stlp_std::basic_string<wchar_t, stlp_std::char_traits<wchar_t>, stlp_std::allocator<wchar_t> >&, stlp_std::codecvt<wchar_t, char, __mbstate_t> const&)+0x63) [0xf7c0feef]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/librdi_common.so((anonymous namespace)::convert(stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const&, stlp_std::basic_string<wchar_t, stlp_std::char_traits<wchar_t>, stlp_std::allocator<wchar_t> >&, stlp_std::codecvt<wchar_t, char, __mbstate_t> const&)+0x35) [0xf7c0f811]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/librdi_common.so(HI18N::convert(stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const&, stlp_std::basic_string<wchar_t, stlp_std::char_traits<wchar_t>, stlp_std::allocator<wchar_t> >&)+0x2d) [0xf7c0f9d7]
<ISE_DS_Install Dir>/PlanAhead/lib/lnx32.o/librdi_common.so(Java_ui_frmwork_tcltasksi_task_1manager_1tcl_1get_1result+0xbb) [0xf7d263fb]
[0xe84855aa]
[0xe847df27]
[0xe847df69]
[0xe847df69]
[0xe847e569]
[0xe847df27]
[0xe847e569]
[0xe847b34c]
<ISE_DS_Install Dir>/PlanAhead/tps/lnx32/jre/lib/i386/server/libjvm.so [0xf6a07920]
<ISE_DS_Install Dir>/PlanAhead/tps/lnx32/jre/lib/i386/server/libjvm.so [0xf6beb3a8]
<ISE_DS_Install Dir>/PlanAhead/tps/lnx32/jre/lib/i386/server/libjvm.so [0xf6a07127]
<ISE_DS_Install Dir>/PlanAhead/tps/lnx32/jre/lib/i386/server/libjvm.so [0xf6a071da]
<ISE_DS_Install Dir>/PlanAhead/tps/lnx32/jre/lib/i386/server/libjvm.so [0xf6a87965]
<ISE_DS_Install Dir>/PlanAhead/tps/lnx32/jre/lib/i386/server/libjvm.so [0xf6cdb59e]
<ISE_DS_Install Dir>/PlanAhead/tps/lnx32/jre/lib/i386/server/libjvm.so [0xf6bec89e]
/lib/libpthread.so.0 [0x3ea832]
/lib/libc.so.6(clone+0x5e) [0x368e0e]

Solution

This problem occurs because the "man" pages are stored in extended ASCII code rather than simple ASCII.

The extended ASCII codes (128-255) conflict with UTF-8 encoding.

UTF-8 is a multibyte format and i18n conversion interprets 128-255 as a multibyte character when converting std::string to std::wstring, but no such conversion exists for 128-255.

This unexpected error occurs when invoking help for the following commands:

  • exec
  • format
  • re_syntax
  • rm


This issue was fixed in PlanAhead 13.3.

AR# 42656
Date 10/01/2015
Status Archive
Type Known Issues
Tools