stackdump file

hi, im new to c++, and im supposed to make a list from files. I have the files already filled in with some structures, but i cant fill the list.

TNodo is a node of the list, TCorreo is the structure type and litacorreos is the pointer of the node.



I have the function to fill the list called:

LlenarArchivosConListaCorreos(struct TNodo<TCorreo> *listaCorreos)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  void LlenarListaCorreosConArchivos(struct TNodo<TCorreo> *listaCorreos){
    struct TCorreo regCorreo;
    ifstream arch("correos.reg",ios::in | ios::binary);

    if(arch){
        while (!arch.eof()) {
            if (arch.read((char*)&regCorreo,sizeof(TCorreo))){
                InsertarFinal(&listaCorreos,regCorreo);

            }
        }
    }
    arch.close();

}


and here is the stackdump file (I dont know what it is)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Exception: STATUS_ACCESS_VIOLATION at rip=00100401EB9
rax=0000000000000000 rbx=000000000022AAC0 rcx=000000000022A3F0
rdx=0000000000000000 rsi=0000000600028C80 rdi=000000000022AB2A
r8 =0000000000229B6C r9 =0000000180137D00 r10=0000000000230000
r11=000000057B1CF487 r12=0000000000000001 r13=0000000000000000
r14=0000000000000000 r15=000000000022AB2A
rbp=000000000022AAB0 rsp=000000000022AA30
program=C:\Users\DavidP\Dropbox\Proyecto\ProyectoCorreos\ProyectoCorreos\main.exe, pid 4196, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
0000022AAB0  00100401EB9 (0000022AAC0, FF0700010302FF00, 001800482EA, 00000000000)
0000022AB80  0018004835B (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  001800461BB (303030303130, 00000000000, 00000000000, 00000000000)
00000000000  0018004631E (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  00100402191 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  00100401010 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  00076FB652D (00000000000, 00000000000, 00000000000, 00077039300)
00000000000  000770EC541 (00000000000, 00000000000, 00000000000, 00077039300)
End of stack trace
Is this from your job?

lol
Is for my project.
Topic archived. No new replies allowed.