← Back to team overview

kernel-packages team mailing list archive

[Bug 1479093] Re: Segfault in ld-2.19.so while starting Steam after upgrade to 3.13.0-59.98

 

Here is a simpler example program:

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <wait.h>

int
main(argc, argv)
int argc;
char **argv;
{
	int pid, rpid;
	int st;

	if (argc < 2) {
		fprintf(stderr, "usage: %s command ...\n", argv[0]);
		return (1);
	}
	if ((pid = fork()) < 0) {
		fprintf(stderr, "fork: %s\n", strerror(errno));
		return (1);
	}
	if (pid == 0) {
		execvp(argv[1], &argv[1]);
		fprintf(stderr, "exec: %s\n", strerror(errno));
		return (1);
	}
	while ((rpid = wait(&st)) > 0 && rpid != pid)
		;
	if (rpid < 0) {
		fprintf(stderr, "wait: %s\n", strerror(errno));
		return (1);
	}
	printf("status 0x%x\n", st);
	return (0);
}

There is some header-file fumble that prevents me from compiling this
with cc -m32, but there are both 32- and 64-bit systems in our
environment, so:

Using kernel 3.13.0-59:

Compile it on a 64-bit system, and run
      ./forkexec date
and all is well.

Compile it on a 32-bit system, then, on a 64-bit system, run
    ./forkexec date
and date prints nothing, while forkexec reports exit status 0x8b.

On the other hand, still on the 64-bit system, point it at a 32-bit binary and all is well.  e.g.
   ./forkexec ./forkexec
just prints the expected usage: message, so it execed itself properly; no SIGSEGV.

To confound matters further:
-- take out the fork (so the program just calls exec) and all is well
-- run the program under strace -f and the problem vanishes

All this happens under kernel 3.13.0-59 but not 3.13.0-55 (we've put off
a few updates).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1479093

Title:
  Segfault in ld-2.19.so while starting Steam after upgrade to
  3.13.0-59.98

Status in linux package in Ubuntu:
  Invalid
Status in linux-lts-utopic package in Ubuntu:
  Invalid
Status in linux-lts-vivid package in Ubuntu:
  Invalid
Status in linux source package in Trusty:
  Confirmed
Status in linux-lts-utopic source package in Trusty:
  Invalid
Status in linux-lts-vivid source package in Trusty:
  Invalid
Status in linux source package in Vivid:
  Invalid
Status in linux-lts-utopic source package in Vivid:
  Invalid
Status in linux-lts-vivid source package in Vivid:
  Invalid
Status in linux source package in Wily:
  Invalid
Status in linux-lts-utopic source package in Wily:
  Invalid
Status in linux-lts-vivid source package in Wily:
  Invalid

Bug description:
  The previous kernel 3.13.0-58.97 does not show the issue when booting back into it. Currently only noticed on starting Steam but there its is reproducable every time on X230 laptop (Intel graphics). Might be related to Steam using 32bit libraries.
  Attaching some log and dump that steam produces but fails to upload (wherever).

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-59-generic 3.13.0-59.98
  ProcVersionSignature: Ubuntu 3.13.0-59.98-generic 3.13.11-ckt22
  Uname: Linux 3.13.0-59-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  smb        2678 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue Jul 28 21:42:17 2015
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=7aacd0c3-12d4-4f50-baf7-e1fd8f871f95
  InstallationDate: Installed on 2013-07-25 (733 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MachineType: LENOVO 2324CTO
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-59-generic.efi.signed root=UUID=5d3281d3-0142-4039-bb9b-28653778aca0 ro quiet splash mmc-core.removable=0 nomdmonddf nomdmonisw vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-59-generic N/A
   linux-backports-modules-3.13.0-59-generic  N/A
   linux-firmware                             1.127.14
  SourcePackage: linux
  UpgradeStatus: Upgraded to trusty on 2014-04-29 (455 days ago)
  dmi.bios.date: 04/30/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: G2ET94WW (2.54 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 2324CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Win8 Pro DPK TPG
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvrG2ET94WW(2.54):bd04/30/2013:svnLENOVO:pn2324CTO:pvrThinkPadX230:rvnLENOVO:rn2324CTO:rvrWin8ProDPKTPG:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 2324CTO
  dmi.product.version: ThinkPad X230
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1479093/+subscriptions


References