[GEM-dev] [pd-gem:bugs] #223 [text2d] and [text3d] crashes when loading a font

"IOhannes m zmölnig" via GEM-dev gem-dev at lists.iem.at
Tue Jul 8 17:29:55 CEST 2014


- **labels**:  --> crash, text
- **Group**: linux --> 0.94



---

** [bugs:#223] [text2d] and [text3d] crashes when loading a font**

**Status:** closed-out-of-date
**Group:** 0.94
**Labels:** crash text 
**Created:** Tue May 13, 2014 11:24 AM UTC by Antoine Villeret
**Last Updated:** Mon Jun 23, 2014 09:25 AM UTC
**Owner:** IOhannes m zmölnig

with the latest code from here, [text2d] and [text3d] crashes when sending a [load vera.ttf( message twice.

here is a backtrace :

~~~~
(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7fc1740 (LWP 26229)):
#0  0x0000000000000020 in ?? ()
#1  0x00007ffff39315e9 in text2d::makeFont (this=0xb28070, 
    fontfile=0x84b798 "/home/antoine/pd/Gem/tests/../examples/data/vera.ttf")
    at text2d.cpp:61
#2  0x00007ffff389d9a0 in TextBase::fontNameMess (this=this at entry=0xb28070, 
    filename=...) at TextBaseFTGL.cpp:172
#3  0x00007ffff389cc06 in TextBase::_CallbackClass_fontNameMess_505::callback (
    data=<optimized out>, v0=<optimized out>) at TextBaseFTGL.cpp:505
#4  0x0000000000467a5f in pd_typedmess ()
#5  0x000000000046947a in outlet_anything ()
#6  0x000000000046795b in pd_typedmess ()
#7  0x00000000004728aa in binbuf_eval ()
#8  0x000000000041d69f in text_click ()
#9  0x000000000044d877 in canvas_doclick ()
#10 0x0000000000467a69 in pd_typedmess ()
#11 0x000000000046795b in pd_typedmess ()
#12 0x00000000004728aa in binbuf_eval ()
#13 0x000000000047c629 in socketreceiver_read ()
#14 0x000000000047b17a in sys_domicrosleep.constprop.3 ()
#15 0x0000000000476731 in m_mainloop ()
#16 0x00007ffff6defde5 in __libc_start_main (main=0x411800 <main>, argc=2, ubp_av=0x7fffffffe0a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe098) at libc-start.c:260
#17 0x0000000000411831 in _start ()
~~~~

the file "/home/antoine/pd/Gem/tests/../examples/data/vera.ttf" exists (if not, an error is shown in Pd's console without crash)

this happends on ubuntu 12.04, 13.10 and 14.04


---

Sent from sourceforge.net because gem-dev at lists.iem.at is subscribed to https://sourceforge.net/p/pd-gem/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pd-gem/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20140708/35df709e/attachment-0001.html>


More information about the GEM-dev mailing list