Crash running Print Organizer with Signcad installed


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.11.07.480
 Environment: N\A
 Area: Exception
 Subarea: N\A
 Original Author:Bentley Technical Support Group
  

Problem

Crash, Print Organizer w/ SignCad.
Crash running Print Organizer with Signcad installed.

Stack Trace
StackPtr RtrnAddr Arg #1 Arg #2 Arg #3 Function or address
-------- -------- -------- -------- --------
-------------------------------------------------------------------
0028b5d0 506bd2d0 00572d20 0000157b 00000001
ustation_50000000!mdlDialog_menuBarAddCmdWinMenu+0x2a
[e:\builds\pp081107480\source\msj\mstn\mscore\gui\items\apmenlib.c @
388]
0028b5f4 5018193a 0028b624 00000000 0bde13f0
ustation_50000000!do_built+0x60
[e:\Builds\pp081107480\Source\msj\mstn\mscore\mdl\ru
ntime\nonport\winnt386\dobuilt.asm @ 131]
0028b648 501a6a52 0bde13f0 0e402166 00000000
ustation_50000000!loop_interpretCodes+0x195a
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\loop.c @ 2491]
0028b700 501a6bdf 0028b72c 00000000 0028b724
ustation_50000000!ustnmdl_executeMdlCmd+0x192
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
2495]
0028b718 501a7677 0028b72c 00000002 0028b85c
ustation_50000000!ustnmdl_taskCall+0x1f
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
2597]
0028b734 501a7c84 00000000 0000000c 00000000
ustation_50000000!ustnmdl_tryMainV+0x57
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
1751]
0028ba38 501a865d 0028ba7c 0bd534c0 00000000
ustation_50000000!ustnmdl_execMdlTaskV+0x194
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
4738]
0028ba90 501aec1f 0028c0e8 00000000 00000000
ustation_50000000!ustnmdl_loadApplicationList+0x10d
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
3480]
0028c50c 501aedae 00000000 00000001 00000000
ustation_50000000!neededForDgnFile+0x22f
[e:\builds\pp081107480\source\msj\mstn\mscore\mgds.c @ 1039]
0028c534 504c658d 00c6c8e0 00000000 00000001
ustation_50000000!main_neededForDgnFile+0x2e
[e:\builds\pp081107480\source\msj\mstn\mscore\mgds.c @ 1122]
0028c578 504c66ab 0028c5d0 00c6c8e0 00000000
ustation_50000000!Bentley::Ustn::ISessionMgr::DoNewDesignFile+0x10d
[e:\builds\pp081107480\source\msj\mstn\mscore\sessionmgr.cpp @ 1683]
0028c5b8 501f1c09 0028c5d0 00000000 00000000
ustation_50000000!Bentley::Ustn::ISessionMgr::NewDesignFile+0x4b
[e:\builds\pp081107480\source\msj\mstn\mscore\sessionmgr.cpp @ 1719]
0028c7d0 532f4ff0 0028c7e8 0028c958 0028c944
ustation_50000000!mdlSystem_newDesignFile+0x39
[e:\builds\pp081107480\source\msj\mstn\mscore\opendgn.c @ 1093]
0028c90c 07102955 02f54e48 00000000 949e2830 Bentley_MicroStation_Pri
ntFoundation!Bentley::Ustn::Plot::PrintFoundation::LoadDesignFile+0xae [e:\builds\pp081107480\source\msj\mstn\plot\printfoundation\p
rintfoundation.cpp @ 58]
WARNING: Frame IP not in any known module. Following frames may be
wrong.
0028c9c4 7741e023 06d01960 00000000 08197bd0 0x7102955
0028ccb0 081979ff 949e2830 6d054940 0028cd40 ntdll!RtlFreeHeap+0x105
0028cd58 6d05f96c 0028cde0 90731964 02f755e0 0x81979ff
??0028cde0 08195fb5 0028ce38 00000000 00000000
mscorwks!PreStubWorker+0x139
0028cf10 6d051b4c 0087e0b8 0079caf8 0028cfa0 0x8195fb5
0028cf20 6d0688d9 0028d020 00000000 0028cff0
mscorwks!CallDescrWorker+0x33
0028cfa0 6d0fe432 0028d020 00000000 0028cff0
mscorwks!CallDescrWorkerWithHandler+0xa3
0028cfc0 6d0fe5ea 021fb994 0028d020 00000000
mscorwks!ForwardCallToManagedMethod+0x55
0028d0e4 6d0fe70e 007dfba0 0028d204 028f3410
mscorwks!DoUMThunkCallWorker+0x1de
0028d1bc 028f34dd 007dfba0 0028d204 0028d748
mscorwks!DoUMThunkCall+0x3c8
0028d1ec 060f19e2 028f342a 007dfba0 506c58f4 0x28f34dd
0028d6f8 6d05f974 028f179e 0028d6d0 949e2830 0x60f19e2
0028d734 028f3328 028f342a 00000002 007dfba0
mscorwks!PreStubWorker+0x141
0028d754 501a741e 0028d97c 00000002 028f342a 0x28f3328
0028daa8 501a7811 0028d770 005b15d8 028f342a
ustation_50000000!callNativeFunction+0xe1
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
461]
0028dac8 501a7f9c 506c58f4 005b15d8 028f342a
ustation_50000000!dlmSystem_callAnyFunction+0x51
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
3770]
0028daf8 50211778 0028dfd0 0028db20 00526068
ustation_50000000!ustnmdl_mdlTaskEntry+0x11c
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
2677]
0028dfe8 502117eb 0028dfd0 00000000 506cac08
ustation_50000000!processQueuedInput+0x278
[e:\builds\pp081107480\source\msj\mstn\mscore\process.c @ 4335]
0028e000 5016134a 00000000 00000000 53702174
ustation_50000000!mdlInput_processQueuedInput+0x1b
[e:\builds\pp081107480\source\msj\mstn\mscore\process.c @ 4359]
0028e018 501613c2 50907360 506c60c4 0028f074
ustation_50000000!vbaMainLoop+0x1a
[e:\builds\pp081107480\source\msj\mstn\mscore\input.c @ 220]
0028e028 50191dc5 0028f048 532d1da8 0028e048
ustation_50000000!mdlInput_vbaMainLoop+0x22
[e:\builds\pp081107480\source\msj\mstn\mscore\input.c @ 252]
0028e030 532d1da8 0028e048 00000000 ffffffff
ustation_50000000!mdlInput_sendSynchronizedKeyin+0x25
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\mdlinput.c @
426]
0028f048 53701091 53702108 00000002 005ac2e8
Bentley_MicroStation_PrintFoundation!mdlPlot_sendKeyin+0x63
[e:\builds\pp081107480\source\msj\mstn\plot\printfoundation\plotutil.cpp
@ 226]
0028f09c 501a740f 00000006 0028f544 00000006 PrintServer!MdlMain+0x8e
[e:\builds\pp081107443\source\msj\mstn\plot\printserver\printserver.cpp
@ 54]
0028f3e4 501a6f2c 0028f0ac 005ac2e8 53701003
ustation_50000000!callNativeFunction+0xd2
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
459]
0028f3fc 501a768e 506c3378 0028f414 00000006
ustation_50000000!ustnmdl_asynchCallAny+0x4c
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
4177]
0028f41c 501a7c84 00000000 0000000e 00000000
ustation_50000000!ustnmdl_tryMainV+0x6e
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
1753]
0028f720 501a865d 0028f764 0059f3b0 00000000
ustation_50000000!ustnmdl_execMdlTaskV+0x194
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
4738]
0028f778 501ae718 0028f798 00000004 0028fd50
ustation_50000000!ustnmdl_loadApplicationList+0x10d
[e:\builds\pp081107480\source\msj\mstn\mscore\mdl\runtime\ustn_mel.c @
3480]
0028fa98 501afdeb 00000004 0028fd50 0059f0a8
ustation_50000000!mgds_runInitApps+0x48
[e:\builds\pp081107480\source\msj\mstn\mscore\mgds.c @ 1244]
0028fab0 501b0194 00000000 00000004 0028fd50
ustation_50000000!executeDgnMode+0x6b
[e:\builds\pp081107480\source\msj\mstn\mscore\mgds.c @ 1575]
0028fd2c 501eb9a1 00000004 0028fd50 00000000
ustation_50000000!main+0x274
[e:\builds\pp081107480\source\msj\mstn\mscore\mgds.c @ 1728]
0028fe8c 501eba1c 00400000 00000000 00000000
ustation_50000000!win32Intface_winMainStartFromForeignExecutable+0x1a1
[e:\builds\pp081107480\source\msj\mstn\mscore\nonport\win32\w32intfc.c @
21705]
0028feac 004036ef 00400000 00000000 00797bdb
ustation_50000000!win32Intface_winMain+0x1c
[e:\builds\pp081107480\source\msj\mstn\mscore\nonport\win32\w32intfc.c @
21734]
0028fed4 004037bd 00400000 00000000 00797bdb ustation!WinMain2+0xf8
[e:\builds\pp081107480\source\msj\mstn\mscore\nonport\win32\w32start.c @
1040]
0028fef8 0040143f 00400000 00000000 00797bdb ustation!WinMain+0xc2
[e:\builds\pp081107480\source\msj\mstn\mscore\nonport\win32\w32start.c @
1101]
0028ff88 76ab339a fffde000 0028ffd4 77429ef2
ustation!__tmainCRTStartup+0x140
[f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 589]
0028ff94 77429ef2 fffde000 73a22392 00000000
kernel32!BaseThreadInitThunk+0xe
0028ffd4 77429ec5 004015c0 fffde000 00000000
ntdll!__RtlUserThreadStart+0x70
0028ffec 00000000 004015c0 fffde000 00000000
ntdll!_RtlUserThreadStart+0x1b

Product: MicroStation V8i
Version: 08.11.07.480
Area: Exception, SOLUTIONFRAMEWORK

Solution

Reason:
SignCAD is attempting to load a graphic object while in a non-graphic
mode.

Solution:
SignCAD will need to address this to stop graphic objects from loading
while in a non-graphics mode.

Proposed workaround:

Place the following in the beginning of the configuration file that
loads SignCAD:

%if !defined (_CONSOLEAPP)
%endif