Hi,
I've been getting segmentation faults on screem and gPHPEdit on Sarge.
The problems seem to be with glib or scintilla. I've contacted both
authors of the software, but I was wondering if someone is
experiencing the same problems.
Here's the full gdb output for gPHPEdit and screem:
gPHPEdit:
(gdb) thread apply all bt
(gdb) directory /usr/src/glib2.0-2.6.4/upstream/tarballs/glib-2.6.4/gobject/
Source directories searched:
/usr/src/glib2.0-2.6.4/upstream/tarballs/glib-2.6.4/gobject:$cdir:$cwd
(gdb) run
Starting program: /usr/bin/gphpedit
(no debugging symbols found)
.............................
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17998)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 17998)]
0x0000020001219068 in IA__g_type_is_a (type=541201296,
iface_type=4832844736) at gtype.c:2731
2731 if (/* support_inheritance && */
(gdb) bt full
#0 0x0000020001219068 in IA__g_type_is_a (type=541201296,
iface_type=4832844736) at gtype.c:2731
No locals.
#1 0x0000020000ca90d8 in gtk_type_new () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#2 0x0000000120068084 in scintilla_new ()
No symbol table info available.
#3 0x0000000120053420 in gtk_scintilla_get_type ()
No symbol table info available.
#4 0x0000020001214fec in IA__g_type_create_instance (type=0) at gtype.c:1596
instance = (GTypeInstance *) 0x1204212a0
class = (GTypeClass *) 0x12041f5f0
i = 0
#5 0x00000200011fb65c in g_object_constructor (type=541201296,
n_construct_properties=0, construct_params=0x0) at gobject.c:1045
object = (GObject *) 0x0
#6 0x00000200011fab88 in IA__g_object_newv (object_type=4836160080,
n_parameters=20059652, parameters=0x0) at gobject.c:942
value = (GValue *) 0x1
pspec = (GParamSpec *) 0x20001321604
cparams = (GObjectConstructParam *) 0x0
oparams = (GObjectConstructParam *) 0x0
nqueue = (GObjectNotifyQueue *) 0x0
object = (GObject *) 0x0
class = (GObjectClass *) 0x12041f5f0
unref_class = (GObjectClass *) 0x12041f5f0
slist = (GSList *) 0x0
n_total_cparams = 0
n_cparams = 0
n_oparams = 0
n_cvalues = 0
cvalues = (GValue *) 0x0
clist = (GList *) 0x0
i = 0
#7 0x00000200011fb5ec in IA__g_object_new_valist
(object_type=4836160080, first_property_name=0x0, var_args={__base =
0x11fffef40, __offset = 16}) at gobject.c:985
_cvalue = (GTypeCValue *) 0x60001006
pspec = (GParamSpec *) 0x1
class = (GObjectClass *) 0x1
params = (GParameter *) 0x1200e9658
name = (const gchar *) 0x0
object = (GObject *) 0x0
n_params = 0
n_alloced_params = 16
#8 0x00000200011fa744 in IA__g_object_new (object_type=4836160080,
first_property_name=0x0) at gobject.c:823
var_args = {__base = 0x11fffef40, __offset = 16}
#9 0x0000020000ca9130 in gtk_type_new () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x000000012005373c in gtk_scintilla_new ()
No symbol table info available.
#11 0x00000001200495d8 in tab_create_new ()
No symbol table info available.
#12 0x000000012002f038 in create_untitled_if_empty ()
No symbol table info available.
#13 0x000000012002ef9c in main ()
No symbol table info available.
(gdb)
And here is the same for screem:
(gdb) thread apply all bt
(gdb) directory
/usr/src/glib2.0-2.6.4/upstream/tarballs/glib-2.6.4/gobject/
Source directories searched:
/usr/src/glib2.0-2.6.4/upstream/tarballs/glib-2.6.4/gobject:$cdir
:$cwd
(gdb) run
Starting program: /usr/bin/screem
(no debugging symbols found)
..............................
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 15074)]
(screem:15074): Gtk-CRITICAL **: gtk_icon_info_get_filename:
assertion `icon_info != NULL' failed
............................................................
(screem:15074): Gtk-CRITICAL **: gtk_icon_info_free:
assertion `icon_info != NULL' failed
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 15074)]
0x000002000124dfa4 in IA__g_type_fundamental
(type_id=543153936) at gtype.c:3112
3112 return node ? NODE_FUNDAMENTAL_TYPE (node) : 0;
(gdb) bt
#0 0x000002000124dfa4 in IA__g_type_fundamental
(type_id=543153936) at gtype.c:3112
#1 0x000002000122e6c0 in IA__g_object_new
(object_type=543153936, first_property_name=0x0) at
gobject.c:820
#2 0x0000000120044844 in screem_combo_box_new ()
#3 0x00000001200c66c4 in screem_window_close ()
#4 0x000002000122ee90 in IA__g_object_newv
(object_type=4836532352, n_parameters=1,
parameters=0x12046acb0) at gobject.c:725
#5 0x000002000122f3d8 in IA__g_object_new_valist
(object_type=4836532352, first_property_name=0x0,
var_args={__base = 0x11ffff480, __offset = 48}) at
gobject.c:1026
#6 0x000002000122e744 in IA__g_object_new
(object_type=4836532352, first_property_name=0x120138964
"app") at gobject.c:823
#7 0x000000012003d4bc in screem_application_create_window ()
#8 0x000000012003e558 in screem_application_startup ()
#9 0x000000012006a69c in main ()
(gdb) bt full
#0 0x000002000124dfa4 in IA__g_type_fundamental
(type_id=543153936) at gtype.c:3112
No locals.
#1 0x000002000122e6c0 in IA__g_object_new
(object_type=543153936, first_property_name=0x0) at
gobject.c:820
var_args = {__base = 0x12013a25b, __offset = 538157912}
#2 0x0000000120044844 in screem_combo_box_new ()
No symbol table info available.
#3 0x00000001200c66c4 in screem_window_close ()
No symbol table info available.
#4 0x000002000122ee90 in IA__g_object_newv
(object_type=4836532352, n_parameters=1,
parameters=0x12046acb0) at gobject.c:725
contents = (gchar *) 0x120501c60 "\200 G \001"
cparams = (GObjectConstructParam *) 0x120502840
oparams = (GObjectConstructParam *) 0x120502810
nqueue = (GObjectNotifyQueue *) 0x12046acb0
object = (GObject *) 0x120501760
class = (GObjectClass *) 0x120501c60
unref_class = (GObjectClass *) 0x0
slist = (GSList *) 0x120373e80
n_total_cparams = 2
n_cparams = 2
n_oparams = 1
n_cvalues = 0
cvalues = (GValue *) 0x120502870
clist = (GList *) 0x120501760
i = 0
#5 0x000002000122f3d8 in IA__g_object_new_valist
(object_type=4836532352, first_property_name=0x0,
var_args={__base = 0x11ffff480, __offset = 48}) at
gobject.c:1026
_cvalue = (GTypeCValue *) 0x120231620
pspec = (GParamSpec *) 0x40
class = (GObjectClass *) 0x120501c60
params = (GParameter *) 0x1204ebc30
name = (const gchar *) 0x0
object = (GObject *) 0x1204ebc50
n_params = 2
n_alloced_params = 16
#6 0x000002000122e744 in IA__g_object_new
(object_type=4836532352, first_property_name=0x120138964
"app") at gobject.c:823
var_args = {__base = 0x11ffff480, __offset = 16}
#7 0x000000012003d4bc in screem_application_create_window ()
No symbol table info available.
#8 0x000000012003e558 in screem_application_startup ()
No symbol table info available.
#9 0x000000012006a69c in main ()
No symbol table info available.
(gdb) quit
The program is running. Exit anyway? (y or n) y
Any help is appreciated.
Thanks,
RD