Assembler crashes when building ndiswrapper

Bug #1795853 reported by Diego Romano
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
binutils (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

> lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04

--------------------------------------
> apt-cache policy ndiswrapper-dkms
ndiswrapper-dkms:
  Installato: 1.60-6
  Candidato: 1.60-6
  Tabella versione:
 *** 1.60-6 500
        500 http://it.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://it.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

--------------------------------------
when installing via apt-get:

Loading new ndiswrapper-1.60 DKMS files...
Building for 4.15.0-34-generic 4.15.0-36-generic
Building initial module for 4.15.0-34-generic
Done.

ndiswrapper:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.15.0-34-generic/updates/dkms/

depmod...

DKMS: install completed.
Building initial module for 4.15.0-36-generic
Error! Bad return status for module build on kernel: 4.15.0-36-generic (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.60/build/make.log for more information.

---------------------------------------
contents of the log file:
DKMS make.log for ndiswrapper-1.60 for kernel 4.15.0-36-generic (x86_64)
mer 3 ott 2018, 12.29.37, CEST
make: ingresso nella directory "/usr/src/linux-headers-4.15.0-36-generic"
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/crt_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/hal_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ndis_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_io_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/rtl_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/usb_exports.h
  MKSTUBS /var/lib/dkms/ndiswrapper/1.60/build/win2lin_stubs.h
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/crt.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/hal.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/loader.o
symbolmap: sezione: invalid section
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/ndis.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_io.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/pe_linker.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/pnp.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/proc.o
symbolmap: sezione: invalid section
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/rtl.o
symbolmap: sezione: invalid section
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/wrapmem.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/wrapndis.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/wrapper.o
Assembler messages:
Internal error (Errore di segmentazione).
Please report this bug.
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/usb.o
  AS [M] /var/lib/dkms/ndiswrapper/1.60/build/win2lin_stubs.o
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/ndiswrapper/1.60/build/wrapper.o' failed
make[1]: *** [/var/lib/dkms/ndiswrapper/1.60/build/wrapper.o] Error 2
make[1]: *** Attesa per i processi non terminati....
symbolmap: sezione: invalid section
symbolmap: sezione: invalid section
Makefile:1551: recipe for target '_module_/var/lib/dkms/ndiswrapper/1.60/build' failed
make: *** [_module_/var/lib/dkms/ndiswrapper/1.60/build] Error 2
make: uscita dalla directory "/usr/src/linux-headers-4.15.0-36-generic"

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: ndiswrapper-dkms 1.60-6
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
DKMSKernelVersion: 4.15.0-36-generic
Date: Wed Oct 3 12:29:45 2018
InstallationDate: Installed on 2016-01-25 (981 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
PackageArchitecture: all
PackageVersion: 1.60-6
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.3ubuntu0.1
SourcePackage: ndiswrapper
Title: ndiswrapper-dkms 1.60-6: ndiswrapper kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Diego Romano (dieforme) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It looks like the assembler is crashing:

Assembler messages:
Internal error (Errore di segmentazione).
Please report this bug.

So this would be a bug in 'binutils'.

affects: ndiswrapper (Ubuntu) → binutils (Ubuntu)
summary: - ndiswrapper-dkms 1.60-6: ndiswrapper kernel module failed to build when
- istalling from apt-get
+ Assembler crashes when building ndiswrapper
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in binutils (Ubuntu):
status: New → Incomplete
Revision history for this message
Diego Romano (dieforme) wrote :

As requested, this is the link to the newly created bug
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1796246

(why did I have to do this?)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's not what I meant. The 'ubuntu-bug yourfile.crash' command will create a new bug. If it doesn't then try 'apport-cli yourfile.crash' instead.

Revision history for this message
Diego Romano (dieforme) wrote :

As apport-cli led to the same situation as before, I tried step 2, but I couldn't find any recent error reported on that page.
Therefore, after performing an automatic system update, I tried step 3, as you suggested, and the problem did not presented again (ndiswrapper-dkms installed regularly and the module compiled without errors).
I cannot send you more details or create a new bug.
Thanks for your help.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

No problem. If the problem does not present again then this bug will automatically close in 2 months.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for binutils (Ubuntu) because there has been no activity for 60 days.]

Changed in binutils (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.