Help required: how to add a patch to gnome-commmander2 port?

Jens Rehsack rehsack at web.de
Sun Jul 27 19:07:11 UTC 2008


Jeremy Messenger wrote:
> On Sun, 27 Jul 2008 13:10:33 -0500, Jens Rehsack <rehsack at web.de> wrote:
> 
>> Jeremy Messenger wrote:
 >
> I forgot to remind you about that if you need to patch in Makefile, be 
> sure to patch in Makefile.am instead of Makefile.in.

It's not worth, because I really want to apply the patch as I attached
in the first mail.

> It's not worth to update if this update doesn't work. Once it's fixed, 
> then it's good to go.

It seems to be a problem with Umlauts from different character set (in this 
case: Windows).
The backtrace is:
Starting program: 
/usr/ports/x11-fm/gnome-commander2/work/gnome-commander-1.2.6/src/.libs/gnome-commander 

[New LWP 100135]
[New Thread 0x606180 (LWP 100135)]
When parsing the users and groups on this system it was found that the user 
melanie is part of the group music. This user can however not be found.
When parsing the users and groups on this system it was found that the user 
melanie is part of the group win32. This user can however not be found.

** (gnome-commander:30954): WARNING **: [key-bindings] unknown user action: 
'connections.ftp_quick_connect' - ignored

** (gnome-commander:30954): WARNING **: [key-bindings] unknown user action: 
'connections.ftp_connect' - ignored

(gnome-commander:30954): GLib-CRITICAL **: g_convert: assertion `str != 
NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x606180 (LWP 100135)]
0x000000080583a852 in IA__g_utf8_collate_key (str=Variable "str" is not 
available.
) at gunicollate.c:279
279	      xfrm_len = strlen (str_norm);
Current language:  auto; currently c
(gdb) bt
#0  0x000000080583a852 in IA__g_utf8_collate_key (str=Variable "str" is not 
available.
) at gunicollate.c:279
#1  0x000000080583aadd in IA__g_utf8_collate_key_for_filename (str=0x8a8200 
"Ideen f�r eigenes Onlinespiel (oder mehrere).sxw", len=48) at gunicollate.c:397
#2  0x0000000000455707 in gnome_cmd_file_setup (finfo=0x8c5060, 
info=0x8ef710, dir=0x786000) at gnome-cmd-file.cc:181
#3  0x00000000004557c1 in gnome_cmd_file_new (info=0x8ef710, dir=0x786000) 
at gnome-cmd-file.cc:169
#4  0x0000000000440909 in on_list_done (dir=0x786000, infolist=0x8e0900, 
result=Variable "result" is not available.
) at gnome-cmd-dir.cc:474
#5  0x0000000000419442 in dirlist_list (dir=0x786000, visprog=0) at 
dirlist.cc:127
#6  0x000000000043fc43 in gnome_cmd_dir_relist_files (dir=0x786000, 
visprog=0) at gnome-cmd-dir.cc:583
#7  0x000000000043fd0b in gnome_cmd_dir_list_files (dir=0x786000, visprog=0) 
at gnome-cmd-dir.cc:597
#8  0x0000000000450d43 in gnome_cmd_file_selector_set_directory (fs=Variable 
"fs" is not available.
) at gnome-cmd-file-selector.cc:1607
#9  0x0000000000452750 in gnome_cmd_file_selector_set_connection 
(fs=0x617330, con=0x617170, start_dir=0x786000) at 
gnome-cmd-file-selector.cc:265
#10 0x0000000000460180 in init (mw=0x646000) at gnome-cmd-main-win.cc:841
#11 0x00000008056c7079 in IA__g_type_create_instance (type=4287316) at 
gtype.c:1575
#12 0x00000008056ad7ff in g_object_constructor (type=Variable "type" is not 
available.
) at gobject.c:1046
#13 0x00000008056adf0d in IA__g_object_newv (object_type=6564368, 
n_parameters=0, parameters=Variable "parameters" is not available.
) at gobject.c:937
#14 0x00000008056ae620 in IA__g_object_new_valist (object_type=6564368, 
first_property_name=0x0, var_args=0x7fffffffe6d0) at gobject.c:986
#15 0x00000008056aea5b in IA__g_object_new (object_type=6564368, 
first_property_name=0x0) at gobject.c:795
#16 0x000000000045dbd4 in gnome_cmd_main_win_new () at gnome-cmd-main-win.cc:883
#17 0x000000000047b349 in main (argc=1, argv=Variable "argv" is not available.
) at main.cc:135

The code around gnome-cmd-dir.cc:474 looks good, it checks against
NULL-pointer etc. - so I assume the glib20 expects sth. which is
not delivered.

/Jens



More information about the freebsd-gnome mailing list