Re: [oi-dev] Opening executable with write flags

2025-07-14 Thread Paul Floyd via oi-dev
On 7/14/25 22:32, Till Wegmüller wrote: Hi mdb is not just for the kernel but for all programs. Can I ask you to contact the kernel devs under https://illumos.topicbox.com/groups/developer or via mail under develo...@lists.illumos.org I'll subscribe to that list as well, thanks. A+ Pau

Re: [oi-dev] Opening executable with write flags

2025-07-14 Thread Paul Floyd via oi-dev
On 7/14/25 23:21, Alan Coopersmith via oi-dev wrote: As https://lwn.net/Articles/866493/ pointed out a few years ago, you can't even really rely on it on Linux, and it's been mostly pointless since the advent of shared libraries. I'm only interested in the case of the initial executable. I

Re: [oi-dev] Opening executable with write flags

2025-07-14 Thread Paul Floyd via oi-dev
On 7/14/25 18:34, Till Wegmüller wrote: Hi Paul Have you tried mdb? We have our own debug data format called CTF and depending on how you compiled your file the DWARF data may be stripped from the binary. If you want a stacktrace from mdb you can type ::stack For more detailed usage of mdb

[oi-dev] Opening executable with write flags

2025-07-14 Thread Paul Floyd via oi-dev
Hi I'm working on an issue related to an exe opening its own binary file with flags like O_WRONLY|O_CREAT|O_TRUNC. Any writing is going to be bad, and truncation even worse. On FreeBSD and Linux this is not allowed. 'open' will fail and set errno to ETXTBSY. I haven't yet tried this on Sol

[oi-dev] Valgrind 3.25 RC1

2025-04-18 Thread Paul Floyd via oi-dev
Hi Valgrind 3.25 will be out soon. The announcement for RC1 is below. After the release I'll try making a pull request for https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/developer/valgrind None of the patches will be needed - they have all either been merged or do nothi

Re: [oi-dev] Valgrind

2025-03-11 Thread Paul Floyd via oi-dev
On 15-02-25 08:50, Paul Floyd via oi-dev wrote: I'll be asking more questions as I try to clean up more of the outstanding issues. == 920 tests, 43 stderr failures, 5 stdout failures, 1 stderrB failure, 5 stdoutB failures, 0 post failures == Probably the most interesting bit is t

Re: [oi-dev] Valgrind

2025-02-15 Thread Paul Floyd via oi-dev
On 15-02-25 08:50, Paul Floyd via oi-dev wrote: I'll be asking more questions as I try to clean up more of the outstanding issues. My first question isn't a Valgrind question, it's a testcase that's problematic. The source file is here https://sourceware.org/git/?p

Re: [oi-dev] Valgrind

2025-02-15 Thread Paul Floyd via oi-dev
On 15-02-25 18:58, s...@telenet.be wrote: valgrind can run the OpenSmalltalk (a dialect or fork of Squeak) interpreter on OpenIndiana. I reported a bug (not sure this is really a bug) for it #17199. This relates to https://illumos.org/man/7/epoll because epoll can be enabled for OpenSma

Re: [oi-dev] OT: Valgrind for sparcv9 - was: Re: Valgrind

2025-02-15 Thread Paul Floyd via oi-dev
On 15-02-25 15:09, John Paul Adrian Glaubitz wrote: Slightly off-topic, but does anyone have a copy of the Valgrind git repository which contains the port to sparcv9? Try asking Ivo Raisr or Petr Pavlu Ivo Raisr Petr Pavlu (maybe try petr.pavlu instead of setup for Petr). A+ Paul

Re: [oi-dev] Valgrind

2025-02-15 Thread Paul Floyd via oi-dev
On 15-02-25 11:33, Till Wegmüller wrote: Hey Paul Looking forward to your contribution. Here is the documentation for Packaging your Valgrind port. https://docs.openindiana.org/dev/userland/ #a-component-usually-consists-of-several-files If you need a Vagrant box I Maintain those :) Hi P

Re: [oi-dev] Valgrind

2025-02-15 Thread Paul Floyd via oi-dev
On 15-02-25 10:01, Andreas Wacknitz via oi-dev wrote: Phantastic, welcome to OpenIndiana and illumos! I'm not exactly new to OpenIndiana. I used Solaris SPARC as my main work machine for about 15 years and my main home machine (amd64) for a bit longer. These days it's Linux at work and ma

[oi-dev] Valgrind

2025-02-14 Thread Paul Floyd via oi-dev
Hi Just joined the list, and by coincidence I saw Am 12.01.25 um 10:48 schrieb Cedric Blancher: > Good morning! > > Does OpenIndiana have a valgrind package? Illumos/x86-64 is supported > by valgrind > > Ced ╰─➤ pkg list -a|grep valgrind developer/debug/valgrind 3.22.0-2023.0.0.0 ---