[apport] mplayer crashed with SIGSEGV in dbus_g_proxy_call()

Bug #104660 reported by Jamie Dalgetty
24
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Fix Released
Medium
Mario Limonciello

Bug Description

Binary package hint: mplayer

watching video, crashed.

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
Date: Sun Apr 8 23:36:58 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/mplayer
Package: mplayer 2:1.0~rc1-0ubuntu8
PackageArchitecture: amd64
ProcCmdline: gmplayer /media/Heroes\ S01E12-18/Heroes.S01E17.HR.HDTV.XviD-FpN.avi
ProcCwd: /home/jamie
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: mplayer
StacktraceTop:
 ?? () from /usr/lib/libdbus-glib-1.so.2
 ?? () from /usr/lib/libdbus-glib-1.so.2
 dbus_g_proxy_call ()
 gnome_screensaver_control ()
 saver_off ()
Uname: Linux ubuntu 2.6.20-14-generic #2 SMP Mon Apr 2 16:32:46 UTC 2007 x86_64 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner video

Related branches

Revision history for this message
Jamie Dalgetty (jdalgetty) wrote :
Revision history for this message
Martin Pitt (pitti) wrote : Symbolic stack trace

StacktraceTop:_dbus_gvalue_store (value=0x7fff538b0000, storage=0x2b7800000000) at dbus-gvalue-utils.c:102
dbus_g_proxy_end_call_internal (proxy=0x1053c00, call_id=<value optimized out>, error=0x7fff538b0240, first_arg_type=<value optimized out>,
dbus_g_proxy_call (proxy=0x1053c00, method=0xb12a6e "Inhibit", error=0x7fff538b0240, first_arg_type=17123000) at dbus-gproxy.c:2527
gnome_screensaver_control ()
saver_off ()

Revision history for this message
Martin Pitt (pitti) wrote : Symbolic threaded stack trace
Changed in mplayer:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Xaweryz (xaweryz) wrote :

my fix :

Revision history for this message
Xaweryz (xaweryz) wrote :

Then this error appears when option :
stopxscreensaver = "yes"
is set in ~/.mplayer/gui.conf
in ubuntu amd64

Revision history for this message
Mario Limonciello (superm1) wrote :

Have you actually tested that small diff to guint64? I'm reluctant to commit it since I don't have an amd64 box to verify that it really works.

Changed in mplayer:
status: Confirmed → Incomplete
Revision history for this message
Philip Belemezov (phible) wrote :

I hit this bug myself (amd64 here, too).

The patch proposed by Daniel Marynicz does not seem correct to me, because
ENABLE_X86_64 is not defined [1], so the guint64 part does not get compiled.

The correct check is whether ARCH_X86_64 is defined. You can grep the mplayer's
source and you will see that they either check for it (ARCH_X86_64, that is) or for
__x86_64__ which is automatically defined by gcc when compiling on amd64.

I am attaching a patch to gnome_screensaver.c that fixes the issue.

Has this been reported upstream?

Revision history for this message
Philip Belemezov (phible) wrote :

Ooops, forgot the [1]

[1] I tested whether it's defined - it's not.

Changed in mplayer:
assignee: nobody → superm1
status: Incomplete → In Progress
Revision history for this message
Mario Limonciello (superm1) wrote :

mplayer (2:1.0~rc2-0ubuntu4) hardy; urgency=low

  [ Mario Limonciello ]
  * Rebuild against newer x264. (LP: #173624, 174087)
  * Build with enca support. (LP: #115519)
  * Fix gnome_screensaver errors. (LP: #108785, 104660, 159909, 113818)

  [ Luca Barbieri ]
  * Add locking support to Pulse Audio to prevent deadlocks. (LP: #136850)

  [ Phillip Belemezov ]
  * Fix gnome screensaver on amd64 (LP: #104660, 159861)

 -- Mario Limonciello <email address hidden> Tue, 11 Dec 2007 02:13:54 -0600

Changed in mplayer:
status: In Progress → Fix Released
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.