SEGV on map close #385

Open
o11c opened this Issue Mar 12, 2013 · 2 comments

2 participants

@o11c

System: Debian wheezy amd64
Version: tiled 0.9.0-1 from experimental

After opening several maps and saving changes to one of them, I pressed ^W to close that map, and got this SEGV:

https://gist.github.com/anonymous/5145929

I have the coredump, but there are no debugging symbols available for the Debian package, and I am unable to reproduce casually.

@o11c

Rebuilt tiled with symbols.

I've gotten a couple different backtraces from crashes at slightly different times in the same workflow, but it's probably the same bug.

Backtrace and local variables printed: https://gist.github.com/5147758
$5 is *cell.tile

The crash is that on line 235, const QPoint offset = cell.tile->tileset()->tileOffset();, the tileset is NULL.

I have the coredump if you need anything else.

@bjorn
Owner

@o11c Do you know whether this is still happening in the latest version? If so maybe you have some more exact way of reproducing the issue with TMW maps for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment