bugGNU TeXmacs - Bugs: bug #36382, TeXmacs crashes when working with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36382: TeXmacs crashes when working with multiple windows

Submitted by:  Francois Poulain <fpoulain>
Submitted on:  Thu 03 May 2012 01:24:46 PM UTC  
 
Category: User InterfacePriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Tue 29 May 2012 09:22:25 AM UTC, comment #3:

Anyway, the problem seems to have been fixed in R5391. I am unable to reproduce. => closed.

Francois Poulain <fpoulain>
Project Member
Tue 29 May 2012 07:57:38 AM UTC, comment #2:

I was not able to test.

The R5392 segfault no my Debian, after make clean && make.

Here follows the bt and a ldd. I don't know what does mean the "Internal error: pc 0x0..." warning.

François

$ gdb texmacs.bin
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/poulain/src/TeXmacs/bin/texmacs.bin...done.
(gdb) run
Starting program: /home/poulain/src/TeXmacs/bin/texmacs.bin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
TeXmacs] Loading corktounicode
TeXmacs] Loading cork-unicode-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading symbol-unicode-oneway
TeXmacs] Loading symbol-unicode-math

Program received signal SIGSEGV, Segmentation fault.
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x00000000 in ?? ()
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

(gdb) bt
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#0 0x00000000 in ?? ()
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#1 0x08069d6f in QTMWidget::QTMWidget (this=0x8953338, _parent=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0, _tmwid=0x8981ff0) at ./Plugins/Qt/QTMWidget.cpp:167
#2 0x0818ed46 in qt_simple_widget_rep::qt_simple_widget_rep (this=0x8981ff0) at Plugins/Qt/qt_simple_widget.hpp:32
#3 0x0818b213 in editor_rep::editor_rep (this=0x8981ff0, sv2=0x8590fb4, buf2=0x891f298) at ./Edit/Editor/edit_main.cpp:49
#4 0x0818b6e5 in edit_main_rep::edit_main_rep (this=0x8981e2c, sv=0x8590fb4, buf=0x891f298, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
at ./Edit/Editor/edit_main.cpp:52
#5 0x0818eef8 in tm_new<edit_main_rep, server_rep, tm_buffer_rep> (a1=@0xbfffee14: 0x8590fb4, a2=@0xbfffee18: 0x891f298) at System/Misc/fast_alloc.hpp:99
#6 0x0818c166 in new_editor (sv=0x8590fb4, buf=0x891f298) at ./Edit/Editor/edit_main.cpp:72
#7 0x0830df07 in get_new_view (name=...) at ./Texmacs/Data/new_view.cpp:222
#8 0x0830e330 in get_passive_view (name=...) at ./Texmacs/Data/new_view.cpp:252
#9 0x08311bac in new_buffer_in_new_window (name=..., doc=..., geom=...) at ./Texmacs/Data/new_window.cpp:210
#10 0x08311cbb in open_window (geom=...) at ./Texmacs/Data/new_window.cpp:227
#11 0x083f8216 in TeXmacs_main (argc=1, argv=0xbffff4f4) at ./Texmacs/Texmacs/texmacs.cpp:369
#12 0x082a73bb in new_call_back (closure=0x0, argc=1, argv=0xbffff4f4) at ./Scheme/Guile/guile_tm.cpp:34
#13 0xb71c3dc4 in ?? () from /usr/lib/libguile.so.17
#14 0xb7196070 in ?? () from /usr/lib/libguile.so.17
#15 0xb720a304 in scm_c_catch () from /usr/lib/libguile.so.17
#16 0xb7196690 in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
#17 0xb7196775 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
#18 0xb7208c0d in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
#19 0xb7208c5d in scm_with_guile () from /usr/lib/libguile.so.17
#20 0xb71c3eb5 in scm_boot_guile () from /usr/lib/libguile.so.17
#21 0x082a73fd in start_scheme (argc=1, argv=0xbffff4f4, call_back=0x83f5a6e <TeXmacs_main(int, char**)>) at ./Scheme/Guile/guile_tm.cpp:48
#22 0x083f8e5f in main (argc=1, argv=0xbffff4f4) at ./Texmacs/Texmacs/texmacs.cpp:479
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

(gdb) bt full
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

#0 0x00000000 in ?? ()
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

No symbol table info available.
#1 0x08069d6f in QTMWidget::QTMWidget (this=0x8953338, _parent=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0, _tmwid=0x8981ff0) at ./Plugins/Qt/QTMWidget.cpp:167
width = -1226171401
height = -1226170622
sz = {wd = -1225168571, ht = 88}
#2 0x0818ed46 in qt_simple_widget_rep::qt_simple_widget_rep (this=0x8981ff0) at Plugins/Qt/qt_simple_widget.hpp:32
No locals.
#3 0x0818b213 in editor_rep::editor_rep (this=0x8981ff0, sv2=0x8590fb4, buf2=0x891f298) at ./Edit/Editor/edit_main.cpp:49
No locals.
#4 0x0818b6e5 in edit_main_rep::edit_main_rep (this=0x8981e2c, sv=0x8590fb4, buf=0x891f298, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
at ./Edit/Editor/edit_main.cpp:52
No locals.
#5 0x0818eef8 in tm_new<edit_main_rep, server_rep, tm_buffer_rep> (a1=@0xbfffee14: 0x8590fb4, a2=@0xbfffee18: 0x891f298) at System/Misc/fast_alloc.hpp:99
ptr = 0x8981e2c
#6 0x0818c166 in new_editor (sv=0x8590fb4, buf=0x891f298) at ./Edit/Editor/edit_main.cpp:72
No locals.
#7 0x0830df07 in get_new_view (name=...) at ./Texmacs/Data/new_view.cpp:222
buf = 0x891f298
ed = {rep = 0x1}
vw = 0x0
temp = {rep = 0x8903298}
#8 0x0830e330 in get_passive_view (name=...) at ./Texmacs/Data/new_view.cpp:252
buf = 0x891f298
vs = {rep = 0x893ab44}
#9 0x08311bac in new_buffer_in_new_window (name=..., doc=..., geom=...) at ./Texmacs/Data/new_window.cpp:210
win = {rep = 0x890352c}
#10 0x08311cbb in open_window (geom=...) at ./Texmacs/Data/new_window.cpp:227
name = {rep = 0x8903298}
#11 0x083f8216 in TeXmacs_main (argc=1, argv=0xbffff4f4) at ./Texmacs/Texmacs/texmacs.cpp:369
sv = {rep = 0x8590fb4}
where = {rep = 0x8922424}
i = 1
flag = true
the_default_font = {rep = 0x8707424}
#12 0x082a73bb in new_call_back (closure=0x0, argc=1, argv=0xbffff4f4) at ./Scheme/Guile/guile_tm.cpp:34
No locals.
#13 0xb71c3dc4 in ?? () from /usr/lib/libguile.so.17
No symbol table info available.
#14 0xb7196070 in ?? () from /usr/lib/libguile.so.17
No symbol table info available.
#15 0xb720a304 in scm_c_catch () from /usr/lib/libguile.so.17
No symbol table info available.
#16 0xb7196690 in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
No symbol table info available.
#17 0xb7196775 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
No symbol table info available.
#18 0xb7208c0d in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
No symbol table info available.
#19 0xb7208c5d in scm_with_guile () from /usr/lib/libguile.so.17
No symbol table info available.
#20 0xb71c3eb5 in scm_boot_guile () from /usr/lib/libguile.so.17
No symbol table info available.
#21 0x082a73fd in start_scheme (argc=1, argv=0xbffff4f4, call_back=0x83f5a6e <TeXmacs_main(int, char**)>) at ./Scheme/Guile/guile_tm.cpp:48
No locals.
#22 0x083f8e5f in main (argc=1, argv=0xbffff4f4) at ./Texmacs/Texmacs/texmacs.cpp:479
No locals.
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

$ ldd TeXmacs/bin/texmacs.bin
linux-gate.so.1 => (0xb77a5000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6cd7000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6a3d000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6a23000)
libguile.so.17 => /usr/lib/libguile.so.17 (0xb6927000)
libltdl.so.7 => /usr/lib/i386-linux-gnu/libltdl.so.7 (0xb691d000)
libgmp.so.10 => /usr/lib/i386-linux-gnu/libgmp.so.10 (0xb68a2000)
libcrypt.so.1 => /lib/i386-linux-gnu/i686/cmov/libcrypt.so.1 (0xb6870000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6849000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb6845000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb67a9000)
libz.so.1 => /usr/lib/i386-linux-gnu/libz.so.1 (0xb6792000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb66a9000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb668b000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb652e000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb64f9000)
libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xb64df000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb63e4000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb63b9000)
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb6367000)
libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb635f000)
libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb6346000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb633c000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb6329000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb61ef000)
libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb61ea000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb61e1000)
/lib/ld-linux.so.2 (0xb77a6000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb61b8000)
libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb615b000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb6158000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb611b000)
libffi.so.5 => /usr/lib/i386-linux-gnu/libffi.so.5 (0xb6112000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb610c000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb60e9000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb60e3000)

Francois Poulain <fpoulain>
Project Member
Mon 28 May 2012 10:20:00 PM UTC, comment #1:

Does this still happen with SVN 5392?

Miguel de Benito <mdbenito>
Project Member
Thu 03 May 2012 01:24:46 PM UTC, original submission:

I sometimes get crashes with TeXmacs when working with multiple windows. You can reproduce one case as follows :
1) open TeXmacs;
2) open a new windows : view -> open new window;
3) type some text;
4) close the window without saving.

This leads to a crash. TeXmacs complains:
TeXmacs] Fatal error, invalid situation
TeXmacs] Fatal unrecoverable error, paths not inside document

Francois Poulain <fpoulain>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mdbenito (Posted a comment)
  • -unavailable- added by fpoulain (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 29 May 2012 09:22:25 AM UTCfpoulainStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Tue 29 May 2012 07:57:38 AM UTCfpoulainStatusWorks For Me=>In Progress
    Mon 28 May 2012 10:20:00 PM UTCmdbenitoCategoryNone=>User Interface
      StatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1