[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

Tusooa Zhu bugzilla_noreply at kde.org
Thu Feb 4 13:00:55 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=432406

--- Comment #5 from Tusooa Zhu <tusooa at vista.aero> ---
I used the following code to override ucnv_getDefaultName() to call
std::terminate() and thus allow us to get a backtrace:

```
#include <exception>

extern "C" const char *ucnv_getDefaultName(void)
{
    std::terminate();
    return "";
}
```

Compile it with `g++ ucnv-override.cpp -shared -fPIC -o ucnv-override.so` and
set LD_PRELOAD=/path/to/ucnv-override.so , we get two backtraces: one with
system dolphin and kio, another with those I compiled with debugging symbols.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list