notify-osd crashed with SIGSEGV in defaults_constructed()/g_object_newv()

Bug #331927 reported by Xavier Fung
130
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Fix Released
Medium
Mirco Müller

Bug Description

Binary package hint: notify-osd

Simply notifies me a crash happens when I print something from OpenOffice.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/lib/notify-osd/notify-osd
Package: notify-osd 0.8-0ubuntu3
ProcCmdline: /usr/lib/notify-osd/notify-osd
ProcEnviron:
 PATH=(custom, no user)
 LANG=zh_HK.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: notify-osd
StacktraceTop:
 ?? ()
 g_object_newv () from /usr/lib/libgobject-2.0.so.0
 g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
 g_object_new () from /usr/lib/libgobject-2.0.so.0
 defaults_new ()
Title: notify-osd crashed with SIGSEGV in g_object_newv()
Uname: Linux 2.6.28-8-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare scanner video

Related branches

Revision history for this message
Xavier Fung (xavier114fch) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:defaults_constructed (gobject=0x8d12800) at defaults.c:328
IA__g_object_newv (object_type=147908232, n_parameters=0,
IA__g_object_new_valist (object_type=147908232,
IA__g_object_new (object_type=147908232,
defaults_new () at defaults.c:1277

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in notify-osd:
importance: Undecided → Medium
Revision history for this message
Alexander Sack (asac) wrote : Re: notify-osd crashed with SIGSEGV in g_object_newv()

Please post your output of:

 gconftool-2 --get /desktop/gnome/interface/font_name

Revision history for this message
Alexander Sack (asac) wrote :

Crash happens at:
                 g_object_set (self,
                              "text-font-face",
                              font_face->str,
                              NULL);

with
#0 0x0805a8e8 in defaults_constructed (gobject=0x8d12800) at defaults.c:328
 font_face = (GString *) 0x0

=> missing error handling

Changed in notify-osd:
status: New → Triaged
Revision history for this message
Xavier Fung (xavier114fch) wrote :

gconftool-2 --get /desktop/gnome/interface/font_name

gives "微軟正黑體 10"

which means "MS JhengHei 10", a Chinese font from MS and I am using Chinese (Traditional) language in GNOME.

David Barth (dbarth)
Changed in notify-osd:
assignee: nobody → macslow
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
su27 (damn-su) wrote :

I have the same problem, it crashes when the font_face->str contains any Chineses character.

Changed in notify-osd (Ubuntu):
assignee: nobody → macslow
milestone: none → ubuntu-9.04
Revision history for this message
David Barth (dbarth) wrote :

Thanks for the comments. This will really help us provide a fix. It should be fixed just after the beta freeze.

Revision history for this message
sxdhaoren (hupengnihao) wrote : Re: [Bug 331927] Re: notify-osd crashed with SIGSEGV in defaults_constructed()/g_object_newv()

Thank you!谢谢
在 2009-03-26四的 13:22 +0000,David Barth写道:
> Thanks for the comments. This will really help us provide a fix. It
> should be fixed just after the beta freeze.
>

Mirco Müller (macslow)
Changed in notify-osd (Ubuntu):
status: Triaged → Fix Committed
Changed in notify-osd:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package notify-osd - 0.9.7-0ubuntu1

---------------
notify-osd (0.9.7-0ubuntu1) jaunty; urgency=low

  * New upstream version:
    - added and improved multihead support,
      notifications stick to panel whatever the monitor it is on (lp: #331369)
    - crashers fixes (lp: #331927, #349133)
    - enable the icon lookup fallback mechanism for fallback icons like
      notification-display-brightness-* (lp: #344385)
    - reworked parts of notify-osd in order to make it adapt dynamically to
      changes of font-face, font-size and dpi (lp: #339731)
    - ensure X errors will not kill notify-osd
    - use HTML- and markup-filter for title- and body-message-text also
      in fallback-dialog
  * debian/patches/correct_service_install.patch:
    - correctly install the dbus service
  * debian/rules:
    - use simple-patchsys rules

 -- Sebastien Bacher <email address hidden> Sat, 28 Mar 2009 12:45:12 +0100

Changed in notify-osd:
status: Fix Committed → Fix Released
Revision history for this message
XDL (xudonglai0923) wrote : Re:[Bug 331927] Re: notify-osd crashed with SIGSEGV in
Download full text (5.6 KiB)

 defaults_constructed()/g_object_newv()
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----=_Part_32218_14338272.1238466211181"
X-Originating-IP: [61.166.152.253]
X-Priority: 3
X-Mailer: Coremail Webmail Server Version XT2_snapshot build
 090319(6914.2271.2266) Copyright (c) 2002-2009 www.mailtech.cn 163com

------=_Part_32218_14338272.1238466211181
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

well done

=E5=9C=A82009-03-30=EF=BC=8C"Launchpad Bug Tracker" <<email address hidden>.=
net> =E5=86=99=E9=81=93=EF=BC=9A

This bug was fixed in the package notify-osd - 0.9.7-0ubuntu1

---------------
notify-osd (0.9.7-0ubuntu1) jaunty; urgency=3Dlow

  * New upstream version:
    - added and improved multihead support,
      notifications stick to panel whatever the monitor it is on (lp: #3313=
69)
    - crashers fixes (lp: #331927, #349133)
    - enable the icon lookup fallback mechanism for fallback icons like
      notification-display-brightness-* (lp: #344385)
    - reworked parts of notify-osd in order to make it adapt dynamically to
      changes of font-face, font-size and dpi (lp: #339731)
    - ensure X errors will not kill notify-osd
    - use HTML- and markup-filter for title- and body-message-text also
      in fallback-dialog
  * debian/patches/correct_service_install.patch:
    - correctly install the dbus service
  * debian/rules:
    - use simple-patchsys rules

 -- Sebastien Bacher <email address hidden> Sat, 28 Mar 2009 12:45:12
+0100

** Changed in: notify-osd (Ubuntu)
       Status: Fix Committed =3D> Fix Released

--=20
notify-osd crashed with SIGSEGV in defaults_constructed()/g_object_newv()
https://bugs.launchpad.net/bugs/331927
You received this bug notification because you are a direct subscriber
of the bug.

Status in Notify OSD: Fix Committed
Status in =E2=80=9Cnotify-osd=E2=80=9D source package in Ubuntu: Fix Releas=
ed

Bug description:
Binary package hint: notify-osd

Simply notifies me a crash happens when I print something from OpenOffice.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/lib/notify-osd/notify-osd
Package: notify-osd 0.8-0ubuntu3
ProcCmdline: /usr/lib/notify-osd/notify-osd
ProcEnviron:
 PATH=3D(custom, no user)
 LANG=3Dzh_HK.UTF-8
 SHELL=3D/bin/bash
Signal: 11
SourcePackage: notify-osd
StacktraceTop:
 ?? ()
 g_object_newv () from /usr/lib/libgobject-2.0.so.0
 g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
 g_object_new () from /usr/lib/libgobject-2.0.so.0
 defaults_new ()
Title: notify-osd crashed with SIGSEGV in g_object_newv()
Uname: Linux 2.6.28-8-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev s=
ambashare scanner video

------=_Part_32218_14338272.1238466211181
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

well done<br><br><br>=E5=9C=A82009-03-30=EF=BC=8C"Launchpad Bug Tracker" &l=
t;<email address hidden>&gt; =E5=86=99=E9=81=93=EF=BC=9A<br> <BLOCKQUOTE=
 id=3D"isReplyContent" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8e=
x; BORDER-LEFT: #ccc 1px solid"><pre>This bug was fixed in the packag...

Read more...

David Barth (dbarth)
Changed in notify-osd:
status: Fix Committed → Fix Released
no longer affects: notify-osd
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.