debug

  1. K

    Kernel debugging problems

    Hello. I am a computer science student and picked modifying the netgraph module from the FreeBSD kernel as my thesis. I have quite some trouble setting up my kernel debugging procedure. I have a virtual machine running with quemu, and I am trying to debug using gdb from linux. I run the...
  2. JamesElstone

    Solved printf statements in kernel, silly question...

    Hi All, I noticed in /usr/src/sys/nfs/bootp_subr.c there are a large number of printf statements. For example printf("Interface list:\n"); I have never really looked at the kernel code much before, and a thought occured to help me work out what is going wrong with my other current issue. Silly...
  3. F

    Change of performance between FSB 12.3 and FSB14 - Same application, very different behaviors.

    Hello everyone, I am looking for some way to DEBUG a performance problem. Background: Back in 2021 I have compiled an application called E2Guardian on a FSB 12.3 box, using Openssl-111 - The performance was amazing. No complains at all. Now using FSB 14, the same application is consuming too...
  4. nicogoldman22

    Kernel panics when given a high workload

    Hello! Good Monday to all the FreeBSD community. I am working on the FreeBSD kernel for my university thesis. The idea is to make changes to the FreeBSD short-time scheduler so that all its operations are based on the concept of Petri Nets. We already have the modeling of said scheduler and the...
  5. _martin

    Debug symbols for binary packages

    Does FreeBSD support download of debugging symbols for binary packages installed via pkg? I can't find any information about that nor can I find any packages with those symbols. I'm heavy ports user but recently I wanted to debug something quickly and wanted to avoid building in myself from ports.
  6. qiu3344

    Solved Problems with getting a crash dump

    Hello, I am currently using FreeBSD 14.0-CURRENT and I found a bug that triggers a kernel panic. I wanted to make a kernel crash dump to further investigate the issue, but after a few tries I still did not manage to do it. I started by following the instructions in the FreeBSD Handbook. I check...
  7. F

    Solved Core dumps on my /home/username/ !??!?

    Ok so FreeBSD secures memory and makes unreadable to non-root users. But by default FreeBSD comes with "ulimit = unlimited" and I think that can cause to make normal users be able to read other apps memories. No code execution maybe but core dumps can include special informations about...
  8. K

    Dump/pass memory, cpu...

    Hi There, I’m thinking about debugging data for whole system/PC. I try to get all data that runs on PC to send it to another PC live to debug. I know there Is possibility to dump memory or debug program/proces, but I would read whole data. I know that it will be bit difficult, because it needs...
  9. Leo L.

    Solved Zombie process : How to effectively track the cause ?

    Hi there, Since two weeks, one of my services (plexmediaserver) fall into zombie mode one or two times every day, forcing me to reboot the server (service plexmediaserver restart doesn't work in that case). Apart Plex, everything's still working fine on the server when Plex crashes. Before...
  10. J

    unknown type name intrmask_t when include sys/systm.h

    I am new to freebsd, just imported #include <sys/systm.h> errors Not find uintfptr_t Intrmask_t definitions, Do yall know what else I need to include or change? n file included from main.c:4: /usr/include/sys/systm.h:419:39: error: unknown type name 'uintfptr_t'; did you mean...
  11. noodlefling

    how to (or not) compile debug components

    # freebsd-update upgrade -r 11.3-RELEASE Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 11.2-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Inspecting...
  12. aragats

    Other Debugging and automated testing of C# mono programs?

    Does anybody know any useful tools on the subject? I have a lang/mono application written in C# which runs fine, but it's not perfect yet. Personally I wouldn't ever use any .NET stuff, but I have to deal with this now. Maybe sometime later I'll re-write it in plain C though.
  13. Petr Fischer

    Solved FreeBSD 11.1 has begun to crash accidentally - how to debug?

    Hello, FreeBSD 11.1 (somewere after 11.1-RELEASE-p1) has begun to crash sometimes - I am on Xorg + i3 (often in a Firefox) and suddenly Xorg crashes, I can see a few lines in a console (for a fraction of a second) and then, laptop restarts. How can I find out what happened? There is nothing...
  14. A

    Solved Linux compatability, monitor files accessed by linux app

    Hello, I'm trying to use one propiertary linux application with linux-c6-6.9 on FreeBSD 11.1 amd64. Application starts, but stops shortly with error in log file: File shared access error 'v8stg://c:/1/FileStorage': ./src/storage.cpp(5013)" I have no sources and can't contact support directly...
  15. gege

    what is causing sbwait in php-fpm, how to debug

    Hi guys, we upgraded server to FreeBSD 10.3-STABLE and php-fpm during high load of server started to make strange things (take all CPU, locks, sbwait, select etc). When server is not under load, everything works perfectly top: 59 processes: 4 running, 55 sleeping CPU: 11.7% user, 0.0% nice...
  16. F

    Solved Build debug system libraries -- libc, libthr, etc.

    Hi, I'm a porting an open-source Linux-based software to FreeBSD. Since this is a fairly low-level systems software, I'd like to be able to debug into libc, libthr, and other system libraries. I set up a FreeBSD-10.2-Release system (x86-64) using the live CD, and then set up basic utilities...
  17. xoptov

    Solved ipfw0: That device doesn't support promiscuous mode

    Hello! I have very strange issue with ipfw0. My kernel has options IPFIREWALL and IPFIREWALL_VERBOSE but when I try listen ipfw0 interface see warning in my console: tcpdump: WARNING: ipfw0: That device doesn't support promiscuous mode (BIOCPROMISC: Invalid argument) What is I can fix for...
  18. sgeos

    HOWTO: Debug AMD64 ASM in gdb

    There is not a lot of documentation on writing working AMD64 assembler for FreeBSD. For some reason I have been compelled to look into this topic. I figured sharing might be useful. First, let us start with a C program that will do the same thing as the ASM program in almost the same way...
  19. patpro

    Solved Unbound fails to resolve some hostnames

    I'm running a FreeBSD 10.1-RELEASE email server that uses unbound (from base system) as caching/forwarding DNS server. /etc/resolv.conf points to 127.0.0.1, and unbound config forwards to DNS servers on my LAN. Config is default. Almost any domain name will properly resolve: # drill...
Back
Top