wingpanel crashed with SIGSEGV in g_strdup()

Bug #1170998 reported by Jonathan Alfonso
700
This bug affects 97 people
Affects Status Importance Assigned to Milestone
Wingpanel
Fix Released
Medium
Victor Martinez

Bug Description

Crashed while using Chromium
*EDIT* Is caused by Spotify. I also had Spotify open at the time.

ProblemType: Crash
DistroRelease: elementary OS 0.2
Package: wingpanel 0.1-0~r129+pkg10~precise1 [origin: LP-PPA-elementary-os-daily]
Uname: Linux 3.8.5-030805-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.2+elementary3~precise1
Architecture: amd64
CrashDB: wingpanel
Date: Sat Apr 20 15:01:08 2013
ExecutablePath: /usr/bin/wingpanel
GSettings:
 org.pantheon.desktop.wingpanel blacklist ['libappmenu.so']
 org.pantheon.desktop.wingpanel default-launcher 'slingshot-launcher'
 org.pantheon.desktop.wingpanel show-launcher true
GsettingsChanges:

InstallationMedia: elementary OS 0.2 "Luna" - Beta 1 amd64 (20121114)
MarkForUpload: True
ProcCmdline: wingpanel
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7fc4bb85a101: movdqu (%rdi),%xmm1
 PC (0x7fc4bb85a101) ok
 source "(%rdi)" (0x000000e8) not located in a known VMA region (needed readable region)!
 destination "%xmm1" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: wingpanel
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libc.so.6
 g_strdup () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? ()
 wingpanel_indicator_widget_get_entry_name ()
 ?? ()
Title: wingpanel crashed with SIGSEGV in g_strdup()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

Revision history for this message
Jonathan Alfonso (alfonsojon1997) wrote :
Revision history for this message
RabbitBot (rabbitbot-a) wrote :

StacktraceTop:
 g_strdup (str=0xe8 <Address 0xe8 out of bounds>) at /build/buildd/glib2.0-2.32.3/./glib/gstrfuncs.c:355
 wingpanel_backend_indicator_object_entry_real_get_entry_name (base=0x10e21a0) at /build/buildd/wingpanel-0.2.2~r131/obj-x86_64-linux-gnu/src/Indicator/IndicatorObjectEntry.c:295
 wingpanel_indicator_widget_get_entry_name (self=0x10e21a0) at /build/buildd/wingpanel-0.2.2~r131/obj-x86_64-linux-gnu/src/IndicatorWidget.c:67
 wingpanel_services_indicator_sorter_get_order_node (widget=0x10e21a0, result=0x7fff867ebea0) at /build/buildd/wingpanel-0.2.2~r131/obj-x86_64-linux-gnu/src/Services/IndicatorSorter.c:240
 wingpanel_services_indicator_sorter_compare_func (a=0x1588010, b=0x10e21a0) at /build/buildd/wingpanel-0.2.2~r131/obj-x86_64-linux-gnu/src/Services/IndicatorSorter.c:170

Revision history for this message
RabbitBot (rabbitbot-a) wrote : Stacktrace.txt
Revision history for this message
RabbitBot (rabbitbot-a) wrote : ThreadStacktrace.txt
tags: removed: need-amd64-retrace
Cody Garver (codygarver)
Changed in wingpanel:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → luna-beta3
Revision history for this message
Cody Garver (codygarver) wrote :

Spotify is mentioned in most of these reports.

tags: added: spotify
Cody Garver (codygarver)
information type: Private → Public Security
description: updated
Changed in wingpanel:
assignee: nobody → Victor (victored)
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in wingpanel:
status: In Progress → Fix Released
Revision history for this message
Ezra Sharp (nicekiwi) wrote :

Running fully upto date daily system, this just happened for me twice. Fix-released or not.

Revision history for this message
Ezra Sharp (nicekiwi) wrote :

^^ Also I'm sure Spotify was the cause,. both times.

Revision history for this message
AFD (anthonyfoxdavies) wrote :

I don't use spotify and this was marked as a dupe of the bug I reported so that is not the cause (in my case at least). I do use chrome if chrome/chromium might be the cause.

I have a feeling Skype might be causing issues too but that's just a hunch.

Cody Garver (codygarver)
Changed in wingpanel:
milestone: luna-beta3 → luna-rc1
summary: - wingpanel crashed with SIGSEGV in g_strdup()
+ wingpanel crashed with SIGSEGV in g_strdup() part 1
Revision history for this message
william ledoux (william-ledoux) wrote : Re: wingpanel crashed with SIGSEGV in g_strdup() part 1

I used spotify before and never had any problem, but since I added a script at startup that launches spotify (spotify-notify.py) . It just crashed twice in a row after boot

Revision history for this message
Samu Nuutamo (carbon) wrote :

I can confirm that Spotify causes the crash even after a fix has been released. This happens about 30% of time when I launch Spotify. The only other custom indicator I have is Dropbox if that matters.

Revision history for this message
Piotrek Okoński (piotrek-f) wrote :

Same here for Spotify.

Revision history for this message
Esa-leirivaara (esa-leirivaara) wrote :

Same here with Spotify.

Cody Garver (codygarver)
summary: - wingpanel crashed with SIGSEGV in g_strdup() part 1
+ wingpanel crashed with SIGSEGV in g_strdup()
Revision history for this message
Victor Martinez (victored) wrote :

Maybe this issue has to do with the encoding of the strings passed by those applications.

PLEASE TEST THE FOLLOWING BRANCH. STEPS:

$ sudo rm /usr/local/bin/wingpanel # Make sure no local versions of wingpanel are installed, since these override the binary from the package
$ sudo apt-get install elementary-testing-scripts
$ elementary-install-from-bzr lp:wingpanel lp:~elementary-apps/wingpanel/tweaks
$ killall wingpanel # Cerbere will restart wingpanel and will use the updated version

Revision history for this message
Lee Pfeifer (leecifer) wrote :

I installed that branch and have been trying to get a crash with no success. So for now, I'm cautiously optimistic. :)

But, if I do get a crash I'll be sure to submit a crash report.

Revision history for this message
Victor Martinez (victored) wrote :

Thank you for testing Lee. That's good to know!

Revision history for this message
Lee Pfeifer (leecifer) wrote :

I was able to get Wingpanel to crash again due to Spotify. Submitted a new bug report so my details would be uploaded. You can find it at: https://bugs.launchpad.net/wingpanel/+bug/1193551

Revision history for this message
raed (pc-raed818) wrote :

i reboot the PC twice and this bug appear to me at startup

Revision history for this message
Ant59 (antonyderham) wrote :

Not fixed! Happened to me when opening Spotify with Wingpanel 0.2.4

Revision history for this message
Ruairidh (ruairidhwm) wrote :

Just happened to me, had Spotify open.

Revision history for this message
Daniel Röhrig (roehrig-daniel) wrote :

Still happens every time I start Spotify. After crashing everything works fine but it is still pretty annoying.

Revision history for this message
Özcan ESEN (ozcanesen) wrote :

Hey guys i am working on a spotify indicator replacement.

https://github.com/ozcanesen/spotify-indicator

Revision history for this message
İsmail Demirbilek (ce-demirbilek) wrote :

Still happens for me.

Revision history for this message
jsterr (jonas-sterr) wrote :

Just happend again with spotify (linux version) opend.

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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