apt-get upgrade Segmentation fault
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 10/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- linux
- Domain
- operating-systems
Research direction
The report only provides an apt-get transcript and a partial dmesg log; it names no source file, test, or kernel failure location. First reproduce apt-get upgrade on the stated Raspberry Pi and determine whether the segmentation fault is in the Linux kernel or the userspace package manager; done requires a confirmed kernel-relevant cause and a reproducible fix.
Written by the indexing model from the issue text.
Description
root@raspberrypi:~#apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Fetched 15.0 kB in 2s (7,423 B/s)
Reading package lists... Done
root@raspberrypi:~#apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Segmentation fault
root@raspberrypi:~#dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.118-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1311 SMP Mon Apr 27 14:21:24 BST 2020
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
[ 0.000000] On node 0 totalpages: 242688
[ 0.000000] Normal zone: 2133 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 242688 pages, LIFO batch:63
[ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x4b4 with crng_init=0
[ 0.000000] percpu: Embedded 16 pages/cpu s36864 r8192 d20480 u65536
[ 0.000000] pcpu-alloc: s36864 r8192 d20480 u65536 alloc=16*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=600 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 939064K/970752K available (8192K kernel code, 656K rwdata, 2232K rodata, 1024K init, 831K bss, 23496K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbb800000 - 0xff800000 (1088 MB)
lowmem : 0x80000000 - 0xbb400000 ( 948 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x(ptrval) - 0x(ptrval) (9184 kB)
.init : 0x(ptrval) - 0x(ptrval) (1024 kB)
.data : 0x(ptrval) - 0x(ptrval) ( 657 kB)
.bss : 0x(ptrval) - 0x(ptrval) ( 832 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 27093 entries in 80 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000023] Switching to timer-based delay loop, resolution 52ns
[ 0.000273] Console: colour dummy device 80x30
[ 0.000904] console [tty1] enabled
[ 0.000959] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001002] pid_max: default: 32768 minimum: 301
[ 0.001367] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001403] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002359] CPU: Testing write buffer coherency: ok
[ 0.002841] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003520] Setting up static identity map for 0x100000 - 0x10003c
[ 0.003689] rcu: Hierarchical SRCU implementation.
[ 0.004516] smp: Bringing up secondary CPUs ...
[ 0.005429] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.006402] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.007316] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.007430] smp: Brought up 1 node, 4 CPUs
[ 0.007511] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.007535] CPU: All CPU(s) started in HYP mode.
[ 0.007555] CPU: Virtualization extensions available.
[ 0.008549] devtmpfs: initialized
[ 0.021915] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.022190] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.022239] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.022846] pinctrl core: initialized pinctrl subsystem
[ 0.023711] NET: Registered protocol family 16
[ 0.026874] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.032764] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.032799] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.033019] Serial: AMBA PL011 UART driver
[ 0.035487] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.050031] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-04-15 11:43, variant start
[ 0.060044] raspberrypi-firmware soc:firmware: Firmware hash is 82f9bb929ce2186eb1824178c1ae82902ad6275c
[ 0.103248] bcm2835-dma 3f007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[ 0.104915] SCSI subsystem initialized
[ 0.105157] usbcore: registered new interface driver usbfs
[ 0.105231] usbcore: registered new interface driver hub
[ 0.105342] usbcore: registered new device driver usb
[ 0.107055] clocksource: Switched to clocksource arch_sys_counter
[ 0.197605] VFS: Disk quotas dquot_6.6.0
[ 0.197716] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.197887] FS-Cache: Loaded
[ 0.198108] CacheFiles: Loaded
[ 0.208152] NET: Registered protocol family 2
[ 0.209020] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.209084] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.209214] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.209418] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.209574] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.209645] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.209905] NET: Registered protocol family 1
[ 0.210497] RPC: Registered named UNIX socket transport module.
[ 0.210524] RPC: Registered udp transport module.
[ 0.210546] RPC: Registered tcp transport module.
[ 0.210568] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.212424] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.215530] Initialise system trusted keyrings
[ 0.215733] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.225675] FS-Cache: Netfs 'nfs' registered for caching
[ 0.226258] NFS: Registering the id_resolver key type
[ 0.226310] Key type id_resolver registered
[ 0.226333] Key type id_legacy registered
[ 0.226364] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.231833] Key type asymmetric registered
[ 0.231869] Asymmetric key parser 'x509' registered
[ 0.231944] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.232144] io scheduler noop registered
[ 0.232169] io scheduler deadline registered (default)
[ 0.232383] io scheduler cfq registered
[ 0.232407] io scheduler mq-deadline registered (default)
[ 0.232431] io scheduler kyber registered
[ 0.235573] bcm2708_fb soc:fb: FB found 1 display(s)
[ 0.253697] Console: switching to colour frame buffer device 128x37
[ 0.263289] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1024x600
[ 0.265647] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.269727] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.274029] vc-sm: Videocore shared memory driver
[ 0.278148] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 0.292769] brd: module loaded
[ 0.306801] loop: module loaded
[ 0.311220] Loading iSCSI transport class v2.0-870.
[ 0.315661] libphy: Fixed MDIO Bus: probed
[ 0.319556] usbcore: registered new interface driver lan78xx
[ 0.323498] usbcore: registered new interface driver smsc95xx
[ 0.327378] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.359046] dwc_otg 3f980000.usb: base=(ptrval)
[ 0.562992] Core Release: 2.80a
[ 0.566667] Setting default values for core params
[ 0.570384] Finished setting default values for core params
[ 0.774350] Using Buffer DMA mode
[ 0.777988] Periodic Transfer Interrupt Enhancement - disabled
[ 0.781687] Multiprocessor Interrupt Enhancement - disabled
[ 0.785447] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.789180] Dedicated Tx FIFOs mode
[ 0.793250] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
[ 0.797192] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.815888] dwc_otg: Microframe scheduler enabled
[ 0.815946] WARN::hcd_init_fiq:457: FIQ on core 1
[ 0.819759] WARN::hcd_init_fiq:458: FIQ ASM at 8068fda0 length 36
[ 0.823587] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
[ 0.827399] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.831198] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.835015] dwc_otg 3f980000.usb: irq 56, io mem 0x00000000
[ 0.838780] Init: Port Power? op_state=1
[ 0.842380] Init: Power Port (0)
[ 0.846100] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 0.849739] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.853294] usb usb1: Product: DWC OTG Controller
[ 0.856852] usb usb1: Manufacturer: Linux 4.19.118-v7+ dwc_otg_hcd
[ 0.860473] usb usb1: SerialNumber: 3f980000.usb
[ 0.864662] hub 1-0:1.0: USB hub found
[ 0.868263] hub 1-0:1.0: 1 port detected
[ 0.872391] dwc_otg: FIQ enabled
[ 0.872397] dwc_otg: NAK holdoff enabled
[ 0.872403] dwc_otg: FIQ split-transaction FSM enabled
[ 0.872413] Module dwc_common_port init
[ 0.872684] usbcore: registered new interface driver usb-storage
[ 0.876480] mousedev: PS/2 mouse device common for all mice
[ 0.880984] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 0.884906] bcm2835-cpufreq: min=600000 max=1200000
[ 0.889050] sdhci: Secure Digital Host Controller Interface driver
[ 0.892751] sdhci: Copyright(c) Pierre Ossman
[ 0.896790] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[ 0.900972] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 0.904869] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.910195] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.914204] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.918158] usbcore: registered new interface driver usbhid
[ 0.921790] usbhid: USB HID core driver
[ 0.926195] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[ 0.931531] [vc_sm_connected_init]: start
[ 0.940591] [vc_sm_connected_init]: end - returning 0
[ 0.945446] Initializing XFRM netlink socket
[ 0.949195] NET: Registered protocol family 17
[ 0.953020] Key type dns_resolver registered
[ 0.957364] Registering SWP/SWPB emulation handler
[ 0.961731] registered taskstats version 1
[ 0.965400] Loading compiled-in X.509 certificates
[ 0.975792] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.979695] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.985519] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 0.989433] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 1.019520] sdhost: log_buf @ (ptrval) (fad07000)
[ 1.058166] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.063545] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.068848] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.074523] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.079547] of_cfs_init
[ 1.083304] of_cfs_init: OK
[ 1.087462] Waiting for root device PARTUUID=6c586e13-02...
[ 1.098661] Indeed it is in host mode hprt0 = 00021501
[ 1.162247] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.178075] random: fast init done
[ 1.202812] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.209266] mmc0: new high speed SDHC card at address 5048
[ 1.214162] mmcblk0: mmc0:5048 SD16G 14.4 GiB
[ 1.220166] mmcblk0: p1 p2
[ 1.241409] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.245155] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.259391] devtmpfs: mounted
[ 1.270428] Freeing unused kernel memory: 1024K
[ 1.279071] mmc1: new high speed SDIO card at address 0001
[ 1.307476] Run /sbin/init as init process
[ 1.317095] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.320935] Indeed it is in host mode hprt0 = 00001101
[ 1.557383] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[ 1.561309] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.565886] hub 1-1:1.0: USB hub found
[ 1.569888] hub 1-1:1.0: 5 ports detected
[ 1.887122] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.017386] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 2.021320] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.027874] smsc95xx v1.0.6
[ 2.120565] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:2f:44:cf
[ 2.227100] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[ 2.262258] systemd[1]: System time before build time, advancing clock.
[ 2.370288] usb 1-1.3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.62
[ 2.374794] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2.379281] usb 1-1.3: Product: USB2.0-Serial
[ 2.477169] usb 1-1.5: new full-speed USB device number 5 using dwc_otg
[ 2.488799] NET: Registered protocol family 10
[ 2.494838] Segment Routing with IPv6
[ 2.565360] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 2.576113] systemd[1]: Detected architecture arm.
[ 2.606892] systemd[1]: Set hostname to <raspberrypi>.
[ 2.610530] usb 1-1.5: New USB device found, idVendor=0eef, idProduct=0005, bcdDevice= 2.00
[ 2.616630] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.621500] usb 1-1.5: Product: WS170120
[ 2.621511] usb 1-1.5: Manufacturer: WaveShare
[ 2.621520] usb 1-1.5: SerialNumber: Fÿ99604G100
[ 2.640636] input: WaveShare WS170120 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:0EEF:0005.0001/input/input0
[ 2.650811] hid-generic 0003:0EEF:0005.0001: input,hidraw0: USB HID v1.10 Device [WaveShare WS170120] on usb-3f980000.usb-1.5/input0
[ 3.778797] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.795937] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.801837] systemd[1]: Listening on udev Kernel Socket.
[ 3.813545] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.819087] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 3.830718] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 3.842258] systemd[1]: Listening on udev Control Socket.
[ 3.854017] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.865671] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.877269] systemd[1]: Reached target Local Encrypted Volumes.
[ 4.144465] i2c /dev entries driver
[ 5.076055] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 5.209546] systemd-journald[114]: Received request to flush runtime journal from PID 1
[ 5.976995] Driver for 1-wire Dallas network protocol.
[ 5.984487] gpio-4 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[ 6.036667] w1_master_driver w1_bus_master1: Attaching one wire slave 28.00000848e2d0 crc 5a
[ 6.039826] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.042810] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 6.042825] [vc_sm_connected_init]: start
[ 6.047220] [vc_sm_connected_init]: installed successfully
[ 6.088625] media: Linux media interface: v0.10
[ 6.146924] w1_master_driver w1_bus_master1: Attaching one wire slave 28.00000848cec8 crc 79
[ 6.173020] videodev: Linux video capture interface: v2.00
[ 6.212231] w1_master_driver w1_bus_master1: Attaching one wire slave 28.00000847d094 crc 6e
[ 6.272170] w1_master_driver w1_bus_master1: Attaching one wire slave 28.00000849f906 crc af
[ 6.332326] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000008926726 crc 99
[ 6.442852] w1_master_driver w1_bus_master1: Attaching one wire slave 28.00000848709e crc 08
[ 6.502241] w1_master_driver w1_bus_master1: Attaching one wire slave 28.00000847be45 crc 2e
[ 6.529190] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.531475] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.551513] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.557296] bcm2835_audio soc:audio: card created with 4 channels
[ 6.562451] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000008925425 crc 0a
[ 6.563651] bcm2835_audio soc:audio: card created with 4 channels
[ 6.604498] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.622070] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000008482a25 crc df
[ 6.646063] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.660874] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 6.660913] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 6.669213] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 6.669250] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 6.672792] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 6.672826] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 6.682117] w1_master_driver w1_bus_master1: Attaching one wire slave 28.00000847c9ed crc ef
[ 6.846712] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000008491503 crc bf
[ 6.885424] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 6.935959] usbcore: registered new interface driver usbserial_generic
[ 6.936024] usbserial: USB Serial support registered for generic
[ 6.940603] usbcore: registered new interface driver ch341
[ 6.940679] usbserial: USB Serial support registered for ch341-uart
[ 6.940781] ch341 1-1.3:1.0: ch341-uart converter detected
[ 6.942717] usb 1-1.3: ch341-uart converter now attached to ttyUSB0
[ 6.960353] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 6.963970] input: WaveShare WS170120 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:0EEF:0005.0001/input/input1
[ 6.965008] hid-multitouch 0003:0EEF:0005.0001: input,hidraw0: USB HID v1.10 Device [WaveShare WS170120] on usb-3f980000.usb-1.5/input0
[ 7.086337] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 7.097312] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 7.097573] usbcore: registered new interface driver brcmfmac
[ 7.329930] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 7.330029] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 7.330832] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 22 2019 01:59:28 version 7.45.98.94 (r723000 CY) FWID 01-3b33decd
[ 9.582009] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9.582032] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 9.818343] random: crng init done
[ 9.818367] random: 7 urandom warning(s) missed due to ratelimiting
[ 10.031528] uart-pl011 3f201000.serial: no DMA platform data
[ 10.415151] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 11.481386] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 14.516591] Bluetooth: Core ver 2.22
[ 14.516694] NET: Registered protocol family 31
[ 14.516701] Bluetooth: HCI device and connection manager initialized
[ 14.516726] Bluetooth: HCI socket layer initialized
[ 14.516741] Bluetooth: L2CAP socket layer initialized
[ 14.516783] Bluetooth: SCO socket layer initialized
[ 14.545970] Bluetooth: HCI UART driver ver 2.3
[ 14.546009] Bluetooth: HCI UART protocol H4 registered
[ 14.546096] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 14.546332] Bluetooth: HCI UART protocol Broadcom registered
[ 14.849966] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.849974] Bluetooth: BNEP filters: protocol multicast
[ 14.849993] Bluetooth: BNEP socket layer initialized
[14395.702275] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search.
[209017.237967] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209017.286801] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209017.908864] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209017.958001] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209018.225991] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209018.275146] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209018.857700] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209018.906273] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209019.223493] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209019.271666] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209019.842059] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209019.895841] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209020.206362] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209020.255579] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209020.890056] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209020.938020] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209021.220876] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209021.269108] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209021.878989] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209021.928322] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209022.204437] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[209022.252757] Unhandled prefetch abort: unknown 1 (0x001) at 0x5d2b8b1e
[219407.478944] FS-Cache: Netfs 'cifs' registered for caching
[219407.479559] Key type cifs.spnego registered
[219407.479577] Key type cifs.idmap registered
root@raspberrypi:~#gdb `which apt-get`
GNU gdb (Raspbian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/apt-get...(no debugging symbols found)...done.
(gdb) run upgrade
Starting program: /usr/bin/apt-get upgrade
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
warning: Can't read data for section '.debug_info' in file '/usr/lib/debug/.build-id/24/22b5cf95895f5f4f69dae68ad9f99198e43121.debug'
[Detaching after fork from child process 27923]
[Detaching after fork from child process 27924]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Program received signal SIGSEGV, Segmentation fault.
0x76ec9ad0 in EDSP::ResolveExternal(char const*, pkgDepCache&, unsigned int, OpProgress*) () from /usr/lib/arm-linux-gnueabihf/libapt-pkg.so.5.0
(gdb) bt
#0 0x76ec9ad0 in EDSP::ResolveExternal(char const*, pkgDepCache&, unsigned int, OpProgress*) () from /usr/lib/arm-linux-gnueabihf/libapt-pkg.so.5.0
#1 0x76f0b368 in ?? () from /usr/lib/arm-linux-gnueabihf/libapt-pkg.so.5.0
#2 0x76f0b900 in APT::Upgrade::Upgrade(pkgDepCache&, int, OpProgress*) () from /usr/lib/arm-linux-gnueabihf/libapt-pkg.so.5.0
#3 0x76f69184 in ?? () from /usr/lib/arm-linux-gnueabihf/libapt-private.so.0.0
#4 0x76f695ec in ?? () from /usr/lib/arm-linux-gnueabihf/libapt-private.so.0.0
#5 0x76f902f8 in ?? () from /usr/lib/arm-linux-gnueabihf/libapt-private.so.0.0
#6 0x76f90594 in DoUpgrade(CommandLine&) () from /usr/lib/arm-linux-gnueabihf/libapt-private.so.0.0
#7 0x76e540d8 in CommandLine::DispatchArg(CommandLine::Dispatch const*, bool) () from /usr/lib/arm-linux-gnueabihf/libapt-pkg.so.5.0
#8 0x76f5a248 in DispatchCommandLine(CommandLine&, std::vector<CommandLine::Dispatch, std::allocator<CommandLine::Dispatch> > const&) ()
from /usr/lib/arm-linux-gnueabihf/libapt-private.so.0.0
#9 0x00012f3c in ?? ()
#10 0x76b0e718 in __libc_start_main (main=0x7efff794, argc=1992560640, argv=0x76b0e718 <__libc_start_main+268>, init=<optimized out>, fini=0x165c4,
rtld_fini=0x76fde4c4 <_dl_fini>, stack_end=0x7efff794) at libc-start.c:308
#11 0x0001300c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
root@raspberrypi:~#curl -s -L https://api.github.com/rate_limit
Segmentation fault
root@raspberrypi:~#strace -f apt-get upgrade >log.strace-aptget 2>&1
tail log.strece-aptget:
mmap2(NULL, 2793472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x741ce000
mmap2(NULL, 2035712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x73fdd000
stat64("/etc/apt/preferences", 0x7ec1fc60) = -1 ENOENT (No such file or directory)
stat64("/etc/apt/preferences.d/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/etc/apt/preferences.d/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/etc/apt/preferences.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(6, /* 2 entries */, 32768) = 48
getdents64(6, /* 0 entries */, 32768) = 0
close(6) = 0
mmap2(NULL, 2445312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x73d88000
mmap2(NULL, 409600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x73d24000
write(1, "Building dependency tree...", 27Building dependency tree...) = 27
stat64("/var/lib/apt/extended_states", {st_mode=S_IFREG|0644, st_size=35277, ...}) = 0
openat(AT_FDCWD, "/var/lib/apt/extended_states", O_RDONLY|O_LARGEFILE) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=35277, ...}) = 0
write(1, "\n", 1
) = 1
write(1, "Reading state information...", 28Reading state information...) = 28
read(6, "Package: libc-l10n\nArchitecture:"..., 32771) = 32771
read(6, "rmhf\nAuto-Installed: 1\n\nPackage:"..., 32727) = 2506
read(6, "", 30221) = 0
close(6) = 0
write(1, "\n", 1
) = 1
brk(0x8d7000) = 0x8d7000
mmap2(NULL, 352256, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x73cce000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xe58c0524} ---
+++ killed by SIGSEGV +++
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·