New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28785 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

Blackbox @0.70.1 crashes in XQuartz 2.6.1 (xorg-server 1.9.3.902) when LC_CTYPE or LANG is set to some UTF8 value

Reported by: Peter_Dyballa@… Owned by: pmq@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: jeremyhu@…
Port: blackbox

Description

The processes created by the X.org Server, for example X clients mentioned in ~/.xinitrc.d/50-clients.sh, inherit only a minimal environment. This is a rather uncomfortable situation since GNU Emacsen need LC_CTYPE or LANG set to some UTF8 value to function correctly. When I add to that script lines like

export LANG=$(defaults read "${HOME}/.MacOSX/environment" LANG)
export LC_CTYPE=$(defaults read "${HOME}/.MacOSX/environment" LC_CTYPE)

it makes blackbox crash, which is launched from ~/.xinitrc.d/98-blackbox.sh:

echo "98-Blackbox WM"
[[ -x /opt/local/bin/blackbox ]] && exec /opt/local/bin/blackbox
[[ -x /sw/bin/blackbox ]] && exec /sw/bin/blackbox
[[ -x ~/Quellen/blackbox-0.70.1/src/blackbox ]] && exec ~/Quellen/blackbox-0.70.1/src/blackbox

Attachments

blackbox_2011-03-12-171139_Latsche.crash (4.1 KB) - added by Peter_Dyballa@… 2 years ago.
Log from latest crash

Change History

Changed 2 years ago by Peter_Dyballa@…

Log from latest crash

comment:1 Changed 2 years ago by jeremyhu@…

  • Owner changed from macports-tickets@… to pmq@…

comment:2 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to duplicate

The stack is the same as #24535 (which makes this the third duplicate you've filed).

Note: See TracTickets for help on using tickets.