Re: Crash on editor replace dialog at cancel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

15.09.2009 00:21, David Martin wrote:
> 
> (gdb) bt

#7  0x080b8d88 in editcmd_dialog_replace_show (edit=0x81eb828,

    search_default=0x2 <Address 0x2 out of bounds>,

 replace_default=0x81cfde8 "", search_text=0xbfc2e7a8,

    replace_text=0xbfc2e7a4) at editcmd_dialogs.c:129

This strange: "search_default=0x2"; where search default have type
'const char*'

And this strange: "at editcmd_dialogs.c:129"

Line No 129 of 'editcmd_dialogs.c' file contain:
g_strfreev (list_of_types);

in other words, release list of search types...

I suspect that we have somewhere to overdo with the i18n.

BTW, I found segfault solution in the process of understanding your problem:

1) LANG= mc
2) In "Confirmation" dialog select '[< Fix it >]'.
3) open any file in internal editor (by F4) or viewer (by F3) or .
4) F7 -> Enter search string: "bla-bla"
5) Press 'Enter' key
6) 'profit'

http://www.midnight-commander.org/ticket/1616#comment:3

I suspect that all errors will result in one place: src/strutils*

WBR, Slavaz.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkquwyEACgkQb3oGR6aVLpqElACgg0pYnfw7s0wmD2xx+Jbc7rhg
ov8AoIW0Ksigb4WqyClLWyNETrJbbmg0
=efcq
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]