On Wed, May 16, 2012 at 10:36:43PM +0200, Miklos Szeredi wrote: > > > > Hi, > > > > Please find the strace attached. > > Thanks. > > Still I have no clues, the EEXIST error is not seen in any of the system > calls and I can't see fopen returning EEXIST for any reason. > > Can you try ltrace as well? Though I don't have high hopes of that > revealing anything...
Hi, Please find the ltrace outuput attached.
strlen("Notes OM concernant Cala Rossa 1"...) = 38 malloc(39) = 0x023b1d10 memcpy(0x023b1d10, "Notes OM concernant Cala Rossa 1"..., 39) = 0x023b1d10 wmove(0x020e12b0, 79, 0) = 0 wclrtoeol(0x20e12b0, 79, 0, 0, 0x23b1d00) = 0 free(0x023b2230) = <void> free(0x023b24d0) = <void> snprintf(NULL, 4921903, "") = 38 strncpy(0x7fff64e3a3c0, "Notes OM concernant Cala Rossa 1"..., 256) = 0x7fff64e3a3c0 strchr("Notes OM concernant Cala Rossa 1"..., ':') = NULL strncpy(0x7fff64e3a4c0, "Notes OM concernant Cala Rossa 1"..., 256) = 0x7fff64e3a4c0 access("Notes OM concernant Cala Rossa 1"..., 0) = -1 dcgettext(0, 0x4b3ae8, 5, -120, 217) = 0x4b3ae8 vsnprintf(NULL, 4930280, "", 0x004b3af1) = 9 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c90, 1024, 0x7fff64e39c10, 0) = 1 iswblank(83, 0x7fff64e39c34, 83, 0x211d180, 0) = 0 iswprint(83, 0x7fff64e39c34, 83, 0x211d180, 0) = 16384 wcwidth(83, 0x7fff64e39c34, 83, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 83, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc120, "S", 1) = 0x006dc120 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c91, 1023, 0x7fff64e39c10, 0) = 1 iswblank(97, 0x7fff64e39c34, 97, 0x211d180, 0) = 0 iswprint(97, 0x7fff64e39c34, 97, 0x211d180, 0) = 16384 wcwidth(97, 0x7fff64e39c34, 97, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 97, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc121, "a", 1) = 0x006dc121 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c92, 1022, 0x7fff64e39c10, 0) = 1 iswblank(118, 0x7fff64e39c34, 118, 0x211d180, 0) = 0 iswprint(118, 0x7fff64e39c34, 118, 0x211d180, 0) = 16384 wcwidth(118, 0x7fff64e39c34, 118, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 118, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc122, "v", 1) = 0x006dc122 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c93, 1021, 0x7fff64e39c10, 0) = 1 iswblank(105, 0x7fff64e39c34, 105, 0x211d180, 0) = 0 iswprint(105, 0x7fff64e39c34, 105, 0x211d180, 0) = 16384 wcwidth(105, 0x7fff64e39c34, 105, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 105, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc123, "i", 1) = 0x006dc123 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c94, 1020, 0x7fff64e39c10, 0) = 1 iswblank(110, 0x7fff64e39c34, 110, 0x211d180, 0) = 0 iswprint(110, 0x7fff64e39c34, 110, 0x211d180, 0) = 16384 wcwidth(110, 0x7fff64e39c34, 110, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 110, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc124, "n", 1) = 0x006dc124 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c95, 1019, 0x7fff64e39c10, 0) = 1 iswblank(103, 0x7fff64e39c34, 103, 0x211d180, 0) = 0 iswprint(103, 0x7fff64e39c34, 103, 0x211d180, 0) = 16384 wcwidth(103, 0x7fff64e39c34, 103, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 103, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc125, "g", 1) = 0x006dc125 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c96, 1018, 0x7fff64e39c10, 0) = 1 iswblank(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 0 iswprint(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 16384 wcwidth(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 46, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc126, ".", 1) = 0x006dc126 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c97, 1017, 0x7fff64e39c10, 0) = 1 iswblank(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 0 iswprint(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 16384 wcwidth(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 46, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc127, ".", 1) = 0x006dc127 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c98, 1016, 0x7fff64e39c10, 0) = 1 iswblank(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 0 iswprint(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 16384 wcwidth(46, 0x7fff64e39c34, 46, 0x211d180, 0) = 1 wcrtomb(0x7fff64e39c00, 46, 0x7fff64e39c20, 0, 0) = 1 strncpy(0x006dc128, ".", 1) = 0x006dc128 mbrtowc(0x7fff64e39c2c, 0x7fff64e39c99, 1015, 0x7fff64e39c10, 0) = 0 wmove(0x020e12b0, 79, 0) = 0 waddnstr(0x020e12b0, "Saving...", -1) = 0 wclrtoeol(0x20e12b0, 46, 2072, 79, 0x21134e0) = 0 wrefresh(0x20e12b0, 0, 2304, 0, 32) = 0 strncpy(0x7fff64e38a20, "Notes OM concernant Cala Rossa 1"..., 256) = 0x7fff64e38a20 strrchr("Notes OM concernant Cala Rossa 1"..., '/') = NULL strncpy(0x7fff64e38a20, ".", 256) = 0x7fff64e38a20 snprintf(NULL, 4935274, "") = 13 mktemp(0x7fff64e38920, 0x4b4e6a, 0x7fff64e3892d, 0x4b4e6a, 0) = 0x7fff64e38920 mkdir("./.muttlcowYa", 0700) = 0 snprintf(NULL, 4935274, "") = 52 open("./.muttlcowYa/Notes OM concernan"..., 131265, 0600) = 7 close(7) = 0 link("./.muttlcowYa/Notes OM concernan"..., "Notes OM concernant Cala Rossa 1"...) = 0 __lxstat(1, "./.muttlcowYa/Notes OM concernan"..., 0x7fff64e386d0) = 0 __lxstat(1, "Notes OM concernant Cala Rossa 1"..., 0x7fff64e38760) = 0 __errno_location() = 0x7f714579b6a8 unlink("./.muttlcowYa/Notes OM concernan"...) = 0 rmdir("./.muttlcowYa") = 0 __errno_location() = 0x7f714579b6a8 strerror(17) = "File exists" vsnprintf(NULL, 4883818, "", 0x004a856b) = 31