gmc crashes on weird filenames
- From: Ronald de Man <deman win tue nl>
- To: gnome-list gnome org
- Subject: gmc crashes on weird filenames
- Date: Sun, 17 Jan 1999 17:01:14 +0100 (MET)
Starting gmc from my home directory results in a crash:
(gdb) file /usr/local/bin/gmc
Reading symbols from /usr/local/bin/gmc...done.
(gdb) run
Starting program: /usr/local/bin/gmc
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
GNU Midnight Commander 4.5.6
Unable to connect to server port 35091
This generally means that the program could not talk to the esound server
GLib-CRITICAL **: file ghash.c: line 131 (g_hash_table_lookup): assertion `hash_
table != NULL' failed.
GLib-CRITICAL **: file ghash.c: line 131 (g_hash_table_lookup): assertion `hash_
table != NULL' failed.
GLib-CRITICAL **: file ghash.c: line 131 (g_hash_table_lookup): assertion `hash_
table != NULL' failed.
GLib-CRITICAL **: file ghash.c: line 131 (g_hash_table_lookup): assertion `hash_
table != NULL' failed.
GLib-CRITICAL **: file ghash.c: line 131 (g_hash_table_lookup): assertion `hash_
table != NULL' failed.
GLib-CRITICAL **: file ghash.c: line 131 (g_hash_table_lookup): assertion `hash_
table != NULL' failed.
Program received signal SIGSEGV, Segmentation fault.
0x40063938 in iti_get_width (iti=0x8234a20, center_offset=0x0)
at gnome-icon-item.c:89
89 *center_offset = (iti->width - row->width) / 2;
(gdb) bt
#0 0x40063938 in iti_get_width (iti=0x8234a20, center_offset=0x0)
at gnome-icon-item.c:89
#1 0x40063985 in get_bounds (iti=0x8234a20, x1=0xbfffe5f4, y1=0xbfffe5f0,
x2=0xbfffe5ec, y2=0xbfffe5e8) at gnome-icon-item.c:104
#2 0x40063a4b in recompute_bounding_box (iti=0x8234a20)
at gnome-icon-item.c:124
#3 0x40065008 in gnome_icon_text_item_configure (iti=0x8234a20, x=0, y=0,
width=90, fontname=0x0, text=0x8192d90 "\n", is_editable=1)
at gnome-icon-item.c:174
#4 0x40060d11 in icon_new_from_imlib (gil=0x81cab68, im=0x816c758,
text=0x8192d90 "\n") at gnome-icon-list.c:639
#5 0x400610ee in gnome_icon_list_append_imlib (gil=0x81cab68, im=0x816c758,
text=0x8192d90 "\n") at gnome-icon-list.c:799
6 0x80b1f0a in panel_fill_panel_icons (panel=0x819a040) at gscreen.c:232
#7 0x80b1f80 in x_fill_panel (panel=0x819a040) at gscreen.c:249
#8 0x80658dc in panel_update_contents (panel=0x819a040) at screen.c:822
#9 0x8065908 in paint_panel (panel=0x819a040) at screen.c:833
10 0x8068341 in panel_callback (h=0x818bf90, panel=0x819a040, msg=3, par=0)
at screen.c:2312
#11 0x8063f4c in send_message (h=0x818bf90, w=0x819a040, msg=3, par=0)
at dlg.c:385
#12 0x8063fae in dlg_broadcast_msg_to (h=0x818bf90, message=3, reverse=1,
flags=-1) at dlg.c:411
---Type <return> to continue, or q <return> to quit---
#13 0x8063ff6 in dlg_broadcast_msg (h=0x818bf90, message=3, reverse=1)
at dlg.c:423
#14 0x80644d4 in dlg_redraw (h=0x818bf90) at dlg.c:582
#15 0x80648a5 in init_dlg (h=0x818bf90) at dlg.c:826
#16 0x80649a8 in run_dlg (h=0x818bf90) at dlg.c:902
#17 0x80abc37 in create_panels () at gmain.c:544
#18 0x80624b1 in setup_mc () at main.c:1828
#19 0x8062cc9 in do_nc () at main.c:2193
#20 0x806386b in main (argc=1, argv=0xbffff7d4) at main.c:3015
(gdb)
(gdb) print row
$1 = (GnomeIconTextInfoRow *) 0x0
(gdb)
Gmc doesn't crash immediately when started from a different directory.
The moment I select my home directory it dies.
I mentioned a crash like this before, and added it was probably caused
by the large number of files and directories in my home directory.
But looking at the backtrace and my home directory, it appears that
I have a file with a name consisting of a single newline (no idea
how it got there), and this causes gmc to crash.
Ronald
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]