logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 24-10-2019 16:19:49

David5647
Membre
Distrib. : Debian Sid
Noyau : 5.15.0-2-amd64
(G)UI : i3wm + des bouts de kde
Inscription : 27-08-2017

[Résolu] c'est quoi ce fichier (dans user space)? core

Bonjour!

J'ai un fichier qui apparaît régulièrement dans mon home,
il vient apparemment de firefox, mais je me demande ce qu'il peut contenir avec une taille si imposante....

ls -lh ~ | grep core


-rw------- 1 david david 672M oct.  23 22:04 core


file core


core: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from '/usr/lib/firefox-esr/firefox-esr -contentproc -childID 2 -isForBrowser -intPref', real uid: 1000, effective uid: 1000, real gid: 1000, effective gid: 1000, execfn: '/usr/lib/firefox-esr/firefox-esr', platform: 'x86_64'



cela pourrait être un "rapport de crash" mais je n'ai pas vraiment compris...
juste pour un peu de culture perso...

Dernière modification par David5647 (25-10-2019 17:43:47)

Hors ligne

#2 25-10-2019 10:56:55

Herbert west
Membre
Distrib. : stable 64 mise a jour regulièrement
Noyau : mise a jour toutes les semaines :amd64
(G)UI : gnome 3
Inscription : 17-05-2012

Re : [Résolu] c'est quoi ce fichier (dans user space)? core

salut
ça vient pas plutot de snap?

[I72600k / radeonhd 6870 /asus p8p67 pro b3/syncmaster 3D Samsung 23p displayport ]
[ hp spectre x360 i5 ] / [ raspbery pi 1.2 ] / [ 2 fixes core 2duo de recup ]
" Y a t il un sous-sol dans votre appartement ? "

Hors ligne

#3 25-10-2019 13:44:19

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : [Résolu] c'est quoi ce fichier (dans user space)? core

A core dump is a file containing a process's address space (memory) when the process terminates unexpectedly. Core dumps may be produced on-demand (such as by a debugger), or automatically upon termination. Core dumps are triggered by the kernel in response to program crashes, and may be passed to a helper program (such as systemd-coredump) for further processing. A core dump is not typically used by an average user, but may be passed on to developers upon request where it can be invaluable as a post-mortem snapshot of the program's state at the time of the crash, especially if the fault is hard to reliably reproduce.


et

from '/usr/lib/firefox-esr/firefox-esr



Je crois que ça répond à la question ? ^^'


virtue_signaling.pngpalestine.png

En ligne

#4 25-10-2019 17:30:01

David5647
Membre
Distrib. : Debian Sid
Noyau : 5.15.0-2-amd64
(G)UI : i3wm + des bouts de kde
Inscription : 27-08-2017

Re : [Résolu] c'est quoi ce fichier (dans user space)? core

ça répond à la question tongue
et je m'aperçois qu'effectivement il y a un man pour "core"
j'étais parti sur elf = executable file, ça m'a mis sur une mauvaise piste,
mais man elf (qui existe aussi et je m'aperçois par le fait qu'il n'y a pas des entrées du manuel que pour des commandes, ce qui est logique... lol)  est clair aussi là-dessus

man elf


       The header file <elf.h> defines the format of ELF executable binary files.
       Amongst these files are normal executable files, relocatable object files,
       core files, and shared objects.

       An  executable  file  using the ELF file format consists of an ELF header,
       followed by a program header table or a section  header  table,  or  both.
       The  ELF  header is always at offset zero of the file.  The program header
       table and the section header table's offset in the file are defined in the
       ELF  header.   The  two tables describe the rest of the particularities of
       the file.

       This header file describes the above mentioned headers as C structures and
       also  includes  structures  for  dynamic sections, relocation sections and
       symbol tables.

 



Merci !

Dernière modification par David5647 (25-10-2019 17:31:03)

Hors ligne

Pied de page des forums