Bug #5021
Unable to handle kernel NULL pointer dereference at virtual address 00000028
0%
Description
Hi
On Raspberry Pi 3 Model B Plus with the latest git of tvheadend, I am getting the following error.
This is on up-to date arch arm.
Its worth to mention that I have the same problem on the same pi with a tvheadend build in January 2018.
0", network: "SE-Malmoe", mux: "570MHz", provider: "Sveriges Television", service: "SVT2 Skåne", profile="pass", hostname="::ffff:192.168.169.209", client="VLC/3.0.1 LibVLC/3.0.1"
Mar 22 18:31:25 arch-raspi tvheadend322: subscription: 000F: "HTTP" unsubscribing from "SVT1 Skåne", hostname="::ffff:192.168.169.209", client="VLC/3.0.1 LibVLC/3.0.1"
Mar 22 18:31:25 arch-raspi tvheadend322: mpegts: 570MHz in SE-Malmoe scan complete
Mar 22 18:31:34 arch-raspi tvheadend322: http: ::ffff:192.168.169.209: using ticket 1970018844bd941312f3c6e298bdc160ad75af9f for /stream/channelid/84793073
Mar 22 18:31:34 arch-raspi kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000028
Mar 22 18:31:34 arch-raspi kernel: pgd = b9970000
Mar 22 18:31:34 arch-raspi kernel: [00000028] *pgd=00000000
Mar 22 18:31:34 arch-raspi kernel: Internal error: Oops: 5 [#1] SMP ARM
Mar 22 18:31:34 arch-raspi kernel: Modules linked in: evdev rc_pinnacle_pctv_hd em28xx_rc rc_core si2157 si2168 i2c_mux em28xx_dvb dvb_core xt_nat iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack btsdio bluetooth em28xx ecdh_generic brcmfmac tveeprom v4l2_common brcmutil videodev cfg80211 media bcm2835_rng rng_core fixed uio_pdrv_genirq uio sch_fq_codel snd_bcm2835(C) snd_pcm snd_timer snd ip_tables x_tables ipv6
Mar 22 18:31:34 arch-raspi kernel: CPU: 2 PID: 5359 Comm: tvh:tcp-start Tainted: G C 4.14.27-1-ARCH #1
Mar 22 18:31:34 arch-raspi kernel: Hardware name: BCM2835
Mar 22 18:31:34 arch-raspi kernel: task: babaad00 task.stack: aa176000
Mar 22 18:31:34 arch-raspi kernel: PC is at tcp_push+0x2c/0x130
Mar 22 18:31:34 arch-raspi kernel: LR is at 0xfaf0
Mar 22 18:31:34 arch-raspi kernel: pc : [<809cf18c>] lr : [<0000faf0>] psr: 400e0013
Mar 22 18:31:34 arch-raspi kernel: sp : aa177dd8 ip : b953d6c0 fp : babab32c
Mar 22 18:31:34 arch-raspi kernel: r10: 00000000 r9 : b956a97c r8 : 000005b4
Mar 22 18:31:34 arch-raspi kernel: r7 : 00000000 r6 : b956a880 r5 : 00000000 r4 : 000001fc
Mar 22 18:31:34 arch-raspi kernel: r3 : 00000001 r2 : 000005b4 r1 : 00000000 r0 : b956a880
Mar 22 18:31:34 arch-raspi kernel: Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Mar 22 18:31:34 arch-raspi kernel: Control: 10c5383d Table: 3997006a DAC: 00000055
Mar 22 18:31:34 arch-raspi kernel: Process tvh:tcp-start (pid: 5359, stack limit = 0xaa176210)
Mar 22 18:31:34 arch-raspi kernel: Stack: (0xaa177dd8 to 0xaa178000)
Mar 22 18:31:34 arch-raspi kernel: 7dc0: 000001fc b956a97c
Mar 22 18:31:34 arch-raspi kernel: 7de0: b956a880 b953d6c0 000005b4 ffffffe0 00000000 809d32fc 0000faf0 00000000
Mar 22 18:31:34 arch-raspi kernel: 7e00: 00000000 000001fc aa177e94 00000000 00000000 00000000 b956a9d0 00000000
Mar 22 18:31:34 arch-raspi kernel: 7e20: 00000001 00000000 00000000 00000000 00000000 aa15f980 0000faf0 000001ea
Mar 22 18:31:34 arch-raspi kernel: 7e40: 801997e4 baf565c0 00000000 64585035 babaad00 b956a880 aa177e94 00000524
Mar 22 18:31:34 arch-raspi kernel: 7e60: 00000000 80f03d08 b84d5480 b8096000 00000000 809d3614 aa177ef8 aa177f10
Mar 22 18:31:34 arch-raspi kernel: 7e80: 00000000 8095bd28 aa177ef8 8095bdc4 6b4fc000 00000000 00000000 00000001
Mar 22 18:31:34 arch-raspi kernel: 7ea0: 000001fc 00000328 aa177ef0 00000001 00000000 00000000 00000000 00000000
Mar 22 18:31:34 arch-raspi kernel: 7ec0: aa177f10 64585035 80f03d08 00000000 b84d5480 aa177f78 00000000 707243a4
Mar 22 18:31:34 arch-raspi kernel: 7ee0: 00000524 802a17a8 00000524 ffffffff 707243a4 00000524 00000001 00000000
Mar 22 18:31:34 arch-raspi kernel: 7f00: 00000524 aa177ef0 00000001 00000000 b84d5480 00000000 00000000 00000000
Mar 22 18:31:34 arch-raspi kernel: 7f20: 00000000 00000000 00000000 00000000 b84d5480 64585035 00000524 b84d5480
Mar 22 18:31:34 arch-raspi kernel: 7f40: 707243a4 aa177f78 00000000 802a19a0 00000000 00000524 707243a4 b84d5481
Mar 22 18:31:34 arch-raspi kernel: 7f60: b84d5480 00000000 00000000 80f03d08 707243a4 802a1bd8 00000000 00000000
Mar 22 18:31:34 arch-raspi kernel: 7f80: 3a0bbd9f 64585035 00000524 707243a4 00000036 00000004 80107ec4 aa176000
Mar 22 18:31:34 arch-raspi kernel: 7fa0: 00000000 80107ce0 00000524 707243a4 00000036 707243a4 00000524 00000000
Mar 22 18:31:34 arch-raspi kernel: 7fc0: 00000524 707243a4 00000036 00000004 00000524 0079de78 00000000 00000000
Mar 22 18:31:34 arch-raspi kernel: 7fe0: 00000000 6b4fc1f0 00000000 754bbdb0 800f0010 00000036 21f0029e 2239c8dc
Mar 22 18:31:34 arch-raspi kernel: [<809cf18c>] (tcp_push) from [<809d32fc>] (tcp_sendmsg_locked+0xac8/0xdb8)
Mar 22 18:31:34 arch-raspi kernel: [<809d32fc>] (tcp_sendmsg_locked) from [<809d3614>] (tcp_sendmsg+0x28/0x3c)
Mar 22 18:31:34 arch-raspi kernel: [<809d3614>] (tcp_sendmsg) from [<8095bd28>] (sock_sendmsg+0x14/0x24)
Mar 22 18:31:34 arch-raspi kernel: [<8095bd28>] (sock_sendmsg) from [<8095bdc4>] (sock_write_iter+0x8c/0xd4)
Mar 22 18:31:34 arch-raspi kernel: [<8095bdc4>] (sock_write_iter) from [<802a17a8>] (_vfs_write+0xec/0x144)
Mar 22 18:31:34 arch-raspi kernel: [<802a17a8>] (_vfs_write) from [<802a19a0>] (vfs_write+0xa0/0x1b0)
Mar 22 18:31:34 arch-raspi kernel: [<802a19a0>] (vfs_write) from [<802a1bd8>] (SyS_write+0x48/0xac)
Mar 22 18:31:34 arch-raspi kernel: [<802a1bd8>] (SyS_write) from [<80107ce0>] (ret_fast_syscall+0x0/0x4c)
Mar 22 18:31:34 arch-raspi kernel: Code: e1550009 03a05000 e2117902 1a000026 (e5d5c028)
Mar 22 18:31:34 arch-raspi kernel: ---[ end trace 353b7a85cee81c48 ]---
Mar 22 18:31:37 arch-raspi tvheadend322: subscription: 0012: No input source available for subscription "HTTP" to channel "SVT2 HD Skåne"
Mar 22 18:31:37 arch-raspi tvheadend322: webui: Couldn't start streaming /stream/channelid/84793073?ticket=1970018844bd941312f3c6e298bdc160ad75af9f&profile=pass, No free adapter
Configure arguments:
--prefix=/usr --mandir=/usr/share/man/man1 --release --python=python3 --enable-avahi --enable-zlib --disable-ffmpeg_static --enable-libav --disable-libx264_static --enable-libx264 --disable-libx265_static --enable-libx265 --disable-libvpx_static --enable-libvpx --disable-libtheora_static --enable-libtheora --disable-libvorbis_static --enable-libvorbis --disable-libfdkaac_static --enable-libfdkaac --disable-libopus_static --enable-libopus --disable-nvenc --enable-vaapi --enable-inotify --enable-epoll --disable-pcre --enable-pcre2 --enable-uriparser --enable-dvben50221 --enable-dbus_1 --disable-hdhomerun_static
Compiler:
Using C compiler: cc
Using C flags: -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt
Using LD flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Build for arch: armv7l
History
Updated by Dave Pickles over 6 years ago
It's a known problem in the Linux kernel - see https://github.com/raspberrypi/linux/issues/2446 You can patch the kernel if you are able to build your own (it's really not difficult on Arch), or wait for an official fix - it's not in 4.14.28.
Updated by Nikolay P over 6 years ago
Dave Pickles wrote:
It's a known problem in the Linux kernel - see https://github.com/raspberrypi/linux/issues/2446 You can patch the kernel if you are able to build your own (it's really not difficult on Arch), or wait for an official fix - it's not in 4.14.28.
Thank you for the information, I'll wait for the next kernel package.