[#3883] ftp server crash after connetion or chdir with MidnightCommander4.6.1

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#3883] ftp server crash after connetion or chdir with MidnightCommander4.6.1

Submitted By: Jiri Beranek

Open Date

2008-02-02 06:40:32    

Priority:

Medium     Assignee:

Nobody

Status:

Open     Fixed In Release:

N/A

Found In Release:

N/A     Release:

svn Revision: 6166

Category:

Networking     Board:

STAMP

Processor:

BF537     Silicon Revision:

0.2

Is this bug repeatable?:

Yes     Resolution:

N/A

Uboot version or rev.:

svn Revision: 1134     Toolchain version or rev.:

svn Revision: 2170

App binary format:

N/A     

Summary: ftp server crash after connetion or chdir with MidnightCommander4.6.1

Details:

 

After I connect to my board by ftp protocol with MidnightCommander4.6.1 or if change directory, ftp server crash with this error:

 

Data access misaligned address violation                                       

- Attempted misaligned data memory or data cache access.                      

Deferred Exception context                                                     

CURRENT PROCESS:                                                               

COMM=ftpd PID=280                                                              

TEXT = 0x03100040-0x03110780  DATA = 0x03110784-0x031155a4                     

BSS = 0x031155a4-0x03127814   USER-STACK = 0x03129f30                          

                                                                               

return address: [0x0310cd7e]; contents of:                                     

0x0310cd50:  320e  3214  304b  3005  910a  0062  e3ff  fa9c                    

0x0310cd60:  934a  2f90  9317  2fa9  3200  a000  0140  ac41                    

0x0310cd70:  ac82  acc3  ad04  ad45  ad87  9030  adc6 [0140]                   

0x0310cd80:  0141  a200  a241  a282  a2c3  a304  a345  a386                    

                                                                               

SEQUENCER STATUS:               Not tainted                                    

SEQSTAT: 00002024  IPEND: 0030  SYSCFG: 0006                                  

  HWERRCAUSE: 0x0                                                              

  EXCAUSE   : 0x24                                                             

RETE: <0x00000000> /* Maybe null pointer? */                                  

RETN: <0x006f8000> /* unknown address */                                      

RETX: <0x0310cd7e> [ ftpd + 0xcd3e ]                                          

RETS: <0x03106a8c> [ ftpd + 0x6a4c ]                                          

PC  : <0x0310cd7e> [ ftpd + 0xcd3e ]                                          

DCPLB_FAULT_ADDR: <0x73666664> /* unknown address */                           

ICPLB_FAULT_ADDR: <0x0310cd7e> [ ftpd + 0xcd3e ]                               

                                                                               

PROCESSOR STATE:                                                               

R0 : 00007165    R1 : 00000001    R2 : 00000000    R3 : 00000008              

R4 : 03110ab4    R5 : 00000002    R6 : 00000004    R7 : 00000001              

P0 : 031275e8    P1 : 0000018b    P2 : 00000000    P3 : 0000002e              

P4 : 00000000    P5 : 6d080020    FP : 2e73666b    SP : 006f7f24              

LB0: 0310a52f    LT0: 0310a52e    LC0: 00000000                               

LB1: 0310981d    LT1: 0310981c    LC1: 00000000                               

B0 : 03115b6c    L0 : 00000000    M0 : 02b1235c    I0 : 031296ac              

B1 : 0312975c    L1 : 00000000    M1 : 07f7d615    I1 : 031152cc              

B2 : 0000001c    L2 : 00000000    M2 : 03115c2c    I2 : 00000000              

B3 : 00000000    L3 : 00000000    M3 : 03115bec    I3 : 03115bac              

A0.w: 00000001   A0.x: 00000000   A1.w: 00000001   A1.x: 00000000              

USP : 7366666a  ASTAT: 02001025                                                

                                                                               

Hardware Trace:                                                                

   0 Target : <0x000047e0> { _trap_c + 0x0 }                                   

     Source : <0xffa0076c> { _exception_to_level5 + 0xb4 }                     

   1 Target : <0xffa006b8> { _exception_to_level5 + 0x0 }                      

     Source : <0xffa00614> { _ex_trap_c + 0x5c }                               

   2 Target : <0xffa005b8> { _ex_trap_c + 0x0 }                                

     Source : <0xffa0080c> { _trap + 0x28 }                                    

   3 Target : <0xffa007e4> { _trap + 0x0 }                                     

     Source : <0x0310cd7c> [ ftpd + 0xcd3c ]                                   

   4 Target : <0x0310cd68> [ ftpd + 0xcd28 ]                                   

     Source : <0x03106a88> [ ftpd + 0x6a48 ]                                   

   5 Target : <0x03106a6c> [ ftpd + 0x6a2c ]                                   

     Source : <0x03100d8c> [ ftpd + 0xd4c ]                                    

   6 Target : <0x03100d76> [ ftpd + 0xd36 ]                                    

     Source : <0x0310245a> [ ftpd + 0x241a ]                                   

   7 Target : <0x03102454> [ ftpd + 0x2414 ]                                   

     Source : <0x03107d48> [ ftpd + 0x7d08 ]                                   

   8 Target : <0x03107d44> [ ftpd + 0x7d04 ]                                   

     Source : <0x03107adc> [ ftpd + 0x7a9c ]                                   

   9 Target : <0x03107ad6> [ ftpd + 0x7a96 ]                                   

     Source : <0x0310b5c8> [ ftpd + 0xb588 ]                                   

  10 Target : <0x0310b5c0> [ ftpd + 0xb580 ]                                   

     Source : <0x0310b590> [ ftpd + 0xb550 ]                                   

  11 Target : <0x0310b58c> [ ftpd + 0xb54c ]                                   

     Source : <0x0310d044> [ ftpd + 0xd004 ]                                   

  12 Target : <0x0310d032> [ ftpd + 0xcff2 ]                                   

     Source : <0xffa00d00> { __common_int_entry + 0xd8 }                       

  13 Target : <0xffa00c9e> { __common_int_entry + 0x76 }                       

     Source : <0xffa00ec4> { _evt_system_call + 0x64 }                         

  14 Target : <0xffa00ec4> { _evt_system_call + 0x64 }                         

     Source : <0xffa00994> { _system_call + 0xb8 }                             

  15 Target : <0xffa00990> { _system_call + 0xb4 }                             

     Source : <0xffa00980> { _system_call + 0xa4 }                             

Stack from 006f7f04:                                                           

        03129250 ffa00770 001aafcc 001aafcc 001aafc8 00000008 03129627 ffa00eba

        0310cd7e 00000030 00002024 00000000 006f8000 0310cd7e 0310cd7e 03106a8c

        00007165 02001025 0310981d 0310a52f 0310981c 0310a52e 00000000 00000000

        00000001 00000000 00000001 00000000 00000000 0000001c 0312975c 03115b6c

        00000000 00000000 00000000 00000000 03115bec 03115c2c 07f7d615 02b1235c

        03115bac 00000000 031152cc 031296ac 7366666a 2e73666b 6d080020 00000000

                                                                               

Call Trace:                                                                    

[<00007165>] ___dma_memcpy+0x51/0x2b8                                          

[<00007165>] ___dma_memcpy+0x51/0x2b8                                          

                                                                               

 

 

Follow-ups

 

--- Jiri Beranek                                             2008-12-25 16:38:13

This error occurs only when zero hunting option is enabled.

 

--- Robin Getz                                               2008-12-26 08:52:36

Jiri:

 

I assume you are using the default ftpd? (the one from ./user/ftpd/ ?)

 

If so - can you tell me what is at: ftpd + 0xcd3e (using addr2line?)

See the bottom of this section:

  docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:debugging_applications#unaligned_data_access

 

-Robin

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes