segfaulting is bad, see debug log and backtrace Reproducible: Always Steps to Reproduce: see debug log
Debug log: ulario@warfang 3 kotaka $ mcedit kotaka.dgd Directory /tmp/mc-ulario is not owned by you Segmentation fault (core dumped) ulario@warfang 3 kotaka $ gdb mcedit core GNU gdb (Gentoo 7.5.1 p2) 7.5.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mcedit...Reading symbols from /usr/lib/debug/usr/bin/mc.debug...done. done. [New LWP 18380] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". bCore was generated by `mcedit kotaka.dgd'. Program terminated with signal 11, Segmentation fault. #0 0x08097a6c in vfs_path_from_str_flags () (gdb) bt #0 0x08097a6c in vfs_path_from_str_flags () #1 0x08097c94 in vfs_path_from_str () #2 0x08083206 in mc_mkstemps () #3 0x08082dde in mc_tmpdir () #4 0x0805505f in main () (gdb)
Created attachment 350930 [details] emerge --info
Thanks for the report. Opened an upstream ticket, see URL field in this bug.
Created attachment 350994 [details, diff] 3021_segfault_unowned_temp_dir.diff Please find attached a patch from the upstream bug. Please test and report back if it fixes the segfault.
Works
Patch added to mc-4.8.8-r1. Thanks :)