Since alpha2, Geeqie crashes if one uses the "geeqie -r %F" from the
desktop file, e.g. with a desktop system's "Open with..." feature. To
reproduce, make sure no Geeqie runs already. Then you will get a segfault
because of a NULL path.
Invalid or ignored remote options: test.png
Use --remote-help for valid remote options.
That means a change in the desktop file is needed:
diff -Nur geeqie-1.0alpha2-orig/geeqie.desktop geeqie-1.0alpha2/geeqie.desktop
--- geeqie-1.0alpha2-orig/geeqie.desktop 2008-07-30 22:01:52.000000000
+0200
+++ geeqie-1.0alpha2/geeqie.desktop 2008-08-11 12:32:41.000000000 +0200
@@ -9,7 +9,7 @@
Comment=View and manage images
Comment[hu]=Képek megjelenítése és rendszerezése
Comment[es]=Visualiza y administra imágenes
-Exec=geeqie -r %F
+Exec=geeqie -r file:%F
Icon=geeqie
Type=Application
Terminal=false
That's not enough to fix the crash, though:
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Remote Geeqie not running, starting...............
Remote not available
#8 <signal handler called>
No symbol table info available.
#9 0x07147127 in g_str_hash () from /lib/libglib-2.0.so.0
No symbol table info available.
#10 0x071199cb in g_hash_table_lookup () from /lib/libglib-2.0.so.0
No symbol table info available.
#11 0x0808d890 in file_data_new (path_utf8=0x0, st=0xbfa3af68,
check_sidecars=1) at filedata.c:313
fd = <value optimized out>
#12 0x0808db2e in file_data_new_simple (path_utf8=0x0) at filedata.c:448
st = {st_dev = 579284803889901544, __pad1 = 16736, st_ino = 166329208,
st_mode = 2, st_nlink = 1072693248, st_uid = 0, st_gid = 0,
st_rdev = 68725436704, __pad2 = 6792, st_size = 0, st_blksize = 166330128,
st_blocks = 166329136, st_atim = {tv_sec = -1079791640, tv_nsec = 4511936},
st_mtim = {tv_sec = 0, tv_nsec = 32}, st_ctim = {tv_sec = 4,
tv_nsec = -1208840192}, __unused4 = 3215175624, __unused5 = 134865360}
#13 0x0809fbe7 in layout_set_path (lw=0x9e9fb78, path=0x0) at layout.c:918
fd = <value optimized out>
ret = <value optimized out>
#14 0x080aa61e in main (argc=) at main.c:843
cmd_line = <value optimized out>
cmd_all = (gchar *) 0x9e84480 ""
base_dir = (gchar *) 0x9e85130 "\210Eè\t\001"
lw = (LayoutWindow *) 0x9e9fb78
path = (gchar *) 0x0
cmd_path = (gchar *) 0x0
cmd_file = (gchar *) 0x0
cmd_list = (GList *) 0x0
collection_list = (GList *) 0x0
first_collection = (CollectionData *) 0x0
geometry = (gchar *) 0x0
buf = <value optimized out>
bufl = <value optimized out>
cd = (CollectionData *) 0x0
#15 0x0046f390 in __libc_start_main () from /lib/libc.so.6
--
Michael Schwendt <[EMAIL PROTECTED]>
Fedora release 8 (Werewolf) - Linux 2.6.25.11-60.fc8
loadavg: 2.13 1.92 2.23
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-devel