Opened 14 years ago

Closed 14 years ago

#28785 closed defect (duplicate)

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: ballapete (Peter "Pete" Dyballa) Owned by: pmq@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
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 (1)

blackbox_2011-03-12-171139_Latsche.crash (4.1 KB) - added by ballapete (Peter "Pete" Dyballa) 14 years ago.
Log from latest crash

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by ballapete (Peter "Pete" Dyballa)

Log from latest crash

comment:1 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

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

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

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

Note: See TracTickets for help on using tickets.