Summary: | KDM/XDM + FreeBSD-4.1 generates weird problems. | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Unknown <null> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | CLOSED FIXED | ||
Severity: | grave | ||
Priority: | NOR | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
pschmied
2000-09-19 05:24:44 UTC
I experienced a similar problem on my FreeBSD 4.1.1 system with XFree86 4.0.1. kwrited crashes upon startup with a SIGABRT; the same thing happens if konsole or konqueror are started from the klicker. The crashes occur when the programs are run without being attached to a terminal for instance from an .xsession file. When kwrited konsole or konqueror are started from an xterm they run without problems. The crashes trace to TEPty::makePty. Specifically the abort() is triggered on lines 438 and 439 of TEPty.C: if (! (str_ptr=ttyname(0)) ) { abort(); The crashes went away when I made the following substitution: if (! (str_ptr=ttyname(fd)) ) { abort(); I have no idea what this breaks but it solves my problem. The utmp stuff doesn't work at all under FreeBSD so perhaps it would be better to just comment out this part in FreeBSD for now if this substitution produces incorrect behaviour. This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C0CF5E.4067BDF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Trying to clean up the bug logs a bit. If any of these things are still problems by all means submit a new repor= t. Chris Machemer machey@ptd.net ------=_NextPart_000_001F_01C0CF5E.4067BDF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Trying to clean up the bug logs a bit.</FO= NT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>If any of these things are still problems= by all=20 means submit a new report.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Chris Machemer</FONT></DIV> <DIV><FONT face=3DArial size=3D2><A=20 href=3D"mailto:machey@ptd.net">machey@ptd.net</A></FONT></DIV> <DIV> </DIV></BODY></HTML> ------=_NextPart_000_001F_01C0CF5E.4067BDF0-- |