[bug #42717] Crash in -[NSBox(Private) calcSizesAllowingNegative:]

2014-07-20 Thread Yavor Doganov
Follow-up Comment #9, bug #42717 (project gnustep):

Here's the valgrind output:

$ valgrind Cenon
==14425== Memcheck, a memory error detector
==14425== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==14425== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==14425== Command: Cenon
==14425== 
==14425== Invalid read of size 4
==14425==at 0x4AD5058: objc_msg_lookup (sendmsg.c:448)
==14425==by 0x41211B8: _i_NSBox_Private_calcSizesAllowingNegative_ (in
/usr/lib/libgnustep-gui.so.0.24.0)
==14425==  Address 0xff98 is not stack'd, malloc'd or (recently) free'd
==14425== 
==14425== 
==14425== Process terminating with default action of signal 11 (SIGSEGV)
==14425==  Access not within mapped region at address 0xFF98
==14425==at 0x4AD5058: objc_msg_lookup (sendmsg.c:448)
==14425==by 0x41211B8: _i_NSBox_Private_calcSizesAllowingNegative_ (in
/usr/lib/libgnustep-gui.so.0.24.0)
==14425==  If you believe this happened as a result of a stack
==14425==  overflow in your program's main thread (unlikely but
==14425==  possible), you can try to increase the size of the
==14425==  main thread stack using the --main-stacksize= flag.
==14425==  The main thread stack size used in this run was 8388608.
==14425== 
==14425== HEAP SUMMARY:
==14425== in use at exit: 17,125,664 bytes in 378,360 blocks
==14425==   total heap usage: 647,770 allocs, 269,410 frees, 39,616,506 bytes
allocated
==14425== 
==14425== LEAK SUMMARY:
==14425==definitely lost: 34,376 bytes in 691 blocks
==14425==indirectly lost: 50,125 bytes in 3,300 blocks
==14425==  possibly lost: 14,724,851 bytes in 340,448 blocks
==14425==still reachable: 2,316,312 bytes in 33,921 blocks
==14425== suppressed: 0 bytes in 0 blocks
==14425== Rerun with --leak-check=full to see details of leaked memory
==14425== 
==14425== For counts of detected and suppressed errors, rerun with: -v
==14425== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 1 from 1)
Нарушение на разделянето(segfault)


___

Reply to this item at:

  http://savannah.gnu.org/bugs/?42717

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep


[bug #42782] Crash when loading a gorm file

2014-07-20 Thread Yavor Doganov
Follow-up Comment #4, bug #42782 (project gnustep):


==15741== Command: Gorm
/tmp/viewpdf.app-0.2dfsg1/English.lproj/Document.gorm/
==15741== 
2014-07-20 19:27:38.764 Gorm[15741] Tiff Error (GSTiffReadData) Not a TIFF or
MDI file, bad magic number 20039 (0x4e47)
2014-07-20 19:27:42.187 Gorm[15741] Tiff Error (GSTiffReadData) Not a TIFF or
MDI file, bad magic number 20039 (0x4e47)
==15741== Conditional jump or move depends on uninitialised value(s)
==15741==at 0x408C385: _i_GormImage__initWithData_withFileName_inWrapper_
(in /usr/lib/gorm.app/libGormCore.so.1.2.20)
==15741==by 0xB3A875F: ???
==15741== 
vex x86-IR: unhandled instruction bytes: 0xF0 0x5A 0x3A 0xB
==15741== Use of uninitialised value of size 4
==15741==at 0xB3A8762: ???
==15741== 
==15741== Invalid read of size 1
==15741==at 0xB3A8762: ???
==15741==  Address 0x134c0a52 is not stack'd, malloc'd or (recently) free'd
==15741== 
==15741== 
==15741== Process terminating with default action of signal 11 (SIGSEGV)
==15741==  Access not within mapped region at address 0x134C0A52
==15741==at 0xB3A8762: ???
==15741==  If you believe this happened as a result of a stack
==15741==  overflow in your program's main thread (unlikely but
==15741==  possible), you can try to increase the size of the
==15741==  main thread stack using the --main-stacksize= flag.
==15741==  The main thread stack size used in this run was 8388608.
==15741== 
==15741== HEAP SUMMARY:
==15741== in use at exit: 9,972,293 bytes in 71,858 blocks
==15741==   total heap usage: 1,228,610 allocs, 1,156,752 frees, 105,972,400
bytes allocated
==15741== 
==15741== LEAK SUMMARY:
==15741==definitely lost: 37,671 bytes in 1,025 blocks
==15741==indirectly lost: 62,465 bytes in 4,126 blocks
==15741==  possibly lost: 6,784,244 bytes in 27,296 blocks
==15741==still reachable: 3,087,913 bytes in 39,411 blocks
==15741== suppressed: 0 bytes in 0 blocks
==15741== Rerun with --leak-check=full to see details of leaked memory
==15741== 
==15741== For counts of detected and suppressed errors, rerun with: -v
==15741== Use --track-origins=yes to see where uninitialised values come from
==15741== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 1 from 1)
Нарушение на разделянето(segfault)


___

Reply to this item at:

  http://savannah.gnu.org/bugs/?42782

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep