Wed 04 Oct 2006 04:24:08 PM UTC, original submission:
I get several segmentation faults that I can consistently repeat.
One of them (the others I can't remember now) appears when clicking on the "Write Sample Text" button.
I've read the FAQ where you explain about segfaults, so I recompiled with --disable-optimize and --enable-debug, the bug kept appearing so I got the backtrace (see below).
I'm using this gcc:
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.1/configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1
Backtrace:
TeXmacs] With linked TrueType support
TeXmacs] Loading corktounicode
TeXmacs] Loading unicode-cork-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading unicode-symbol-oneway
Program received signal SIGSEGV, Segmentation fault.
0xb7d1c83c in FT_Set_Char_Size () from /usr/lib/libfreetype.so.6
(gdb) bt
#0 0xb7d1c83c in FT_Set_Char_Size () from /usr/lib/libfreetype.so.6
#1 0x08338381 in tt_font_glyphs_rep::get (this=0x8c1fb24, i=115)
at ./Plugins/Freetype/tt_face.cpp:127
#2 0x082f604e in tex_font_rep::get_extents (this=0x8850394, s=@0xbff1e93c,
ex=@0xbff1e918) at ./Plugins/Metafont/tex_font.cpp:514
#3 0x08300bd2 in text_box_rep (this=0x884f4f0, ip=@0xbff1e980, pos2=0, s=@0xbff1e984,
fn2=@0xbff1e988, col2=0) at ./Typeset/Boxes/Basic/text_boxes.cpp:71
#4 0x08300db8 in text_box (ip=@0xbff1e9d4, pos=0, s=@0xbff1e9d0, fn=@0xbff1e9cc, col=0)
at ./Typeset/Boxes/Basic/text_boxes.cpp:368
#5 0x080ca2de in concater_rep::typeset_substring (this=0x8a4198c, s=@0xbff1ead4,
ip=@0xbff1ead0, pos=0) at ./Typeset/Concat/concat_text.cpp:24
#6 0x080cb10c in concater_rep::typeset_string (this=0x8a4198c, s=@0xbff1eb84,
ip=@0xbff1eb80) at ./Typeset/Concat/concat_text.cpp:95
#7 0x080cd57a in concater_rep::typeset (this=0x8a4198c, t=@0xbff1f17c, ip=@0xbff1f178)
at ./Typeset/Concat/concater.cpp:163
#8 0x080bda3f in concater_rep::typeset_argument (this=0x8a4198c, t=@0xbff1f530,
ip=@0xbff1f52c) at ./Typeset/Concat/concat_macro.cpp:227
#9 0x080d0219 in concater_rep::typeset (this=0x8a4198c, t=@0xbff1f854, ip=@0xbff1f84c)
at ./Typeset/Concat/concater.cpp:391
#10 0x080bfdb5 in concater_rep::typeset_with (this=0x8a4198c, t=@0xbff1fbd0,
ip=@0xbff1fbcc) at ./Typeset/Concat/concat_macro.cpp:60
#11 0x080cff9d in concater_rep::typeset (this=0x8a4198c, t=@0xbff1ff28, ip=@0xbff1ff20)
at ./Typeset/Concat/concater.cpp:373
---Type <return> to continue, or q <return> to quit---
#12 0x080bf47d in concater_rep::typeset_compound (this=0x8a4198c, t=@0xbff2051c,
ip=@0xbff20518) at ./Typeset/Concat/concat_macro.cpp:117
#13 0x080d1b8f in concater_rep::typeset (this=0x8a4198c, t=@0xbff2055c, ip=@0xbff20554)
at ./Typeset/Concat/concater.cpp:667
#14 0x080c8807 in concater_rep::typeset_concat (this=0x8a4198c, t=@0xbff205f8,
ip=@0xbff205f4) at ./Typeset/Concat/concat_text.cpp:132
#15 0x080cd84c in concater_rep::typeset (this=0x8a4198c, t=@0xbff20b28, ip=@0xbff20b24)
at ./Typeset/Concat/concater.cpp:185
#16 0x080d227a in typeset_concat (env=@0xbff20b80, t=@0xbff20b7c, ip=@0xbff20b78)
at ./Typeset/Concat/concater.cpp:681
#17 0x082404ff in typeset_concat_or_table (env=@0xbff20bc4, t=@0xbff20bc0,
ip=@0xbff20bbc) at ./Typeset/Line/lazy_paragraph.cpp:491
#18 0x08244e44 in typeset_stack (env=@0xbff20c2c, t=@0xbff20c28, ip=@0xbff20c24,
a=@0xbff20c20, b=@0xbff20c1c, sb=@0xbff20c18)
at ./Typeset/Line/lazy_paragraph.cpp:501
#19 0x0834053e in typesetter_rep::insert_paragraph (this=0x87ca7b4, t=@0xbff20c5c,
ip=@0xbff20c58) at ./Typeset/Bridge/typesetter.cpp:56
#20 0x0807556a in bridge_rep::my_typeset (this=0x88481d4, desired_status=1)
at ./Typeset/Bridge/bridge.cpp:232
#21 0x08074b51 in bridge_rep::typeset (this=0x88481d4, desired_status=1)
at ./Typeset/Bridge/bridge.cpp:291
#22 0x080824b6 in bridge_docrange_rep::my_typeset (this=0x8a54228, desired_status=1)
at ./Typeset/Bridge/bridge_docrange.cpp:283
---Type <return> to continue, or q <return> to quit---
#23 0x08074b51 in bridge_rep::typeset (this=0x8a54228, desired_status=1)
at ./Typeset/Bridge/bridge.cpp:291
#24 0x0808239d in bridge_docrange_rep::my_typeset (this=0x899abec, desired_status=1)
at ./Typeset/Bridge/bridge_docrange.cpp:269
#25 0x08084ea9 in bridge_document_rep::my_typeset (this=0x87bccf4, desired_status=1)
at ./Typeset/Bridge/bridge_document.cpp:211
#26 0x08074b51 in bridge_rep::typeset (this=0x87bccf4, desired_status=1)
at ./Typeset/Bridge/bridge.cpp:291
#27 0x0833fe54 in typesetter_rep::typeset (this=0x87ca7b4)
at ./Typeset/Bridge/typesetter.cpp:162
#28 0x083400b9 in typesetter_rep::typeset (this=0x87ca7b4, x1b=@0xbff21270,
y1b=@0xbff2126c, x2b=@0xbff21268, y2b=@0xbff21264)
at ./Typeset/Bridge/typesetter.cpp:175
#29 0x083402af in typeset (ttt=0x87ca7b4, x1=@0xbff21270, y1=@0xbff2126c,
x2=@0xbff21268, y2=@0xbff21264) at ./Typeset/Bridge/typesetter.cpp:260
#30 0x0817f4ba in edit_typeset_rep::typeset (this=0x873e2c8, x1=@0xbff21270,
y1=@0xbff2126c, x2=@0xbff21268, y2=@0xbff21264)
at ./Edit/Editor/edit_typeset.cpp:439
#31 0x0812a9cf in edit_interface_rep::apply_changes (this=0x873e1ec)
at ./Edit/Interface/edit_interface.cpp:336
#32 0x0831da56 in tm_server_rep::interpose_handler (this=0x86386f4)
at ./Texmacs/Server/tm_server.cpp:420
#33 0x0831bf6e in texmacs_interpose_handler () at ./Texmacs/Server/tm_server.cpp:60
---Type <return> to continue, or q <return> to quit---
#34 0x08394354 in x_display_rep::event_loop (this=0x8638394)
at ./Window/X/x_loop.cpp:360
#35 0x083006ce in TeXmacs_main (argc=1, argv=0xbff217d4)
at ./Texmacs/Texmacs/texmacs.cpp:222
#36 0xb7e18a72 in gh_launch_pad () from /usr/lib/libguile.so.12
#37 0xb7e23b72 in scm_boot_guile () from /usr/lib/libguile.so.12
#38 0xb7e18a45 in gh_enter () from /usr/lib/libguile.so.12
#39 0x081b6d53 in start_guile (argc=1, argv=0xbff217d4,
call_back=0x82fe86c <TeXmacs_main(int, char**)>) at ./Guile/Scheme/evaluate.cpp:41
#40 0x082fe85c in main (argc=1, argv=0xbff217d4) at ./Texmacs/Texmacs/texmacs.cpp:286
(gdb) quit
Thank you
|