From: <no...@so...> - 2000-11-22 11:54:51
|
Bug #120874, was updated on 2000-Oct-31 17:30 Here is a current snapshot of the bug. Project: Tk Toolkit Category: Images Status: Open Resolution: None Bug Group: 8.2 Priority: 5 Summary: Image zoom crash Details: OriginalBugID: 3399 Bug Version: 8.2 SubmitDate: '1999-11-05' LastModified: '1999-11-12' Severity: CRIT Status: UnAssn Submitter: techsupp ChangedBy: hobbs OS: Windows 98 OSVersion: 4.10.1998 Name: Bernard Tiddeman ReproducibleScript: canvas .c pack .c image create photo img image create photo tmp .c create image 0 0 -image img -anchor nw tmp read my_image.ppm # My image is a large image e.g. 1240 by 1765 img copy img zoom 2 2 # Crashes here! ObservedBehavior: WISH82 caused an invalid page fault in module TK82.DLL at 015f:004227b1. Registers: EAX=00000000 CS=015f EIP=004227b1 EFLGS=00010202 EBX=0071f014 SS=0167 ESP=0071ed94 EBP=0071ed98 ECX=00000000 DS=0167 ESI=0071f02c FS=19df EDX=00529adc ES=0167 EDI=036ebebc GS=0000 Bytes at CS:EIP: 89 51 08 8b e5 5d c3 55 8b ec 83 ec 34 8b 45 0c Stack dump: 00000000 0071eddc 00467fd4 00000000 00529adc 036ebebc 0071f02c 000009b0 00000dca 0071ee20 00000000 00000000 00000000 0190beb0 0071f014 1000fa8c DesiredBehavior: A zoomed image to display Follow-Ups: Date: 2000-Nov-22 03:54 By: dkf Comment: I'm not sure what the fault actually is, but it could be due to a shortage of memory. A 1240x1765 photo image requires a *minimum* of 6.26 MB of memory just to store the data (that is assuming 24 bits per pixel; images might actually require more than that.) Zooming in will require another 25MB or so, and yet more memory is actually consumed as part of making an image visible... ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=120874&group_id=12997 |