Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3620 closed defect (fixed)

r.buffer crashes when trying to buffer rasterized polygons

Reported by: dido Owned by: grass-dev@…
Priority: critical Milestone:
Component: Raster Version: 7.4.0
Keywords: r.buffer crash Cc:
CPU: x86-64 Platform: MSWindows 7


At crash time r.buffer outputs this:

Reading input raster map <defekti_rast@PERMANENT>...


Finding buffer zones...


crash here

Here is the windows crash log:

Problem signature:

Problem Event Name: APPCRASH Application Name: r.buffer.EXE Application Version: Application Timestamp: 5a6bcca6 Fault Module Name: r.buffer.EXE Fault Module Version: Fault Module Timestamp: 5a6bcca6 Exception Code: c0000005 Exception Offset: 000000000000164c OS Version: 6.1.7601. Locale ID: 1026 Additional Information 1: bbf7 Additional Information 2: bbf7706b53fbb0fa7695ff337b93e0f9 Additional Information 3: 9d52 Additional Information 4: 9d5215a4a4810f4d9a53d895d6bdf7b3

Read our privacy statement online:

If the online privacy statement is not available, please read our privacy statement offline:


Problem is manifested using a python script. Script and data provided as attachment.

!!! The script must be tweaked slightly in the beginning to match the grass install path. A proper GRASS DB must be provided there with a BG_DEM location and a PERMANENT mapset projected in EPSG:32635 (UTM Z35N)

Change History (4)

comment:1 by dido, 6 years ago

Cannot attach a too-big file, please download it here:

comment:2 by dido, 6 years ago

Priority: majorcritical

comment:3 by mmetz, 6 years ago

Resolution: fixed
Status: newclosed

In 73111:

r.buffer: fix interger overflow (fixes #3620)

comment:4 by mmetz, 6 years ago

In 73112:

r.buffer: fix interger overflow (fixes #3620, backport trunk r73111)

Note: See TracTickets for help on using tickets.