mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Segmentation fault with ptxdist-2020.05.0
@ 2020-05-14 13:36 Mircea Ciocan
  2020-05-15  7:40 ` Mircea Ciocan
  2020-05-15  7:46 ` Michael Olbrich
  0 siblings, 2 replies; 10+ messages in thread
From: Mircea Ciocan @ 2020-05-14 13:36 UTC (permalink / raw)
  To: ptxdist

Hello list,

I have the most strange error with the ptxdist-2020.05.0 while trying to 
compile a simple image for the iMX6ULL EVK, the shell segfaults !!!

Here are some information, that you could find useful:

Distribution: Ubuntu 18.04 LTS, 8GB RAM, current updates.

System shell set to bash.

The compilation of everything goes perfectly OK, but while building the 
root filesystem image it crashes, always in the same place (100% 
reproducible), when adding the net-dns-perl package, with the following 
message;

info: selected ptxconfig:
       'configs/platform-mcimx6ull-evk/ptxconfig.tiny'
ptxdist: warning: No dev packages found in 'Firmware/packages-MCIMX6ULL-EVK'

...[snip]...

[compilation goes OK]

----------------
target: root.tgz
----------------
...[snip]...

Configuring readline.
Configuring net-dns-perl.
environment: line 1: 31523 Done                    { echo "cd 
'${work_dir}' || exit"; ptxd_dopermissions 
"${ptxd_reply_perm_files[@]}"; echo ":"; }
      31524 Segmentation fault      (core dumped) | sh
./Software/ptxdist-2020.05.0/rules/image-root-tgz.make:29: recipe for 
target './Software/Firmware/platform-MCIMX6ULL-EVK/images/root.tgz' failed

make: *** [./Software/Firmware/platform-MCIMX6ULL-EVK/images/root.tgz] 
Error 139


In the system log I get something like:

"vmunix: [132753.581596] sh[10747]: segfault at 7ffe5bdf1fe8 ip 
00007fdb0b04930e sp 00007ffe5bdf1fe0 error 6 in 
libc-2.27.so[7fdb0afb5000+1e7000]"


I have to say that I rarely, if ever, see this type of crash, and the 
build finishes OK with ptxdist-2020.02.0. Any pointer on how can I fix 
or debug this are greatly appreciated.


  Best regards,

  Mircea



_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-29 11:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 13:36 [ptxdist] Segmentation fault with ptxdist-2020.05.0 Mircea Ciocan
2020-05-15  7:40 ` Mircea Ciocan
2020-05-15  7:48   ` Michael Olbrich
2020-05-15  7:59   ` Alexander Dahl
2020-05-15  8:07     ` Mircea Ciocan
2020-05-15  7:46 ` Michael Olbrich
2020-05-15 13:02   ` Mircea Ciocan
2020-05-15 13:36     ` Mircea Ciocan
2020-05-29  9:21       ` Michael Olbrich
2020-05-29 11:03         ` [ptxdist] [PATCH] ptxd_lib_dopermissions: use 'set -e' instead of && Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox