From: Vitor Hugo Nunes dos Santos <vitorhugo@teknik.io>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] x11-terms/xterm loops error upon launch
Date: Fri, 14 May 2021 23:27:21 -0300 [thread overview]
Message-ID: <0f61dd3f-d2a0-4618-72ca-fb5b7300012f@teknik.io> (raw)
In-Reply-To: <ab46d05b-c497-9db7-d327-8afd2c509140@teknik.io>
[-- Attachment #1: Type: text/plain, Size: 7960 bytes --]
On 5/10/21 9:28 PM, Vitor Hugo Nunes dos Santos wrote:
> On 5/9/21 9:08 PM, Vitor Hugo Nunes dos Santos wrote:
>>
>> Hi all,
>>
>> I just recently setup a new desktop with Gentoo.
>>
>> After the install and configuration of Xorg, I decided to 'startx'
>> and open xterm in fvwm.
>>
>> Upon pressing the button to launch it, nothing came up. When closing
>> fvwm, I saw the following message being printed ad nauseam to the screen:
>>
>> open ttydev: I/O error
>>
>> Online searches led me to inconclusive info on what could be the
>> cause and fix for the issue.
>>
>> I'd be glad to provide info as required.
>>
>> Best regards,
>>
>> vhns
>
> Hi all,
>
>
> I've decided to try another terminal emulator, in order to figure out
> whether this was an xterm issue, an issue with my setup, or an issue
> with fvwm.
>
> Launching (or trying to, rather) x11-terms/st, gives me the following
> error in dmesg:
>
> [May10 21:17] traps: st[5846] general protection fault ip:7f92d0babff6
> sp:7fffa63836a8 error:0 in libc.so[7f92d0b97000+63000]
>
> I am not sure of what may be causing this, or how to fix it. Here
> follows my emerge --info:
>
> Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.0/musl,
> gcc-10.2.0, musl-1.2.2-r2, 5.10.27-gentoovhns-desktop-iommu-r3 x86_64)
> =================================================================
> System uname:
> Linux-5.10.27-gentoovhns-desktop-iommu-r3-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-libc
> KiB Mem: 16316940 total, 15565188 free
> KiB Swap: 0 total, 0 free
> Timestamp of repository gentoo: Sun, 09 May 2021 01:00:01 +0000
> Head commit of repository gentoo: 2d5affeb067f6f193c0718bc5a9cc8eb8eef44d5
> Head commit of repository KKona: d3d3554162168f6d994d2d8b7b239bcac56072cf
>
> Timestamp of repository musl: Sat, 08 May 2021 23:20:00 +0000
> Head commit of repository musl: 151175d3c2ebf6413a0711a4bf983b838753c25c
>
> sh bash 5.0_p18
> ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
> app-shells/bash: 5.0_p18::gentoo
> dev-lang/perl: 5.30.3::gentoo
> dev-lang/python: 3.8.9_p2::gentoo, 3.9.4_p1::gentoo
> dev-util/cmake: 3.18.5::gentoo
> sys-apps/baselayout: 2.7::gentoo
> sys-apps/openrc: 0.42.1-r1::gentoo
> sys-apps/sandbox: 2.22::gentoo
> sys-devel/autoconf: 2.69-r5::gentoo
> sys-devel/automake: 1.16.2-r1::gentoo
> sys-devel/binutils: 2.35.2::gentoo
> sys-devel/gcc: 10.2.0-r5::gentoo
> sys-devel/gcc-config: 2.4::gentoo
> sys-devel/libtool: 2.4.6-r6::gentoo
> sys-devel/make: 4.3::gentoo
> sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
> sys-libs/musl: 1.2.2-r2::gentoo
> Repositories:
>
> gentoo
> location: /var/db/repos/gentoo
> sync-type: rsync
> sync-uri: rsync://rsync.gentoo.org/gentoo-portage
> priority: -1000
> sync-rsync-verify-max-age: 24
> sync-rsync-extra-opts:
> sync-rsync-verify-jobs: 1
> sync-rsync-verify-metamanifest: yes
>
> KKona
> location: /var/db/repos/KKona
> sync-type: git
> sync-uri: git://github.com/absurdsec/gentoo-overlay.git
> masters: gentoo
>
> musl
> location: /var/db/repos/musl
> sync-type: git
> sync-uri: https://github.com/gentoo-mirror/musl.git
> masters: gentoo
>
> vhns
> location: /var/db/repos/vhns
> masters: gentoo
>
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="*"
> CBUILD="x86_64-gentoo-linux-musl"
> CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
> CHOST="x86_64-gentoo-linux-musl"
> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
> /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
> CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
> DISTDIR="/var/cache/distfiles"
> ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH
> PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT
> XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
> FCFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
> FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
> config-protect-if-modified distlocks ebuild-locks fixlafiles
> ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox
> preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms
> strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
> userpriv usersandbox usersync xattr"
> FFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
> GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/"
> INSTALL_MASK="charset.alias locale.alias"
> LANG="C.UTF8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> MAKEOPTS="-j8"
> PKGDIR="/var/cache/binpkgs"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
> --omit-dir-times --compress --force --whole-file --delete --stats
> --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
> --exclude=/packages --exclude=/.git"
> PORTAGE_TMPDIR="/var/tmp"
> USE="X acl amd64 bzip2 cli crypt dri elogind iconv ipv6 libglvnd
> libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr
> ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018"
> ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
> emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
> intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
> APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions
> alias auth_basic authn_alias authn_anon authn_dbm authn_default
> authn_file authz_dbm authz_default authz_groupfile authz_host
> authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
> deflate dir disk_cache env expires ext_filter file_cache filter
> headers include info log_config logio mem_cache mime mime_magic
> negotiation rewrite setenvif speling status unique_id userdir
> usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words"
> COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
> CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand
> sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="musl"
> GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
> gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver
> oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing
> tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux"
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
> ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
> presenter-minimizer" LLVM_TARGETS="X86 AMDGPU"
> LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1"
> OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4"
> POSTGRES_TARGETS="postgres10 postgres11"
> PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8"
> RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi
> radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options
> ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal
> rawnat logmark ipmark dhcpmac delude chaos account"
> Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL,
> LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
> PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
>
> I will continue with my attempts on fixing this. If I do find a fix,
> I'll be sure to post. If anyone has any tips, I'd be more than thankful.
>
> Best regards,
>
> vhns
>
Ok, the "segfault" errors were due to a faulty stick. Now replaced. I
rebuilt every package in the system. I no longer get segfaults. But I
still get the same message in xterm and st throws no errors but just
like xterm it doesn't open.
[-- Attachment #2: Type: text/html, Size: 10368 bytes --]
prev parent reply other threads:[~2021-05-15 2:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 0:08 [gentoo-user] x11-terms/xterm loops error upon launch Vitor Hugo Nunes dos Santos
2021-05-10 13:48 ` Dr Rainer Woitok
2021-05-11 0:28 ` Vitor Hugo Nunes dos Santos
2021-05-11 6:56 ` Walter Dnes
2021-05-15 2:27 ` Vitor Hugo Nunes dos Santos [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0f61dd3f-d2a0-4618-72ca-fb5b7300012f@teknik.io \
--to=vitorhugo@teknik.io \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox