Project

General

Profile

Actions

Bug #1107

closed

Null pointer dereference on boot with built-in lttng-modules

Added by Francis Deslauriers almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/17/2017
Due date:
% Done:

100%

Estimated time:

Description

Booting a kernel (v4.4.68 stable branch) with the lttng-modules built-in crashes the kernel.

Procedure I followed:
  1. run ./lttng-modules/built-in.sh ./linux
  2. Turning on the LTTng option in the .config
  3. cd ./linux && make
  4. Boot the kernel with qemu [1]

When booting, the VM hits a bug and prints this callstack [2].

I can successfully build and boot the kernel using that same command [1] when I turn off the lttng-modules in the .config.

lttng-modules commit: c6f05468ac90af73c0077095f5e57f287197e9d8
linux-stable 4.4.y commit: be90e260145c0463c7a5c80ced379adc2f4850cc

[1]

qemu-system-x86_64 deb.qcow2 
    -enable-kvm
    -m 1G  
    -nographic
    -kernel linux/arch/x86/boot/bzImage
    -initrd linux/arch/x86/boot/initrd.img 
    -append "root=UUID=8bf5feb2-6f3a-4842-a242-70aad1afeb98 console=ttyS0" 

[2]: https://pastebin.com/CJD2cTBZ

Actions

Also available in: Atom PDF