Bug 62367

Summary: Wayland client (c++) crashes in event handler with a 'n' argument
Product: Wayland Reporter: Jan Arne Petersen <janarne>
Component: waylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium    
Version: 1.0.90   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Jan Arne Petersen 2013-03-15 12:55:03 UTC
commit 2fc248dc2c877d02694db40aad52180d71373d5a causes a regression.

We have an event like:
<event name="activate">
   <arg name="id" type="new_id" interface="input_method_context"/>
</event>

The wl_object* created in create_proxies() is packed into ffi_args as a uint32_t (instead of a pointer) in convert_arguments_to_ffi().
Comment 1 Jonas Ådahl 2013-03-15 12:56:45 UTC
Could you try to see if you can reproduce it with this patch applied? http://lists.freedesktop.org/archives/wayland-devel/2013-March/007830.html
Comment 2 Jan Arne Petersen 2013-03-15 13:06:04 UTC
(In reply to comment #1)
> Could you try to see if you can reproduce it with this patch applied?
> http://lists.freedesktop.org/archives/wayland-devel/2013-March/007830.html

Yes that is the required patch. Thanks.
Comment 3 Jan Arne Petersen 2013-03-15 14:04:58 UTC
better set it to blocker.
Comment 4 Kristian Høgsberg 2013-03-29 17:19:13 UTC
This should be fixed in master and 1.0.6 now.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.