init crashed with SIGSEGV in event_poll()

Bug #358915 reported by Diego Schulz
12
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: upstart

This is an on-purpose duplicate of Bug #358866

I tought apport-qt will provide more information on the bug, so I simply followed the wizard to post this bug report.

Original bug report
"init segfaults when trying to shutdown the system"
https://bugs.launchpad.net/bugs/358866

Please excuse me for the duplicate.

lsb_relase -rd :
Description: Ubuntu jaunty (development branch)
Release: 9.04

uname -a
Linux zzzzzzz 2.6.28-11-generic #41-Ubuntu SMP Wed Apr 8 04:39:23 UTC 2009 x86_64 GNU/Linux

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /sbin/init
Package: upstart 0.3.9-8
ProcAttrCurrent: unconfined
ProcCmdline: /sbin/init
ProcEnviron: PATH=(custom, no user)
Signal: 11
SourcePackage: upstart
StacktraceTop:
 ?? () from /sbin/init
 ?? () from /sbin/init
 event_poll () from /sbin/init
 ?? () from /sbin/init
 main () from /sbin/init
Title: init crashed with SIGSEGV in event_poll()
Uname: Linux 2.6.28-11-generic x86_64
UserGroups:

Revision history for this message
Diego Schulz (dschulzg) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:job_change_goal (job=0x7f70bacdb1e0, goal=JOB_STOP,
job_handle_event (emission=0x7f70bacd8ff0)
event_poll () at event.c:478
nih_main_loop () at main.c:615
main (argc=1, argv=<value optimized out>)

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in upstart (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Could you attach the file from /var/crash for me? This should not yet have been deleted from your system.

The stack trace indicates that init is segfaulting on function entry, which generally implies badness

Changed in upstart (Ubuntu):
status: New → Incomplete
Revision history for this message
Diego Schulz (dschulzg) wrote :

Sorry, I thought apport had already done that for me :)

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

It does, but then it removes the core dump before retracing it and making it public.

Unfortunately the core file isn't any more revealing, the crash happened on function entry and all of the passed variables look just fine to me.

Were there any other console messages before the crash?

Does this happen every time for you?

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

If you have other crashes from Upstart, could you submit them with apport as well?

Revision history for this message
Diego Schulz (dschulzg) wrote :

Unfortunately currently I only have one file in /var/crash/ directory, the one attached above.
The crashes happened at random times, so I couldn't identify a usage pattern that triggers it.
I've seen the same crash at least 3 times, but ignored apport suggestion to post the bug and manually deleted the core dumps in order to avoid apport to continue annoying :)

I didn't pay so much attention until I disabled the bootsplash and seen the actual segfault message. Fortunately I configured sysklogd to dump *.* log messages to tty12 previously, so I could easily take a pic right after it happened switching to tty12. I haven't seen any other messages than those in the attached pics.

Revision history for this message
Diego Schulz (dschulzg) wrote :
Revision history for this message
Diego Schulz (dschulzg) wrote :

Right after the init crash (and before rebooting, of course) I logged in as root and tried invoking init directly to see what happens.

Revision history for this message
Diego Schulz (dschulzg) wrote :

kinda foolish method.. to take pics from the screen :) I just didn't wanted to go to look in /var/log/messages

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Unfortunately this bug has insufficient information to determine a cause; given the location of the crash, I can't even rule out hardware failure or a Kernel issue (perhaps caused by a binary module, or virtualisation software)

Please delete the file from /var/crash; if this happens again, please file a new report and hopefully that one might have more information in the trace.

Changed in upstart (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Diego Schulz (dschulzg) wrote :

>> I can't even rule out hardware failure or a Kernel issue (perhaps caused by a binary module, or virtualisation software)

I was thinking maybe it could have something to do with VirtualBox driver (vboxdrv), which is loaded at boot time.
The module iwlagn (intel wireless) is another not-so-stable driver which is loaded at boot, wich caused a lot of ugly backtraces to printed in tty01 when shutting down my previous Intrepid installation. But I feel inclined to point a finger on vboxdrv.

I'll keep an eye on those two miscreants.

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.