Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ptpd needs more work #8

Open
danmcd opened this issue Jan 20, 2014 · 4 comments
Open

ptpd needs more work #8

danmcd opened this issue Jan 20, 2014 · 4 comments

Comments

@danmcd
Copy link

danmcd commented Jan 20, 2014

It doesn't even launch. The reason for this is because the getifaddrs() call on Illumos doesn't return AF_LINK addresses, which ptp2d requires. dmesg(1m) shows this clearly:

2014-01-19T15:50:05+00:00 localhost ptpd2: [ID 149225 daemon.error] could not get hardware address for interface "net0"

A patched 2.1 from Pluribus Networks has a lot of diffs, including the use of libdlpi to obtain the NIC's MAC address. I'm not sure yet if that's the best approach, but I can provide this patched 2.1 for inspection, if need be. (I may also be able to help a little immediately, and perhaps a lot more in February.)

@mamash
Copy link
Contributor

mamash commented Jan 20, 2014

Nothing was done to this package since we realized that a full porting effort (at least in the network stack area) is needed; it's literally sitting there waiting for someone with time to do it. I'd love to look at whatever you've got - and as always in general, patches welcome... ;)

@mamash mamash closed this as completed in cbd4af1 Jan 21, 2014
@danmcd
Copy link
Author

danmcd commented Jan 21, 2014

Why would you close the issue if it wasn't fixed? I mean I understand patches are welcome (I'm working on 2.3.0 as I type this), but closing without fixing seems reckless.

@mamash
Copy link
Contributor

mamash commented Jan 21, 2014

Uh. That's some Github craziness. It caught a "closes #" commit message from an entirely unrelated message.

@mamash mamash reopened this Jan 21, 2014
@danmcd
Copy link
Author

danmcd commented Jan 21, 2014

Eeeesh, sorry about that; craziness indeed.

mamash pushed a commit that referenced this issue Feb 19, 2014
CHANGES:
1.8.57
    #6, add a preview of an API
    #331, improve parse error locations for literate Haskell
1.8.56
    Remove support for GHC 6.12 and below
    #317, tone down the void hint
    #16, match not . not (and reverse . reverse etc)
    Suggest <$> instead of fmap f $ ...
    Tweak some priorities, make >=> a warn and void an error
    #3, make top of the file ANN pragmas work
    #10, add a suggestion to use unlines
    #11, add a few hints about characters
    #8, add CHANGES.txt to the Cabal package
mamash pushed a commit that referenced this issue Mar 7, 2014
changes:
1.2, 1.2.0.1
 - Merge branch 'master' of https://github.com/cmears/temporary
1.1.2.5
 - Merge pull request #8 from xich/master
   Fix for 7.8
( #8 => batterseapower/temporary#8 )
mamash pushed a commit that referenced this issue Aug 30, 2014
calibre is a ebook library management application. Its features are
divided into the following categories:

* Library Management
* Format conversion (all major ebook formats can be converted from)
* Syncing to ebook reader devices
* Fetching news from the web and converting it into ebook form
* Viewing many different ebook formats
* Giving you access to your book collection over the internet using
  just a browser

TODO:

README claims qt5-5.3.x and py-qt5-5.3.x are needed, pkgsrc contains 5.2.x.

ebook-viewer dumps core for me:

#0  0x00007f7fe3dcfca0 in JSC::Yarr::checkSyntax(WTF::String const&) () from /usr/pkg/qt5/lib/libQt5Qml.so.5
#1  0x00007f7fd9c89d5c in JSC::SyntaxChecker::Expression JSC::Parser<JSC::Lexer<unsigned short> >::parseMemberExpression<JSC::SyntaxChecker>(JSC::SyntaxChecker&) () from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#2  0x00007f7fd9c8ceba in JSC::SyntaxChecker::Expression JSC::Parser<JSC::Lexer<unsigned short> >::parseAssignmentExpression<JSC::SyntaxChecker>(JSC::SyntaxChecker&) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#3  0x00007f7fd9c8949b in JSC::SyntaxChecker::Expression JSC::Parser<JSC::Lexer<unsigned short> >::parseMemberExpression<JSC::SyntaxChecker>(JSC::SyntaxChecker&) () from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#4  0x00007f7fd9c8d8c8 in JSC::SyntaxChecker::Expression JSC::Parser<JSC::Lexer<unsigned short> >::parseAssignmentExpression<JSC::SyntaxChecker>(JSC::SyntaxChecker&) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#5  0x00007f7fd9c8ec86 in JSC::SyntaxChecker::Expression JSC::Parser<JSC::Lexer<unsigned short> >::parseExpression<JSC::SyntaxChecker>(JSC::SyntaxChecker&) () from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#6  0x00007f7fd9ca7963 in JSC::SyntaxChecker::Statement JSC::Parser<JSC::Lexer<unsigned short> >::parseExpressionOrLabelStatement<JSC::SyntaxChecker>(JSC::SyntaxChecker&) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#7  0x00007f7fd9c8fb4c in JSC::SyntaxChecker::Statement JSC::Parser<JSC::Lexer<unsigned short> >::parseStatement<JSC::SyntaxChecker>(JSC::SyntaxChecker&, JSC::Identifier const*&, unsigned int*) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#8  0x00007f7fd9ca52b7 in JSC::SyntaxChecker::SourceElements JSC::Parser<JSC::Lexer<unsigned short> >::parseSourceElements<(JSC::SourceElementsMode)1, JSC::SyntaxChecker>(JSC::SyntaxChecker&) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#9  0x00007f7fd9c8fb0e in JSC::SyntaxChecker::Statement JSC::Parser<JSC::Lexer<unsigned short> >::parseStatement<JSC::SyntaxChecker>(JSC::SyntaxChecker&, JSC::Identifier const*&, unsigned int*) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#10 0x00007f7fd9c8f802 in JSC::SyntaxChecker::Statement JSC::Parser<JSC::Lexer<unsigned short> >::parseForStatement<JSC::SyntaxChecker>(JSC::SyntaxChecker&) () from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#11 0x00007f7fd9c8fce5 in JSC::SyntaxChecker::Statement JSC::Parser<JSC::Lexer<unsigned short> >::parseStatement<JSC::SyntaxChecker>(JSC::SyntaxChecker&, JSC::Identifier const*&, unsigned int*) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#12 0x00007f7fd9c8ffcf in JSC::SyntaxChecker::SourceElements JSC::Parser<JSC::Lexer<unsigned short> >::parseSourceElements<(JSC::SourceElementsMode)0, JSC::SyntaxChecker>(JSC::SyntaxChecker&) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#13 0x00007f7fd9ca4cb2 in bool JSC::Parser<JSC::Lexer<unsigned short> >::parseFunctionInfo<(JSC::FunctionRequirements)0, false, JSC::SyntaxChecker>(JSC::SyntaxChecker&, JSC::Identifier const*&, JSC::SyntaxChecker::FormalParameterList&, JSC::SyntaxChecker::FunctionBody&, unsigned int&, unsigned int&, int&, unsigned int&) () from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#14 0x00007f7fd9c88f18 in JSC::SyntaxChecker::Expression JSC::Parser<JSC::Lexer<unsigned short> >::parseMemberExpression<JSC::SyntaxChecker>(JSC::SyntaxChecker&) () from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#15 0x00007f7fd9c8ceba in JSC::SyntaxChecker::Expression JSC::Parser<JSC::Lexer<unsigned short> >::parseAssignmentExpression<JSC::SyntaxChecker>(JSC::SyntaxChecker&) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#16 0x00007f7fd9c8e542 in JSC::SyntaxChecker::Statement JSC::Parser<JSC::Lexer<unsigned short> >::parseVarDeclaration<JSC::SyntaxChecker>(JSC::SyntaxChecker&) () from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#17 0x00007f7fd9c8fcd5 in JSC::SyntaxChecker::Statement JSC::Parser<JSC::Lexer<unsigned short> >::parseStatement<JSC::SyntaxChecker>(JSC::SyntaxChecker&, JSC::Identifier const*&, unsigned int*) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#18 0x00007f7fd9c8ffcf in JSC::SyntaxChecker::SourceElements JSC::Parser<JSC::Lexer<unsigned short> >::parseSourceElements<(JSC::SourceElementsMode)0, JSC::SyntaxChecker>(JSC::SyntaxChecker&) ()
   from /usr/pkg/qt5/lib/libJavaScriptCore.so.1
#19 0x00007f7fd9c91c5d in bool JSC::Parser<JSC::Lexer<unsigned short> >::parseFunctionInfo<(JSC::FunctionRequirements)0, false, JSC::ASTBuilder>(JSC::ASTBuilder&, JSC::Identifier const*&, JSC::ASTBuilder::FormalParameterList&, JSC::ASTBuilder::FunctionBody&, unsigned int&, unsigned int&, int&, unsigned int&) () from /usr/pkg/qt5/lib/libJavaScriptCore.so.1

Side effect of the above?
mamash pushed a commit that referenced this issue Apr 11, 2015
2013/03/16 1.2.1 N/A Fix strings-as-symbols support (really).
---------- --------- ------ ----------------------------------------------------
2013/03/16 1.2 N/A Fix strings-as-symbols support; fix end of function
marking; add the ability to only run the indexer;
remove the threading support that was broken.
---------- --------- ------ ----------------------------------------------------
2012/10/01 1.1 N/A Fix Python3 support; enhance unit tests to run using
nose, generating coverage by default; fix broken
unit tests that were not properly run before the
switch to nose; add contrib area containing the
pyxcscope integration for (X)Emacs.
---------- --------- ------ ----------------------------------------------------
2012/09/20 1.0 N/A Call it 1.0; update to use setuptools; drop .py from
installed script name; transition authorship from
Dean Hall to Peter Portante.
---------- --------- ------ ----------------------------------------------------
2012/09/19 0.3e-pajp N/A Fix issues #7 and #8: we now properly handle symbols
closest to the assignment itself (rather than the
first one), and replace the crazy comma counting
method with a more stable pattern recognition method
that explicitly records which tuples should receive
the assignment mark; fixed handling of import state-
ments of the form, "from . import moda"
---------- --------- ------ ----------------------------------------------------
2012/09/18 0.3d-pajp N/A Implement debugging help from Issue #9: dumpCst now
works on subtrees of tuples, not just lists.
---------- --------- ------ ----------------------------------------------------
2012/09/17 0.3c-pajp N/A First pass fix of Issue #6 removing errant assertion
thus allowing symbol assignment marking to work as
coded (if not correctly, see Issue #7).
---------- --------- ------ ----------------------------------------------------
2012/09/11 0.3b-pajp N/A Include changes from fspeech to get it working for
Python 3; add proper support for yield expression
following an augmented assignment; added support
for filename and line numbers when assertions fire;
fixed handling of commas on the left hand side of
assignment statements; gracefully handle errors
opening files.
GitHub issues: #5
---------- --------- ------ ----------------------------------------------------
2012/04/29 0.3a-pajp N/A (NOTE: Failed to update version!)
Fix handling of DOS style line endings.
GitHub issues: #4
---------- --------- ------ ----------------------------------------------------
2012/04/13 0.3a-pajp N/A (NOTE: Failed to update version!)
Fix handling of function definition decorators
GitHub issues: #2, #3
---------- --------- ------ ----------------------------------------------------
2012/03/11 0.3a-pajp N/A (NOTE: Failed to update version!)
Change references from abstract syntax tree to
concrete syntax tree; fix handling of trailing
commas.
---------- --------- ------ ----------------------------------------------------
2012/03/05 0.3a-pajp N/A Updated changes to support symbol assignment,
enhance unit test coverage, prepare code for PyCon
poster session.
jperkin pushed a commit that referenced this issue Dec 30, 2017
Lists below only mention user-visible changes, but I would also like to
acknowledge contributions from the following people: Alok Singh, Carno, Jonas
Karlsson, Kamil Wsół, Mike Crute, Niels Kobschätzki, and maiki.

- HTML anchors for all config commands in docs. You can now link to each command
    separately (#10) (Lysander Trischler)
- Support for Inoreader (Bart Libert)
- Slovak translation (František Hájik)

- Enqueue *last* audio enclosure
    (akrennmair/newsbeuter#604)
- `text-width` doesn't apply if it's bigger than terminal width
    (akrennmair/newsbeuter#602)
- Translations: German (Lysander Trischler), Russian, Ukrainian
    (Alexander Batischev)

- Build dependency on Perl (#6)
- Test dependency on bc (Nikos Tsipinakis)

- Do not create XDG data dir if not using XDG (#8)
- When used with Newsblur, check on startup if cookie-cache exists or can be
    created, because integration doesn't work without cookies (#13)
- Builds on AARCH64 and ARMHF (#43)
- Only show an error message once when unknown option is supplied
    (Lysander Trischler)
- License header used to say it's MIT/X Consortium License, whereas in reality
    it's a MIT License (discovered by Nikos Tsipinakis)
- Cross-compilation made possible by conditionally assigning to RANLIB and AR in
    Makefile (Fredrik Fornwall)
- Cookies actually get persisted (Simon Schuster, reported and tested by Håkan
    Jerning)
- CJK text is wrapped at correct code-point boundaries (#71) (nmtake)
- Don't segfault if `error-log` points to non-existent file (Simon Schuster)
- Spanish translation (José Manuel García-Patos)
jperkin pushed a commit that referenced this issue Jan 13, 2018
MSan with ps(1) breaks now in non-kvm(3) code.

$ ./ps
Uninitialized bytes in __interceptor_strcmp at offset 0 inside [0x71a000000008, 5)
==7197==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x7c5d7db0b373  (/lib/libc.so.12+0x10b373)
    #1 0x7c5d7db0bdf9 in _sysctlgetmibinfo (/lib/libc.so.12+0x10bdf9)
    #2 0x7c5d7daaa359 in _sysctlbyname (/lib/libc.so.12+0xaa359)
    #3 0x7c5d7daa65b6 in getdevmajor (/lib/libc.so.12+0xa65b6)
    #4 0x7c5d7daa0083  (/lib/libc.so.12+0xa0083)
    #5 0x7c5d7ea06ccd in pthread_once (/usr/lib/libpthread.so.1+0x6ccd)
    #6 0x7c5d7daa00cb in devname_r (/lib/libc.so.12+0xa00cb)
    #7 0x7c5d7daa0309 in __devname50 (/lib/libc.so.12+0xa0309)
    #8 0x49875e in tname /public/src.git/bin/ps/print.c:725:32
    #9 0x4a9bdf in main /public/src.git/bin/ps/ps.c:467:5
    #10 0x419ffa in ___start (/public/src.git/bin/ps/./ps+0x419ffa)

SUMMARY: MemorySanitizer: use-of-uninitialized-value (/lib/libc.so.12+0x10b373)
Exiting

Sponsored by <The NetBSD Foundation>
jperkin pushed a commit that referenced this issue Sep 28, 2020
Announcement:

Time for another release!

A few things prompted this, but the start of it was when we wanted
to include a Japanese translation by maruhiro-ver0 (#8), as well
as to improve gamepad usage and support (#7). So, yeah, this version
includes said Japanese translation and improved gamepad support!

Along the way, we also made the following changes:

Adjusted in-mission dialogs to match the dialogs' timing (with one
exception, the first Kline encounter, so as not to mess with music
cues there).  Made it so that, during the Kline fight in Classic
difficulty, Kline's health goes to the health levels of respective
stages when stage changes. This is done to simulate the behavior
of the original, where Kline actually had four separate health bars
that didn't bleed into each other.  Fixed a bug in rendering of
Unicode text which allowed multi-byte Unicode characters to be
split into multiple parts. (#9)
jperkin pushed a commit that referenced this issue Aug 23, 2021
2.1.1   2021-04-04
        - Makefile: fix undefined references with static builds (#19)

2.1.0   2020-02-11
        - Makefile: use "-f" with prove always (to show failed tests) (#13)
        - Stop searching in further dirs on errors except ENOENT #12
        - Makefile: do not rebuild t/static_%.c with updated gen-static-test
        - Add CMakeLists.txt and support for MSVC (#3)
        - Relax checks for extended capability to support new format (#5)
        - Makefile: use -Og with DEBUG=1 (#7)
        - unibi_from_mem: fix [clang-analyzer-deadcode.DeadStores] (#8)
        - Makefile: revisit regenerate-tests rule (#6)
        - unibi_from_term: handle $TERMINFO as curses does #2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants