[PD] HID segfault

Hans-Christoph Steiner hans at eds.org
Mon Apr 11 07:45:52 CEST 2005


The segfault is most likely caused by the syn event not being handled  
properly.  None of my devices report syn events, so I haven't  
encountered them.  But so far, all of the recent crash reports have  
been with devices that report syn events.

I am pretty slammed this week with other things, but next week, I plan  
on diving back into [hid], fixing bugs, and adding more features.

.hc

On Apr 9, 2005, at 9:50 AM, metafor wrote:

> with 0-37-4 i get a line more after segfaulting:
> UNKNOWN_JOYSTICK_EVENT_TYPE: syn syn_report 0 1.11305e+09
> pd_gui: pd process exited
> Segmentation fault
>
> ..
>
> metafor wrote:
>
>> hi list
>>
>> i have the same problem here with hid. cat shows output for both  
>> input/event2 and event3,
>> both have ms sidewinder gamepads attached which are recognized by the  
>> hid external, but
>> as soon as i press start in the joystick abstraction pd segfaults..
>>
>> any idea what it could be? i run a 2.6.11-preemt kernel with debian,   
>> Pd version 0.38.4
>> without -rt.
>>
>> i will try it with 0-37-4 now, but i am not really sure if it has  
>> anything to do with it.
>> any guess what i should try else?
>>
>> thanks
>> m
>>
>>
>> [hid] 0.4, written by Hans-Christoph Steiner <hans at eds.org>
>> [hid] opened device 0 (/dev/input/event0): AT Translated Set 2  
>> keyboard
>> expr, expr~, fexpr~ version 0.4 under GNU General Public License
>> linearpan~
>> ... couldn't create
>> [hid] opened device 0 (/dev/input/event0): AT Translated Set 2  
>> keyboard
>> pddp
>> ... couldn't create
>> all_about_hid_mapping
>> ... couldn't create
>> [hid] closed device 0
>> [hid] opened device 2 (/dev/input/event2): Microsoft SideWinder Game  
>> Pad Pro USB version 1.0
>> pd_gui: pd process exited
>> Segmentation fault
>>
>>
>> august wrote:
>>
>>> ok, so the HID object works fine, but only on some systems.
>>>
>>>
>>> I just tried on an ubuntu system and I can load the external, which  
>>> will
>>> then report that it finds my wingman joystick.  however, after I  
>>> send it a
>>> "start" message, PD segfaults.
>>>
>>>
>>> any ideas where to look?
>>>
>>>
>>> works perfectly on another machine with gentoo.  I'm thinking it's
>>> a hardware issure, though.
>>>
>>> strangly enough, the outdated "rawjoystick" external works on the  
>>> ubuntu
>>> machine...but outputs the both the vertical motion on the second  
>>> axis as
>>> well as the hat-X values on the same 4th outlet.
>>>
>>> -august.
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->  
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->  
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  
> http://lists.puredata.info/listinfo/pd-list
>

________________________________________________________________________ 
____

                   ¡El pueblo unido jamás será vencido!





More information about the Pd-list mailing list