[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gcmd-dev] Migration to C++
From: |
Piotr Eljasiak |
Subject: |
Re: [gcmd-dev] Migration to C++ |
Date: |
Fri, 16 Mar 2007 08:39:42 +0100 |
> > Yes, Nautilus works just fine, so does gcmd-1.2.3 and so
> > did gcmd-1.3 before the migration to C++
>
> I wonder if it's an issue with C++ and gcc settings for AMD64 arch. I have
> these weird delay on my AMD64 PC, and i just checked out rev804 on the laptop
> (i686) and guess what, it works fine as usual, no filesystem lookup delay, no
> crashes.
Startup delay was caused by recursive subdir searching and is corrected
in rev 803/804.
> Another difference is the kernel, on PC it's Linux 2.6.18-4-amd64 (original
> debian package) where on laptop it's (still) 2.6.19rc6. Both running the
> native SATA drivers but i'd didn't take a closer look at the debian kernel
> yet, since anything worked fine. And then, while both root filesystems are
> about 20G, the PC mounts a 100G parttition with another 20G of multimedia
> and backup files - maybe the lookup happens on the laptop as well but is so
> fast that it's not recognizable ? How can i tell ? And there's no FAM on
> either machine.
>
> I should compare more carefully, unfortunately i got no time yet, i'm
> preparing to break off tomorrow and will be back to my PC only in 2 weeks. I
> hope you can find the bug. (Maybe you are able to compare to another machine
> too?)
I'm using AMD64 too and it works for me. The bug is related to RMB popup
menu.
Magnus - I'm sending small patch for adding a few TRACE() calls around
code responsible for popup menu creation. Could you please apply it
(patch -p1 < gcmd-rmb-popup.patch) and run gcmd from console? The
interesting part of log comes at the end of output, for me it looks
like:
for a file without default app (*.cc):
gnome-cmd-file-popmenu.cc(544) GtkWidget*
gnome_cmd_file_popmenu_new(GnomeCmdFileList*) files: 0x9ce000
gnome-cmd-file-popmenu.cc(417) gchar*
get_default_application_action_name(GList*) files:
0x9ce000
gnome-cmd-file-popmenu.cc(418) gchar*
get_default_application_action_name(GList*)
g_list_length(files): 1
gnome-cmd-file-popmenu.cc(424) gchar*
get_default_application_action_name(GList*) finfo:
0xafc9e0
gnome-cmd-file-popmenu.cc(426) gchar*
get_default_application_action_name(GList*) uri_str:
file:///home/piotr/devel/sandbox/gnome-commander-1.2.4/src/filter.cc
gnome-cmd-file-popmenu.cc(428) gchar*
get_default_application_action_name(GList*) app: 0
gnome-cmd-file-popmenu.cc(548) GtkWidget*
gnome_cmd_file_popmenu_new(GnomeCmdFileList*)
open_uiinfo[0].label: _Open
and for *.png files:
gnome-cmd-file-popmenu.cc(544) GtkWidget*
gnome_cmd_file_popmenu_new(GnomeCmdFileList*) files: 0xb46c20
gnome-cmd-file-popmenu.cc(417) gchar*
get_default_application_action_name(GList*) files:
0xb46c20
gnome-cmd-file-popmenu.cc(418) gchar*
get_default_application_action_name(GList*)
g_list_length(files): 1
gnome-cmd-file-popmenu.cc(424) gchar*
get_default_application_action_name(GList*) finfo:
0xbba4b0
gnome-cmd-file-popmenu.cc(426) gchar*
get_default_application_action_name(GList*) uri_str:
file:///home/piotr/svn/trunk/doc/C/figures/create_archive.png
gnome-cmd-file-popmenu.cc(428) gchar*
get_default_application_action_name(GList*) app: 0xbc2810
gnome-cmd-file-popmenu.cc(436) gchar*
get_default_application_action_name(GList*)
escaped_app_name: Przeglądarka obrazów
gnome-cmd-file-popmenu.cc(439) gchar*
get_default_application_action_name(GList*) retval: _Open
with "Przeglądarka obrazów"
gnome-cmd-file-popmenu.cc(548) GtkWidget*
gnome_cmd_file_popmenu_new(GnomeCmdFileList*)
open_uiinfo[0].label: _Open with "Przeglądarka obrazów"
Piotr
gcmd-rmb-popup.patch.bz2
Description: application/bzip
- Re: [gcmd-dev] Migration to C++, (continued)
- Re: [gcmd-dev] Migration to C++, Bruno Dusausoy, 2007/03/12
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/12
- Re: [gcmd-dev] Migration to C++, Michael, 2007/03/13
- Re: [gcmd-dev] Migration to C++, Piotr Eljasiak, 2007/03/13
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/13
- Re: [gcmd-dev] Migration to C++, Michael, 2007/03/14
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/14
- Re: [gcmd-dev] Migration to C++, Michael, 2007/03/14
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/15
- Re: [gcmd-dev] Migration to C++, Michael, 2007/03/15
- Re: [gcmd-dev] Migration to C++,
Piotr Eljasiak <=
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/16
- Re: [gcmd-dev] Migration to C++, Piotr Eljasiak, 2007/03/16
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/16
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/16
- Re: [gcmd-dev] Migration to C++, Piotr Eljasiak, 2007/03/16
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/16
- Re: [gcmd-dev] Migration to C++, Piotr Eljasiak, 2007/03/16
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/16
- Re: [gcmd-dev] Migration to C++, Magnus Stålnacke, 2007/03/17
- Re: [gcmd-dev] Migration to C++, Piotr Eljasiak, 2007/03/18