netbook-launcher crashed with SIGSEGV in free()

Bug #513829 reported by IoFran
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
liblauncher
Fix Released
Undecided
Unassigned
liblauncher (Ubuntu)
Fix Released
Medium
Didier Roche-Tolomelli

Bug Description

Binary package hint: netbook-launcher

When I remove something of Favorites

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Thu Jan 28 08:19:55 2010
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
ExecutablePath: /usr/bin/netbook-launcher
GConfNonDefault:
 /apps/netbook-launcher/disable_single_instance=false
 /apps/netbook-launcher/force_low_graphics=false
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
MachineType: Corporativo Lanix G10ILx
Package: netbook-launcher 2.1.12-0ubuntu4
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-11-generic root=UUID=c63e6a75-75b6-4b01-93c3-05ea4587b623 ro quiet splash
ProcCmdline: netbook-launcher
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-11.15-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu2
 libgl1-mesa-glx 7.7-0ubuntu8
 libdrm2 2.4.17-0ubuntu2
 xserver-xorg-video-intel 2:2.9.1-1ubuntu3
SegvAnalysis:
 Segfault happened at: 0x8daeed <free+93>: cmpxchg %ecx,(%esi)
 PC (0x008daeed) ok
 source "%ecx" ok
 destination "(%esi)" (0x00000000) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: netbook-launcher
StacktraceTop:
 free () from /lib/tls/i686/cmov/libc.so.6
 g_free () from /lib/libglib-2.0.so.0
 g_error_free () from /lib/libglib-2.0.so.0
 launcher_favorites_remove_favorite ()
 ?? ()
Title: netbook-launcher crashed with SIGSEGV in free()
Uname: Linux 2.6.32-11-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 04/10/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.05
dmi.board.name: NEURON_LT3G
dmi.board.vendor: LANIX
dmi.board.version: LNXACT
dmi.chassis.type: 10
dmi.chassis.vendor: Corporativo Lanix, S.A. de C.V.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.05:bd04/10/2009:svnCorporativoLanix:pnG10ILx:pvr:rvnLANIX:rnNEURON_LT3G:rvrLNXACT:cvnCorporativoLanix,S.A.deC.V.:ct10:cvr:
dmi.product.name: G10ILx
dmi.sys.vendor: Corporativo Lanix
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.32-11-generic

Revision history for this message
IoFran (iofran) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 *__GI___libc_free (mem=0xa291658) at malloc.c:3736
 g_free () from /lib/libglib-2.0.so.0
 g_error_free () from /lib/libglib-2.0.so.0
 launcher_favorites_remove_favorite (favorites=0x9cd6590,
 removed (self=0xa283810) at nl-favorite-app.c:362

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in netbook-launcher (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.
We think this bug should be now fixed, can you try to reproduce it again?

In the meanwhile, I set the report as Incomplete for easier tracking, do not hesitate to set it as Fix Released if the bug is fixed for you or Confirmed again if it's still present.

Changed in netbook-launcher (Ubuntu):
status: New → Incomplete
Revision history for this message
Omer Akram (om26er) wrote :

I faced this and now its fixed for can you please reply to the last comment.

visibility: private → public
Revision history for this message
Jan Arne Petersen (jpetersen) wrote :

There is a fix in the attached branch.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

merged into trunk. Thanks for your work there. Reassigning to right package too :)

didn't know about g_clear_error. Better than if (error) g_error_free (error); error=NULL;
Thanks for the tip!

affects: netbook-launcher (Ubuntu) → liblauncher (Ubuntu)
Changed in liblauncher (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
status: Incomplete → Triaged
Changed in liblauncher:
status: New → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Oupss, seems I forgot to put the bug number in the changelog

Changed in liblauncher:
status: Fix Committed → Fix Released
Changed in liblauncher (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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