Projects / GWhere / Comments

Comments for GWhere

22 Aug 2006 14:25 gwhere

Re: segmentation fault

I've just found a possible bug. I sent you a patch file by mail.


Keep me informed me about the bug resolution please.

Thx,

22 Aug 2006 11:09 crapon

Re: segmentation fault


> Hi,

> ..........

> I need some information like used GWhere

> package, used OS or the selected CVS

> file. Can we continue this discussion by

> mail ?

>

> Regards,

I have posted the backtrace of 0.2.1 version, don't consider that!

This is the output of 0.2.2 when import a catalog previously created and exported by gwhere :

*** GW - gwapplicationmanager.c (199) :: gw_am_get_settings() : pair is (GWhere.application.catalog.compression.level := (null))

*** glibc detected *** double free or corruption (fasttop): 0x082054e8 ***

Program received signal SIGABRT, Aborted.

0x44219ef1 in kill () from /lib/libc.so.6

(gdb) bt

#0 0x44219ef1 in kill () from /lib/libc.so.6

#1 0x44219b15 in raise () from /lib/libc.so.6

#2 0x4421b3fd in abort () from /lib/libc.so.6

#3 0x4424c76c in __libc_message () from /lib/libc.so.6

#4 0x44255066 in malloc_printerr () from /lib/libc.so.6

#5 0x44253d2f in _int_free () from /lib/libc.so.6

#6 0x4425294f in free () from /lib/libc.so.6

#7 0xb7b6020c in g_free () from /usr/lib/libglib-2.0.so.0

#8 0xb78a1639 in gw_db_disk_set_fstype (disk=0x82054a0, fstype=0x0) at gwdbdisk.c:110

#9 0xb78a1c70 in gw_db_disk_free (disk=0x82054a0) at gwdbdisk.c:449

#10 0xb789bffb in g_node_disk_free (disk=0x81d43a8, data=0x0) at gwcatalog.c:89

#11 0xb788d936 in plugin_db_catalog_close (context=0x44309ff4) at csv.c:1151

#12 0x08057346 in gw_am_import_catalog_from (oplugin=0x80d6b50, iplugin=0x80d70d0,

db_name=0x8201060 "/home/carlo/zzmp3.csv", short_db_name=0x8205a10 "zzmp3.csv") at gwapplicationmanager.c:1608

#13 0x08067ffd in gw_menu_file_import_file_selection_ok (bt=0x8143420, fs=0x81db030) at gwmenufilecallback.c:1230

#14 0xb7bc9e2e in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0

#15 0xb7bbc9de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0

#16 0xb7bc85cb in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0

#17 0xb7bc77ab in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0

#18 0xb7bc79ca in g_signal_emit () from /usr/lib/libgobject-2.0.so.0

#19 0xb7d3457e in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0

#20 0xb7d34f67 in gtk_button_get_relief () from /usr/lib/libgtk-x11-2.0.so.0

#21 0xb7bc9e2e in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0

#22 0xb7bbd1e7 in g_signal_type_cclosure_new () from /usr/lib/libgobject-2.0.so.0

#23 0xb7bbc9de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0

#24 0xb7bc7e79 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0

#25 0xb7bc77ab in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0

#26 0xb7bc79ca in g_signal_emit () from /usr/lib/libgobject-2.0.so.0

#27 0xb7d34559 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0

#28 0xb7d34e2a in gtk_button_get_relief () from /usr/lib/libgtk-x11-2.0.so.0

#29 0xb7db29fa in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0

#30 0xb7bbd1e7 in g_signal_type_cclosure_new () from /usr/lib/libgobject-2.0.so.0

#31 0xb7bbc9de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0

#32 0xb7bc8056 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0

#33 0xb7bc75c9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0

#34 0xb7bc79ca in g_signal_emit () from /usr/lib/libgobject-2.0.so.0

#35 0xb7e46370 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0

#36 0xb7db1fa1 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0

#37 0xb7db140a in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0

#38 0xb7cb760f in gdk_x11_register_standard_event_type () from /usr/lib/libgdk-x11-2.0.so.0

#39 0xb7b5b9b1 in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0

#40 0xb7b5c38c in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0

#41 0xb7b579c3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0

#42 0xb7db0e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0

#43 0x0804e8c0 in main (argc=1, argv=0xbfe4d434) at main.c:85

I still have segmentation fault with cvs catalogs exported by other applications such as gtktalog 1.0-rc3.

22 Aug 2006 09:00 crapon

Re: Segmentation fault
I'm using slackware 10.1 and 11rc1, now i have imported a catalog previously exported by gwhere and this is the backtrace :

*** GW - gwapplicationmanager.c (212) :: gw_am_get_settings()

*** GW - gwapplicationmanager.c (220) :: gw_am_get_settings() : pair is (GWhere.application.catalog.compression.level := (null))

*** glibc detected *** double free or corruption (fasttop): 0x081fc0d8 ***

Program received signal SIGABRT, Aborted.

0x44219ef1 in kill () from /lib/libc.so.6

(gdb) bt

#0 0x44219ef1 in kill () from /lib/libc.so.6

#1 0x44219b15 in raise () from /lib/libc.so.6

#2 0x4421b3fd in abort () from /lib/libc.so.6

#3 0x4424c76c in __libc_message () from /lib/libc.so.6

#4 0x44255066 in malloc_printerr () from /lib/libc.so.6

#5 0x44253d2f in _int_free () from /lib/libc.so.6

#6 0x4425294f in free () from /lib/libc.so.6

#7 0xb79f520c in g_free () from /usr/lib/libglib-2.0.so.0

#8 0xb7934639 in gw_db_disk_set_fstype (disk=0x8203d08, fstype=0x0) at gwdbdisk.c:110

#9 0xb7934c70 in gw_db_disk_free (disk=0x8203d08) at gwdbdisk.c:449

#10 0xb792effb in g_node_disk_free (disk=0x81cef18, data=0x0) at gwcatalog.c:89

#11 0xb7920936 in plugin_db_catalog_close (context=0x44309ff4) at csv.c:1151

#12 0x08057316 in gw_am_import_catalog_from (oplugin=0x80d6aa0, iplugin=0x80d7020,

db_name=0x81fc220 "/home/carlo/zzmp3.csv", short_db_name=0x81f00b8 "zzmp3.csv") at gwapplicationmanager.c:1632

#13 0x08067f7d in gw_menu_file_import_file_selection_ok (bt=0x8142038, fs=0x81da018) at gwmenufilecallback.c:1230

#14 0xb7a5ee2e in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0

#15 0xb7a519de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0

#16 0xb7a5d5cb in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0

#17 0xb7a5c7ab in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0

#18 0xb7a5c9ca in g_signal_emit () from /usr/lib/libgobject-2.0.so.0

#19 0xb7dbd57e in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0

#20 0xb7dbdf67 in gtk_button_get_relief () from /usr/lib/libgtk-x11-2.0.so.0

#21 0xb7a5ee2e in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0

#22 0xb7a521e7 in g_signal_type_cclosure_new () from /usr/lib/libgobject-2.0.so.0

#23 0xb7a519de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0

#24 0xb7a5ce79 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0

#25 0xb7a5c7ab in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0

#26 0xb7a5c9ca in g_signal_emit () from /usr/lib/libgobject-2.0.so.0

#27 0xb7dbd559 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0

#28 0xb7dbde2a in gtk_button_get_relief () from /usr/lib/libgtk-x11-2.0.so.0

#29 0xb7e3b9fa in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0

#30 0xb7a521e7 in g_signal_type_cclosure_new () from /usr/lib/libgobject-2.0.so.0

#31 0xb7a519de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0

#32 0xb7a5d056 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0

#33 0xb7a5c5c9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0

#34 0xb7a5c9ca in g_signal_emit () from /usr/lib/libgobject-2.0.so.0

#35 0xb7ecf370 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0

#36 0xb7e3afa1 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0

#37 0xb7e3a40a in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0

#38 0xb7d4060f in gdk_x11_register_standard_event_type () from /usr/lib/libgdk-x11-2.0.so.0

#39 0xb79f09b1 in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0

#40 0xb79f138c in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0

#41 0xb79ec9c3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0

#42 0xb7e39e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0

#43 0x0804e96f in main (argc=1, argv=0xbf8b41f4) at main.c:100

22 Aug 2006 06:47 gwhere

Re: segmentation fault
Hi,

> This is what i have done :

> gwhere->Import->CSV catalog

> ->"a catalog"

>

> *** GW - main.c (95) :: main() :

> application is loading catalog ==>

> memory status :

> *** GW - gwapplicationmanager.c (251) ::

> gw_am_get_settings_tol()

> *** GW - gwapplicationmanager.c (212) ::

> gw_am_get_settings()

> *** GW - gwapplicationmanager.c (220) ::

> gw_am_get_settings() : pair is

> (GWhere.application.explorer.column.autoresize

> := (null))

> *** GW - gwapplicationmanager.c (260) ::

> gw_am_get_settings_tol() : pair is

> (GWhere.application.explorer.column.autoresize

> := -1)

> *** GW - gwapplicationmanager.c (251) ::

> gw_am_get_settings_tol()

> *** GW - gwapplicationmanager.c (212) ::

> gw_am_get_settings()

> *** GW - gwapplicationmanager.c (220) ::

> gw_am_get_settings() : pair is

> (GWhere.application.explorer.column.autoresize

> := (null))

> *** GW - gwapplicationmanager.c (260) ::

> gw_am_get_settings_tol() : pair is

> (GWhere.application.explorer.column.autoresize

> := -1)

> *** GW - gwapplicationmanager.c (251) ::

> gw_am_get_settings_tol()

> *** GW - gwapplicationmanager.c (212) ::

> gw_am_get_settings()

> *** GW - gwapplicationmanager.c (220) ::

> gw_am_get_settings() : pair is

> (GWhere.application.explorer.column.autoresize

> := (null))

> *** GW - gwapplicationmanager.c (260) ::

> gw_am_get_settings_tol() : pair is

> (GWhere.application.explorer.column.autoresize

> := -1)

> *** GW - gwapplicationmanager.c (212) ::

> gw_am_get_settings()

> *** GW - gwapplicationmanager.c (220) ::

> gw_am_get_settings() : pair is

> (GWhere.application.catalog.compression.level

> := (null))

> Segmentation fault

>

Did you recompile GWhere in debug mode in order to see the above messages ?

I need some information like used GWhere package, used OS or the selected CVS file. Can we continue this discussion by mail ?

Regards,

22 Aug 2006 05:51 crapon

segmentation fault
This is what i have done :

gwhere->Import->CSV catalog ->"a catalog"

*** GW - main.c (95) :: main() : application is loading catalog ==> memory status :

*** GW - gwapplicationmanager.c (251) :: gw_am_get_settings_tol()

*** GW - gwapplicationmanager.c (212) :: gw_am_get_settings()

*** GW - gwapplicationmanager.c (220) :: gw_am_get_settings() : pair is (GWhere.application.explorer.column.autoresize := (null))

*** GW - gwapplicationmanager.c (260) :: gw_am_get_settings_tol() : pair is (GWhere.application.explorer.column.autoresize := -1)

*** GW - gwapplicationmanager.c (251) :: gw_am_get_settings_tol()

*** GW - gwapplicationmanager.c (212) :: gw_am_get_settings()

*** GW - gwapplicationmanager.c (220) :: gw_am_get_settings() : pair is (GWhere.application.explorer.column.autoresize := (null))

*** GW - gwapplicationmanager.c (260) :: gw_am_get_settings_tol() : pair is (GWhere.application.explorer.column.autoresize := -1)

*** GW - gwapplicationmanager.c (251) :: gw_am_get_settings_tol()

*** GW - gwapplicationmanager.c (212) :: gw_am_get_settings()

*** GW - gwapplicationmanager.c (220) :: gw_am_get_settings() : pair is (GWhere.application.explorer.column.autoresize := (null))

*** GW - gwapplicationmanager.c (260) :: gw_am_get_settings_tol() : pair is (GWhere.application.explorer.column.autoresize := -1)

*** GW - gwapplicationmanager.c (212) :: gw_am_get_settings()

*** GW - gwapplicationmanager.c (220) :: gw_am_get_settings() : pair is (GWhere.application.catalog.compression.level := (null))

Segmentation fault

06 Aug 2001 07:37 aanatoly

gwhere: good tool
thanks. handy and useful tool

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.