Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2023 22:48:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274163] multimedia/arcan: Stack overflow when trying to start appl
Message-ID:  <bug-274163-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274163

            Bug ID: 274163
           Summary: multimedia/arcan: Stack overflow when trying to start
                    appl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: bugs.freebsd.org@a12l.xyz
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Disclaimer: I don't have any prior experience running FreeBSD systems.  Thi=
s is
my first FreeBSD problem report.  I've read *Writing FreeBSD Problem Report=
s*,
and follow it to the best of my abilities.

I've been a Linux user for the last decade.

There's no mention of "arcan" in `/usr/ports/UPDATING`.  There's no relevant
open or closed PRs against arcan currently in Bugzilla.

Expected behavior
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

When I run `arcan ./console` (important with no slash at the end) in
`/usr/local/share/arcan/appl` the Arcan console should show up and occupy t=
he
whole screen.

Actual behavior
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

```
/usr/local/share/arcan/appl # arcan ./console
Sep 29 [...]: stack overflow detected; terminated
```

When I try to start the Arcan console I get an error saying that a stack
overflow happened.  A `arcan.core` file was created, which I assume is a
coredump.  When I ran `gdb ./arcan.core` I get the error
```
"/usr/local/share/arcan/appl/arcan.core": not in executable format: file fo=
rmat
not recognized
```
which make me unsure if `arcan.core` is actually a coredump.  I've regardle=
ss
attached `arcan.core` with this PR.

This is not something specific to the `console` app, because I get a similar
error message when I try to start Durden (another Arcan appl).

System
=3D=3D=3D=3D=3D=3D

```
# uname -r
13.2-RELEASE-p3
```

Freshly installed FreeBSD 13.2 on a Thinkpad X230 with 16GB RAM, and on a
freshly installed FreeBSD system in a KVM/QEMU VM (much more constrained
hardware wise).  Both automatically partitioned with ZFS by `bsdinstall(8)`=
.=20
Installation done with all available security features listed by
`bsdinstall(8)`.  The only non-base applications installed is `arcan`,
`durden`, `kakoune`, `ripgrep`, `bfs`, `gdb`; installed using `pkg install`=
.=20
Everything executed as root, simply because I haven't yet created a separate
user account.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274163-7788>