LPCxpresso segmentation fault on startup on Ubuntu LTS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCxpresso segmentation fault on startup on Ubuntu LTS

1,873 Views
berndgeiser
Contributor I
# lpcxpresso 
Segmentation fault

# uname -a 
Linux javox-linux-pc 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

# strace lpcxpresso[...SNIP...]clone(child_stack=0xd2fe0424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xd2fe0ba8, tls={entry_number:12, base_addr:0xd2fe0b40, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xd2fe0ba8) = 6939
futex(0x93f7a44, FUTEX_WAIT_PRIVATE, 1, NULL) = 0
futex(0x93f7a28, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x944e044, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x944e040, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x944e028, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x944e044, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x944e040, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x944e028, FUTEX_WAKE_PRIVATE, 1) = 1
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffff0728} ---
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffff0fe0} ---
+++ killed by SIGSEGV +++
Segmentation fault

# tail /var/log/apt/history.log
[...SNIP...]
Start-Date: 2017-06-20 10:26:09
Install: linux-image-4.4.0-81-generic:amd64 (4.4.0-81.104, automatic), linux-headers-4.4.0-81:amd64 (4.4.0-81.104, automatic), linux-image-extra-4.4.0-81-generic:amd64 (4.4.0-81.104, automatic), linux-headers-4.4.0-81-generic:amd64 (4.4.0-81.104, automatic)
Upgrade: linux-headers-generic:amd64 (4.4.0.79.85, 4.4.0.81.87), libc6-dev-x32:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), linux-libc-dev:amd64 (4.4.0-79.100, 4.4.0-81.104), libc6-dev-i386:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), libc6-dbg:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), libc6-dev:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), linux-image-generic:amd64 (4.4.0.79.85, 4.4.0.81.87), libc6:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), libc6:i386 (2.23-0ubuntu7, 2.23-0ubuntu9), locales:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), libc-bin:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), libc6-x32:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), libc6-i386:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), libc-dev-bin:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), multiarch-support:amd64 (2.23-0ubuntu7, 2.23-0ubuntu9), linux-generic:amd64 (4.4.0.79.85, 4.4.0.81.87)
End-Date: 2017-06-20 10:27:30




Any ideas? Thanks!
0 Kudos
3 Replies

1,420 Views
quanghm
Contributor I

using command bellow may be help you:

export JAVA_TOOL_OPTIONS=-Xss1280k

0 Kudos

1,423 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Make sure you have read the Linux installation notes in the LPCXpresso IDE Installation Guide - or else at https://community.nxp.com/message/630634 

That aside, this version of Ubuntu post-dates the last LPCXpresso IDE update. You might want to consider using the replacement MCUXpresso IDE instead if this is for a new project. The Ubuntu installer for this has been reworked completely compared to the old LPCXpresso IDE installer, and it is now also a 64bit application rather than 32bit - which makes installing much easier on 64bit systems. For more details visit http://www.nxp.com/mcuxpresso/ide

Regards,

LPCXpresso Support

1,423 Views
berndgeiser
Contributor I

mcuxpresso is the way to go. thanks!

0 Kudos