Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup failure on Debian #4

Open
svenn71 opened this issue Jan 15, 2019 · 2 comments
Open

Startup failure on Debian #4

svenn71 opened this issue Jan 15, 2019 · 2 comments

Comments

@svenn71
Copy link

svenn71 commented Jan 15, 2019

Manage to compile, create deb-packages and install xictools.

Then try to run:

export XIC_LIBRARY_PATH=/usr/local/xictools
/usr/local/xictools/xic/bin/xic.sh

Xic integrated circuit design system release 4.3.6, build 011419-170950
Copyright (C) Whiteley Research Inc., Sunnyvale, CA 2019
All Rights Reserved

Found true color visual, 24 planes.
Using Python (py27.so).
Reading technology file /usr/local/xictools/xic/startup/xic_tech.
Loading MRouter
Current directory: /home/svennb/work/prg/git/xictools

Fatal internal error: segmentation violation.
All logs retained in /tmp/xic.1105.
mail: cannot send message: Process exited with a non-zero status
File gdbout emailed to xic@wrcad.com.
/usr/local/xictools/xic/bin/xic.sh: line 26: 1105 Killed /usr/local/xictools/xic/bin/xic $*

the gdbout file is included here

Xic-4.3.6 LinuxUnknown (xic-4-3-6)
Tue Jan 15 11:48:33 2019 Pid = 1105 DeathAddr = 0x55e6614bde4d
/usr/local/xictools/xic/bin/xic(_ZN8miscutil14dump_backtraceEPKcS1_S1_PKv+0x29d)[0x55e661b5907d]
/usr/local/xictools/xic/bin/xic(_ZN5cMain4ExitE8ExitType+0x191)[0x55e66149e383]
/usr/local/xictools/xic/bin/xic(+0x1bfccc)[0x55e6614cdccc]
/usr/local/xictools/xic/bin/xic(+0x1c001a)[0x55e6614ce01a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12670)[0x7f0908670670]
/usr/local/xictools/xic/bin/xic(_ZN11ContextDesc5clearEv+0x9)[0x55e6614bde4d]
/usr/local/xictools/xic/bin/xic(_ZN8cPushPop12ClearContextEb+0x30)[0x55e6614bfe34]
/usr/local/xictools/xic/bin/xic(_ZN5cMain15ClearReferencesEbb+0x248)[0x55e66149b818]
/usr/local/xictools/xic/bin/xic(_ZN5cMain4LoadEP10WindowDescPKcPK11FIOreadPrmsS3_P4cCHD+0x738)[0x55e66149fc04]
/usr/local/xictools/xic/bin/xic(_ZN5cMain8EditCellEPKcbPK11FIOreadPrmsS1_P4cCHD+0x482)[0x55e6614a105e]
/usr/local/xictools/xic/bin/xic(+0x141b34)[0x55e66144fb34]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x158)[0x7f09087cecb8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4e0a8)[0x7f09087cf0a8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7f09087cf13c]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_iteration+0x21)[0x7f0908e83b01]
/usr/local/xictools/xic/bin/xic(_ZN6GTKpkg17CheckForInterruptEv+0x185)[0x55e661806ec7]
/usr/local/xictools/xic/bin/xic(_ZN5cMain12UpdateCursorEP10WindowDesc10CursorTypeb+0x9a7)[0x55e66177e9ff]
/usr/local/xictools/xic/bin/xic(+0x4f5ca3)[0x55e661803ca3]
/usr/local/xictools/xic/bin/xic(_ZN6GTKpkg10SetWorkingEb+0x6c)[0x55e661803d58]
/usr/local/xictools/xic/bin/xic(_ZN10WindowDesc10RunPendingEv+0xb9)[0x55e6618720f7]
/usr/local/xictools/xic/bin/xic(_ZN8cDisplay17RedisplayIdleProcEPv+0x14)[0x55e661872dda]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x158)[0x7f09087cecb8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4e0a8)[0x7f09087cf0a8]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0xb2)[0x7f09087cf3a2]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main+0xb7)[0x7f0908e838e7]
/usr/local/xictools/xic/bin/xic(_ZN9gtkinterf6GTKdev8MainLoopEb+0x19)[0x55e661b1dbb9]
/usr/local/xictools/xic/bin/xic(_ZN6GTKpkg7AppLoopEv+0x43)[0x55e66180765f]
/usr/local/xictools/xic/bin/xic(main+0x86b)[0x55e661454cf1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb)[0x7f0907e4509b]
/usr/local/xictools/xic/bin/xic(_start+0x2a)[0x55e66144fa3a]

@wrcad
Copy link
Owner

wrcad commented Jan 16, 2019 via email

@svenn71
Copy link
Author

svenn71 commented Jan 16, 2019

I tried again with
/usr/local/xictools/xic/bin/xic
but got the same segmentation violation.

In order to have the packaging working for Debian, I had to modify the
xt_base/info.sh
script manually as the osname was decoded to LinuxUnknown.
This modification was done after make config.
I guess the parsing of /etc/os-release is not quite correct for Debian distributions.
I see from the gdbout that LinuxUnknown is still persistent so maybe the info.sh is used at some stage before make all
I attach my /etc/os-release

PRETTY_NAME="Debian GNU/Linux buster/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants