[Gambas-user] Trying to use libmpv, but got Segmentation faults on exit

Tobias Boege taboege at ...626...
Fri Jan 16 14:43:37 CET 2015


On Fri, 16 Jan 2015, Koko wrote:
> Koko wrote:
> 
> 
> > That's it.
> > The program starts and begin playing the file.
> > As i push the button, it stops playing and the player window will close,
> > but as soon as i close the main form, the gambas interpreter shows a
> > window saying the program crashed wuth a segmentation fault.
> > 
> > This is the kernel message:
> > traps: gbx3[16400] general protection ip:7f17cdb9c824 sp:7fffff2682a0
> > error:0 in libpthread-2.20.so[7f17cdb93000+17000]
> > 
> > Thanks to anyone who can spot a light on this issue.
> 
> An update:
> If i switch from gb.qt4 to gb.gtk the issue is gone.
> The same if i use it in a new Task (gb.task)
> 

Does the library create threads behind your back? Because Gambas is single-
threaded and I can imagine that the GUI toolkits don't like being clone'd
without a warning either. Just an idea; I haven't tested.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list