Languages

CommunityCategory: XMODELXWAVE crashing due to X window system error

XMODEL

XWAVE crashing due to X window system error

SA Support Team Staff 2016-04-10

I am using XMODEL by logging into a linux machine from a Windows PC. To run X window applications like Cadence Virtuoso, I am using X server applications such as ExceedOnDemand, Xmanager, etc. While XMODEL simulation runs fine, some GUI applications like XWAVE crash upon start. How do I fix this behavior?

1 Answers
Best Answer
SA Support Team Staff 2016-04-11

This behavior is traced down to some incompatibility between some X server applications and GTK library used by XWAVE, MODELZEN, geany, etc. You will find similar crashing behavior with other GTK-based applications as well.
One possible remedy is to add -sync option when executing them from the command-line. For instance,

xwave xmodel.jez --sync

If XWAVE crashes while being executed from Cadence Virtuoso, you can add -sync option by inserting the following lines after loading the xmodel.cxt file, e.g.:

XMODEL_HOME = getShellEnvVar("XMODEL_HOME")
loadContext( strcat( XMODEL_HOME "/cadence/etc/xmodel.cxt" ) )
callInitProc( "xmodel" )

; additional setup to add '--sync' options to GTK-based application
xmodelXWAVE = "$XMODEL_HOME/bin/xwave --sync"
xmodelIDE = "$XMODEL_HOME/bin/geany --new-instance -s -m --sync"
xmodelIDE_readonly = "$XMODEL_HOME/bin/geany --new-instance --read-only -s -m --sync"
xmodelIDE_tb = "$XMODEL_HOME/bin/geany --new-instance -s -m --sync"
xmodelIDE_tb_readonly = "$XMODEL_HOME/bin/geany --new-instance --read-only -s -m --sync"