Summary: | x11-libs/gtk+-2.14.7-r2: assertion failure & segfault calling gdk_screen_get_n_monitors() with invalid value | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Longpoke <longpoke> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Longpoke
2009-09-14 03:41:24 UTC
Found the problem, there are a bunch of NULL pointer dereferences in gdk/x11/gdkscreen-x11.c: gint gdk_screen_get_monitor_width_mm (GdkScreen *screen, gint monitor_num) { return get_monitor (screen, monitor_num)->width_mm; } (bug:13764): Gdk-CRITICAL **: get_monitor: assertion `monitor_num >= 0' failed So if you give -1 it's totally normal, the assertion is false because -1 < 0. however the segfault it's not normal... Could you paste a full backtrace, to confirm what you said ? see http://www.gentoo.org/proj/en/qa/backtraces.xml about the backtrace I suggest upgrading to gtk+-2.16.x first and trying with that. 2.16 is stable by now and I believe saw some multi-head and other monitor related fixes, probably including usage of RANDR1.3 and some such. Please provide requested info. Thanks |