None
closed
nobody
None
2018-08-26
2018-08-12
Anonymous
No

Hello, I've updated upmpdcli and libupnpp to the latest versions (1.2.16/0.16.1) on my system (RPi 3+ running piCore linux) and noticed a strange kernel oops after shutdown of an (unused) network interface.

As far as I remember, this wasn't an issue with the previous stable version of upmpdcli/libupnpp (1.2.15/0.16.0).

Not sure if this is important, but I also updated libupnp to 1.6.25. Tried to go back to 1.6.20.jfd5, but the oops still occured.

[ 150.285540] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 281.186857] Unable to handle kernel NULL pointer dereference at virtual address 00000028
[ 281.209351] pgd = b2d5c000
[ 281.216690] [00000028] pgd=32d39835, pte=00000000, *ppte=00000000
[ 281.227859] Internal error: Oops: 17 [#1] PREEMPT SMP ARM
[ 281.227878] Modules linked in: 8812au ipv6 cfg80211 snd_soc_wm8804_i2c snd_soc_wm8804 snd_soc_allo_digione snd_soc_bcm2835_i2s rfkill snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd fixed squashfs lz4 lz4_compress spidev zram zsmalloc i2c_bcm2835 spi_bcm2835 uio_pdrv_genirq uio
[ 281.228156] CPU: 2 PID: 4621 Comm: upmpdcli Not tainted 4.14.26-rt19-pcpAudioCore_v7 #1
[ 281.228169] Hardware name: BCM2835
[ 281.228189] task: b2d91040 task.stack: b2e50000
[ 281.228233] PC is at tcp_push+0x44/0x148
[ 281.228261] LR is at tcp_sendmsg_locked+0x308/0xdfc
[ 281.228282] pc : [<806e06b8>] lr : [<806e3c74>] psr: 40000013
[ 281.228301] sp : b2e51d98 ip : b01a1c4c fp : b2e51dbc
[ 281.228318] r10: b2e00d80 r9 : ffffffe0 r8 : b01a1c4c
[ 281.228338] r7 : 00000000 r6 : 000005a8 r5 : 00000000 r4 : b01a1b00
[ 281.228358] r3 : 00000000 r2 : 000005a8 r1 : 00004004 r0 : b2e01980
[ 281.228382] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 281.228405] Control: 10c5383d Table: 32d5c06a DAC: 00000055
[ 281.228425] Process upmpdcli (pid: 4621, stack limit = 0xb2e50210)
[ 281.228446] Stack: (0xb2e51d98 to 0xb2e52000)
[ 281.228471] 1d80: 000005a8 806e3c54
[ 281.228515] 1da0: 00007120 b2e51ec0 b01a1b00 00007120 b2e51e54 b2e51dc0 806e3c74 806e0680
[ 281.228558] 1dc0: 000005a8 60000013 b2d91698 b2d91330 80c091c4 80cc16e4 80c071ec b2e50000
[ 281.228599] 1de0: 00000000 801474f4 00000000 00000000 00000001 00000000 80148a14 801474f4
[ 281.228641] 1e00: b2e51ec8 b01a1cc0 000005a8 00004004 b01a1b00 000005a8 7fffffff e53f8300
[ 281.228684] 1e20: b2e51e3c b2e50000 80123bbc b01a1b00 0000ae80 b2e51ec0 00000121 80107fa4
[ 281.228727] 1e40: b2e50000 00001000 b2e51e74 b2e51e58 806e47a0 806e3978 806e4768 b01a1b00
[ 281.228769] 1e60: 00004004 b3712800 b2e51e94 b2e51e78 80711820 806e4774 802b2234 802b2140
[ 281.228811] 1e80: 00000000 00004004 b2e51ea4 b2e51e98 80667de0 807117d4 b2e51f8c b2e51ea8
[ 281.228853] 1ea0: 80668f24 80667dc8 b2e51ec8 80148a14 fffffff7 00000001 718008ca 0000ae80
[ 281.228894] 1ec0: 00000000 00000000 00000001 00007120 00003d60 b2e51eb8 00000001 b2e51ee8
[ 281.228935] 1ee0: 00000000 00000000 00004004 806359b4 ffffffff 00ffffff 41dead66 00000001
[ 281.228978] 1f00: b2d91040 b2d914e0 b2d914e0 00000121 80000010 76f2adf4 b2e51f44 b2e51f28
[ 281.229019] 1f20: 8014f224 801a78b4 80b83fc8 00000001 80b83fd0 00000121 b2e51f54 b2e51f48
[ 281.229062] 1f40: 804ae928 804ae7b8 b2e51f64 b2e51f58 8021f3c4 804ae918 b2e51f84 b2e51f68
[ 281.229103] 1f60: 8021f768 60000013 00000001 0000ae80 00000121 00000009 73da15c8 0000ae80
[ 281.229145] 1f80: b2e51fa4 b2e51f90 80668f74 80668e68 00000000 00000000 00000000 b2e51fa8
[ 281.229185] 1fa0: 80107dc0 80668f58 00000009 73da15c8 00000009 718008ca 0000ae80 00004004
[ 281.229226] 1fc0: 00000009 73da15c8 0000ae80 00000121 00004004 73da1438 718008ca 0000000a
[ 281.229266] 1fe0: 00000000 73da1398 00000000 76f2adf4 80000010 00000009 00000000 00000000
[ 281.229335] [<806e06b8>] (tcp_push) from [<806e3c74>] (tcp_sendmsg_locked+0x308/0xdfc)
[ 281.229389] [<806e3c74>] (tcp_sendmsg_locked) from [<806e47a0>] (tcp_sendmsg+0x38/0x4c)
[ 281.229442] [<806e47a0>] (tcp_sendmsg) from [<80711820>] (inet_sendmsg+0x58/0x120)
[ 281.229505] [<80711820>] (inet_sendmsg) from [<80667de0>] (sock_sendmsg+0x24/0x34)
[ 281.229573] [<80667de0>] (sock_sendmsg) from [<80668f24>] (SyS_sendto+0xc8/0xf0)
[ 281.229636] [<80668f24>] (SyS_sendto) from [<80668f74>] (SyS_send+0x28/0x30)
[ 281.229702] [<80668f74>] (SyS_send) from [<80107dc0>] (ret_fast_syscall+0x0/0x28)
[ 281.229749] Code: e155000c 03a05000 e2117902 1a000039 (e5d50028)
[ 282.103867] ---[ end trace 0000000000000002 ]---
[ 375.059071] smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet
[ 375.087650] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup

Related

Ticket: #1

Discussion

  • Anonymous
    Anonymous
    2018-08-12

    I can confirm that this does not happen with upmpdcli 1.2.15 (with libupnp 1.6.25 and libupnpp 0.16.1). So it seems to be a bug in upmpdcli.

     
  • medoc
    medoc
    2018-08-12

    A kernel crash is always a kernel bug. There are no kernel components inside the upmpdcli or libupnpp packages, so you should report this to the kernel bug tracker.

     
  • Anonymous
    Anonymous
    2018-08-12

    I found a link to 1.3.0pre2, compiled and this seems to be working ok, no oops.

     
  • medoc
    medoc
    2018-08-26

    • status: open --> closed
    • milestone: -->
     

Cancel   Add attachment