coredumps in syscall 279

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

coredumps in syscall 279

Postby risto3 » Tue Nov 08, 2016 10:48 am

I'm noticing numerous coredumps in dmesg relating to syscall 279:

$this->bbcode_second_pass_quote('', '
')$ uname -a
Linux odroid-001e06336dd6 3.14.79-11-ARCH #1 SMP PREEMPT Thu Nov 3 19:23:19 MDT 2016 aarch64 GNU/Linux
$ dmesg |grep 'syscall 279'[ 125.002267] pactl[498]: syscall 279
[ 136.069361] chromium[666]: syscall 279
[ 393.013636] chromium[666]: syscall 279
[ 689.150825] pcmanfm[482]: syscall 279
[ 692.600774] lxterminal[1108]: syscall 279
[ 5335.157281] chromium[3008]: syscall 279


here is one in detail

$this->bbcode_second_pass_quote('', '
')[ 2343.778679] lxpanel[481]: syscall 279
[ 2343.778710] Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
[ 2343.782795] CPU: 0 PID: 481 Comm: lxpanel Not tainted 3.14.79-11-ARCH #1
[ 2343.789436] task: ffffffc05a724c80 ti: ffffffc05b6b0000 task.ti: ffffffc05b6b0000
[ 2343.796877] PC is at 0x7fa465a3e4
[ 2343.800192] LR is at 0x7fa0383a90
[ 2343.803406] pc : [<0000007fa465a3e4>] lr : [<0000007fa0383a90>] pstate: 80000000
[ 2343.810724] sp : 0000007fececc570
[ 2343.814024] x29: 0000007fececc580 x28: 0000007fa49559d8
[ 2343.819240] x27: 0000000000000000 x26: 0000007fececc9d0
[ 2343.824500] x25: 0000000000000002 x24: 0000000004000000
[ 2343.829762] x23: 00000000000001c0 x22: 0000000000000001
[ 2343.835058] x21: 0000007fa03b6000 x20: 00000000006e5458
[ 2343.840319] x19: 0000000004000fff x18: 0000000000000000
[ 2343.845582] x17: 0000007fa03b7bf0 x16: 0000007fa465a3c0
[ 2343.850807] x15: 0000000000000720 x14: 0000000000000000
[ 2343.856068] x13: 0034373830363033 x12: 3434312d6d68732d
[ 2343.861328] x11: 000000000000001b x10: 0101010101010101
[ 2343.866589] x9 : 0000000000000001 x8 : 0000000000000117
[ 2343.871858] x7 : 0000000000000000 x6 : 0000000000000000
[ 2343.877112] x5 : 0000007fececc48c x4 : 0000007fa384c108
[ 2343.882373] x3 : 0000007fa384c000 x2 : 0000000000000002
[ 2343.887634] x1 : 0000000000000002 x0 : 0000007fa0395220


apparently this is a memfd syscall:
$this->bbcode_second_pass_quote('', '
')$ grep -A1 27[89] /usr/include/asm-generic/unistd.h
#define __NR_getrandom 278
__SYSCALL(__NR_getrandom, sys_getrandom)
#define __NR_memfd_create 279
__SYSCALL(__NR_memfd_create, sys_memfd_create)


have these changed and/or are the packages hardcoding improper values?
risto3
 
Posts: 44
Joined: Wed Aug 31, 2016 2:32 pm
Top

Re: coredumps in syscall 279

Postby WarheadsSE » Tue Nov 08, 2016 12:49 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: coredumps in syscall 279

Postby risto3 » Thu Nov 10, 2016 9:59 am

Happened to notice the message as well with thunar, and while I was at it in a terminal, I got the extract
below via strace:
$this->bbcode_second_pass_quote('', '
')memfd_create("pulseaudio", MFD_ALLOW_SEALING) = -1 ENOSYS (Function not implemented)
write(2, "shared memfd open() failed: Fonc"..., 52) = 52


and from dmesg:
$this->bbcode_second_pass_quote('', '
')[177791.080565] thunar[19550]: syscall 279
[177791.080592] Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
[177791.085325] CPU: 0 PID: 19550 Comm: thunar Not tainted 3.14.79-11-ARCH #1
[177791.092144] task: ffffffc053188c80 ti: ffffffc059b08000 task.ti: ffffffc059b08000
[177791.099626] PC is at 0x7f8ee0e3e4
[177791.102819] LR is at 0x7f7ff78a90
[177791.106267] pc : [<0000007f8ee0e3e4>] lr : [<0000007f7ff78a90>] pstate: 80000000
[177791.113638] sp : 0000007fe79544e0
[177791.116984] x29: 0000007fe79544f0 x28: 0000007f8efe09d8
[177791.122098] x27: 000000000051b8c0 x26: 0000007fe7954940
[177791.127424] x25: 0000000000000002 x24: 0000000004000000
[177791.132765] x23: 00000000000001c0 x22: 0000000000000001
[177791.138120] x21: 0000007f7ffab000 x20: 000000000079f2d8
[177791.143466] x19: 0000000004000fff x18: 0000000000000000
[177791.148836] x17: 0000007f7ffacbf0 x16: 0000007f8ee0e3c0
[177791.154194] x15: 0000000000000720 x14: 0000000000000000
[177791.159546] x13: 0031303832353532 x12: 3837332d6d68732d
[177791.164853] x11: 000000000000001b x10: 0101010101010101
[177791.170206] x9 : 0000000000000001 x8 : 0000000000000117
[177791.175567] x7 : 0000000000000000 x6 : 0000000000000000
[177791.180901] x5 : 0000007fe79543fc x4 : 0000007f8e032828
[177791.186247] x3 : 0000007f8e032720 x2 : 0000000000000002
[177791.191594] x1 : 0000000000000002 x0 : 0000007f7ff8a220


should I file a bug report?
risto3
 
Posts: 44
Joined: Wed Aug 31, 2016 2:32 pm
Top

Re: coredumps in syscall 279

Postby kroylar » Tue Nov 29, 2016 8:28 am

These messages also appear with lxqt-panel.

I modified the pulseaudio PKGBUILD and added --disable-memfd to the configure arguments and I no longer receive these messages.

What's the proper way to make this work within archlinuxarm besides waiting for amlogic to update their kernel or for odroids to get mainlined? A new pulseaudio-odroid package?

Ideally, glibc would be built on an odroid-c2 running the 3.14 kernel so that syscall would not exist in bits/syscall.h. And when pulseaudio is built (again, on the odroid-c2), its configure script would detect that memfd isn't available and automatically exclude it.

Of course, that can't be expected. But what is the right way to do this kind of thing?
kroylar
 
Posts: 2
Joined: Tue Nov 29, 2016 8:11 am

Re: coredumps in syscall 279

Postby WarheadsSE » Tue Nov 29, 2016 8:28 pm

It may have been built on something more mainline, and capable than an ODROID-C2 (think server-grade AArch64 hardware)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 12 guests