THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Trygve Aaberge (trygveaa)
Attached to Project - awesome
Summary - Segfault on surface methods
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 3.5.5
Due in Version - Undecided
Due Date - Undecided
Details - I ran into a bug which causes awesome to segfault. It happens if you
try to use the get_width/height methods of a surface object, without passing
the object as an argument.
That is, I ran image.get_width(), instead of image:get_width().
Of course this is an error, but it shouldn't cause awesome to segfault.
Here is the full code that will crash:
local surface = require('gears.surface')
local image = surface.load('/some/image.jpg')
local a = image.get_width()
More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1266
You are receiving this message because you have requested it from the Flyspray
bugtracking system. If you did not expect this message or don't want to
receive mails in future, you can change your notification settings at the URL
shown above.
--
To unsubscribe, send mail to [email protected].