Changes between Initial Version and Version 10 of Ticket #1790


Ignore:
Timestamp:
06/20/10 08:12:02 (9 years ago)
Author:
slyfox
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1790

    • Property Status changed from new to closed
    • Property Votes for changeset changed from to commited-master
    • Property Severity changed from no branch to merged
    • Property Milestone changed from 4.7 to 4.7.0
    • Property Owner set to slavazanko
    • Property Resolution changed from to fixed
  • Ticket #1790 – Description

    initial v10  
    22 
    33вывод gdb: 
    4  
     4{{{ 
    55Core was generated by `mc'. 
    66Program terminated with signal 11, Segmentation fault. 
     
    1818#4  0x000000000045a310 in setup_mc () at main.c:1430 
    1919#5  0x000000000045c733 in main (argc=1, argv=0x7fff96a1cb58) at main.c:1872 
    20  
     20}}} 
    2121вывод Valgrind: 
    22  
     22{{{ 
    2323==20852== Memcheck, a memory error detector 
    2424==20852== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. 
     
    2929==20852== Warning: invalid file descriptor -1 in syscall close() 
    3030==20852== Invalid read of size 8 
    31                                 ==20852==    at 0x424FB8: panel_new_with_dir (screen.c:1314) 
    32                                                                                             ==20852==    by 0x    4E: restore_into_right_dir_panel (layout.c:1156) 
    33                                                               ==20852==    by 0x45870B: set_display_type (layo    :926) 
    34                    ==20852==    by 0x45A1D9: create_panels (main.c:959) 
    35                                                                        ==20852==    by 0x45A30F: setup_mc (mai    1430) 
    36                    ==20852==    by 0x45C732: main (main.c:1872) 
    37                                                                ==20852==  Address 0x38 is not stack'd, malloc'd or (recently) free'd 
    38                                 ==20852==  
    39                                           ==20852==  
    40                                                     ==20852== Process terminating with default action of signal 11 (SIGSEGV) 
    41                         ==20852==  Access not within mapped region at address 0x38 
    42                                                                                   ==20852==    at 0x424FB8: panel_new_with_dir (screen.c:1314) 
    43                                           ==20852==    by 0x45834E: restore_into_right_dir_panel (layout.c:1156) 
    44             ==20852==    by 0x45870B: set_display_type (layout.c:926) 
    45                                                                      ==20852==    by 0x45A1D9: create_panels (main.c:959) 
    46                      ==20852==    by 0x45A30F: setup_mc (main.c:1430) 
    47                                                                      ==20852==    by 0x45C732: main (main.c:1872) 
    48              ==20852==  If you believe this happened as a result of a stack 
    49                                                                            ==20852==  overflow in your program's main thread (unlikely but 
    50                                       ==20852==  possible), you can try to increase the size of the 
    51                                                                                                    ==20852==  main thread stack using the --main-stacksize= flag. 
    52                                                              ==20852==  The main thread stack size used in this run was 8388608. 
    53                             ==20852==  
    54                                       ==20852== HEAP SUMMARY: 
    55                                                              ==20852==     in use at exit: 493,765 bytes in 1,939 blocks 
    56                     ==20852==   total heap usage: 16,352 allocs, 14,413 frees, 4,591,238 bytes allocated 
    57     ==20852==  
    58               ==20852== LEAK SUMMARY: 
    59                                      ==20852==    definitely lost: 66 bytes in 3 blocks 
    60                                                                                        ==20852==    indirectly lost: 240 bytes in 10 blocks 
    61                                        ==20852==      possibly lost: 123,648 bytes in 1,339 blocks 
    62                                                                                                   ==20852==    still reachable: 369,811 bytes in 587 blocks 
    63                                                        ==20852==         suppressed: 0 bytes in 0 blocks 
    64     ==20852== Rerun with --leak-check=full to see details of leaked memory 
    65                                                                           ==20852==  
    66                                                                                     ==20852== For counts of detected and suppressed errors, rerun with: -v 
    67                                                       ==20852== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 5 from 5) 
    68                           Ошибка сегментирования 
     31==20852==    at 0x424FB8: panel_new_with_dir (screen.c:1314) 
    6932 
     33==20852==    by 0x    4E: restore_into_right_dir_panel (layout.c:1156) 
     34==20852==    by 0x45870B: set_display_type (layo    :926) 
     35==20852==    by 0x45A1D9: create_panels (main.c:959) 
     36==20852==    by 0x45A30F: setup_mc (mai    1430) 
     37==20852==    by 0x45C732: main (main.c:1872) 
     38==20852==  Address 0x38 is not stack'd, malloc'd or (recently) free'd 
     39==20852==  
     40==20852==  
     41==20852== Process terminating with default action of signal 11 (SIGSEGV) 
     42==20852==  Access not within mapped region at address 0x38 
     43==20852==    at 0x424FB8: panel_new_with_dir (screen.c:1314) 
     44==20852==    by 0x45834E: restore_into_right_dir_panel (layout.c:1156) 
     45==20852==    by 0x45870B: set_display_type (layout.c:926) 
     46==20852==    by 0x45A1D9: create_panels (main.c:959) 
     47==20852==    by 0x45A30F: setup_mc (main.c:1430) 
     48==20852==    by 0x45C732: main (main.c:1872) 
     49==20852==  If you believe this happened as a result of a stack 
     50==20852==  overflow in your program's main thread (unlikely but 
     51==20852==  possible), you can try to increase the size of the 
     52==20852==  main thread stack using the --main-stacksize= flag. 
     53==20852==  The main thread stack size used in this run was 8388608. 
     54==20852==  
     55==20852== HEAP SUMMARY: 
     56==20852==     in use at exit: 493,765 bytes in 1,939 blocks 
     57==20852==   total heap usage: 16,352 allocs, 14,413 frees, 4,591,238 bytes allocated 
     58==20852==  
     59==20852== LEAK SUMMARY: 
     60==20852==    definitely lost: 66 bytes in 3 blocks 
     61==20852==    indirectly lost: 240 bytes in 10 blocks 
     62==20852==      possibly lost: 123,648 bytes in 1,339 blocks 
     63==20852==    still reachable: 369,811 bytes in 587 blocks 
     64==20852==         suppressed: 0 bytes in 0 blocks 
     65==20852== Rerun with --leak-check=full to see details of leaked memory 
     66==20852==  
     67==20852== For counts of detected and suppressed errors, rerun with: -v 
     68==20852== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 5 from 5) 
     69Ошибка сегментирования 
     70}}} 
    7071Система - Slackware64 13.0, LC_ALL=ru_RU.KOI8-R, mc сконфигурирован с опциями --enable-extcharset --enable-netcode --enable-background --enable-charset --with-gpm-mouse --with-vfs-undelfs --with-x --with-vfs  --with-samba --with-configdir=/etc/samba  --with-codepagedir=/etc/codepages, падает и в консоли, и в терминалах X.