Segmentation fault (core dumped)

Bug #194429 reported by hahlo
82
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nvclock (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: nvclock

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"
Architecture: i386
Source: nvclock
Version: 0.8b3-1ubuntu1

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:6202): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:6202): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:6202): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.15.5/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6202): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:6202): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault (core dumped)

ProblemType: Crash
Architecture: i386
Date: Fri Feb 22 19:43:39 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/nvclock_gtk
NonfreeKernelModules: nvidia ath_hal
Package: nvclock-gtk 0.8b3-1ubuntu1
PackageArchitecture: i386
ProcCmdline: nvclock_gtk
ProcCwd: /home/hahlo
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fi_FI.UTF-8
 LANGUAGE=fi_FI:fi:en_GB:en
Signal: 11
SourcePackage: nvclock
Stacktrace:
 #0 0xb7d8ac2c in gtk_message_dialog_new () from /usr/lib/libgtk-x11-2.0.so.0
 #1 0x08058273 in ?? ()
 #2 0x00000000 in ?? ()
StacktraceTop:
 gtk_message_dialog_new () from /usr/lib/libgtk-x11-2.0.so.0
 ?? ()
 ?? ()
ThreadStacktrace:
 .
 Thread 1 (process 6202):
 #0 0xb7d8ac2c in gtk_message_dialog_new () from /usr/lib/libgtk-x11-2.0.so.0
 #1 0x08058273 in ?? ()
 #2 0x00000000 in ?? ()
Title: nvclock_gtk crashed with SIGSEGV in gtk_message_dialog_new()
Uname: Linux hahlo-laptop 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev video

Tags: apport-crash
Revision history for this message
hahlo (hahlo) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:IA__gtk_message_dialog_new (parent=0x0, flags=<value optimized out>,
main ()
__libc_start_main () from /lib/tls/i686/cmov/libc.so.6
_start ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in nvclock:
importance: Undecided → Medium
Daniel T Chen (crimsun)
Changed in nvclock:
status: New → Confirmed
Revision history for this message
Lorenz Pretterhofer (krysole) wrote :

I stumbled onto this while searching for the same issue in my own code. This initial error (which indirectly causes the rest to occur) is the result of not initializing the GType library. Either gtk_init mush be called (when using GTK+) or g_type_init.

In this case, it sounds like somewhere in the code a GObject is being created before gtk_init is called, which should be the first thing to run. (generally it's at the very top of main)

Revision history for this message
Steve Langasek (vorlon) wrote :

Thank you for taking the time to report this bug and help to improve Ubuntu.

From the upstream diff and changelog, I believe this bug is fixed in nvclock 0.8b4, included in jaunty. The upstream changelog mentions:

 o Fixed NV-CONTROL crash in nvclock_gtk

So I'm marking this bug as closed; feel free to reopen if you find this crash is still a problem with the jaunty version of the package.

Changed in nvclock:
status: Confirmed → Fix Released
Revision history for this message
J.G. (j.gorski) wrote :

~$ nvclock -F 25
Segmentation fault

in Lucid, NVClock v0.8 (Beta4)

Revision history for this message
Stanislav Drozdov (inbox-drozdov) wrote :

Hi everybody!
Now I have the same problem after updating my kernel and NVidia kmod.

My system: Fedora 16, kernel 3.3.4-3.fc16.i686
VIdeocard: VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GS] (rev a2)
Drivers:
kmod-nvidia-3.3.4-3.fc16.i686-295.49-1.fc16.1.i686
xorg-x11-drv-nvidia-libs-295.49-1.fc16.i686
xorg-x11-drv-nvidia-295.49-1.fc16.i686

~$ nvclock -f -F 30
zsh: segmentation fault (core dumped) nvclock -f -F 30

/var/log/messages:
kernel: [12500.858699] nvclock[5060] general protection ip:8059f25 sp:bfff8678 error:0 in nvclock[8048000+1d000]

And I have no any ideas how to make my fan works slower. In nvidia-setings I haven't any tool to reduce the speed.
Any Ideas?

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.