bugGNU TeXmacs - Bugs: bug #28684, Crash when launching texmacs with...

 
 

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

bug #28684: Crash when launching texmacs with a file argument, assuming --enable-macosx-extensions

Submitter:  Joris van der Hoeven <vdhoeven>
Submitted:  Tue 19 Jan 2010 10:58:04 AM UTC
   
 
Category:  MacOS port Priority:  9 - Immediate
Item Group:  Error Status:  Need Info
Privacy:  Public Assigned to:  mgubi
Originator Name:  Open/Closed:  Closed
Release:  None Release: 
Fixed Release:  1.99.12 Fixed Release: 
Keywords: 

Jump to the original submission

Fri 18 Oct 2019 01:31:33 AM UTC, comment #7: 

I did not experience this bug for a while, so I will close it.

Joris van der Hoeven <vdhoeven>
Group administrator
Tue 06 Feb 2018 09:20:07 AM UTC, comment #6: 

I cannot reproduce this bug. Both in the bundled and unbundled version on my machine.
Joris, can you provide more details?

Massimiliano Gubinelli <mgubi>
Group administrator
Mon 23 Mar 2015 10:09:03 AM UTC, comment #5: 

Is this still valid?

Miguel de Benito <mdbenito>
Group Member
Tue 04 Sep 2012 06:27:32 PM UTC, comment #4: 

With qt and macosx extensions enabled there is no problem opening a file from the command line (there couldn't be any related to these extensions since right now they are used only for the X11 version)

With X11m on the other hand, we crash:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x00000001000402ff in tmscm_car (obj=0x0) at guile_tm.hpp:226
226        inline tmscm tmscm_car (tmscm obj) { return SCM_CAR (obj); }
(gdb) bt
#0  0x00000001000402ff in tmscm_car (obj=0x0) at guile_tm.hpp:226
#1  0x000000010003fd94 in tmscm_object_rep::tmscm_object_rep (this=0x115606ed8, obj=0x102c46260) at /Users/miguel/Devel/TeXmacs/svn/src/packages/macos/../../src/Scheme/Scheme/object.cpp:42
#2  0x0000000100040f43 in tm_new<tmscm_object_rep, scm_unused_struct*> (a1=@0x7fff5fbfe7c8) at fast_alloc.hpp:375
#3  0x0000000100040f94 in tmscm_to_object (obj=0x102c46260) at object.hpp:39
#4  0x000000010074a8ee in eval (expr=@0x7fff5fbfe860) at /Users/miguel/Devel/TeXmacs/svn/src/packages/macos/../../src/Scheme/Scheme/object.cpp:347
#5  0x000000010074aa50 in scheme_cmd (s=@0x7fff5fbfe8f0) at /Users/miguel/Devel/TeXmacs/svn/src/packages/macos/../../src/Scheme/Scheme/object.cpp:280
#6  0x000000010034c0b4 in -[TMAppDelegate application:openFile:] (self=0x101363770, _cmd=0x7fff82211818, theApplication=0x101362c80, filename=0x1013042c0) at /Users/miguel/Devel/TeXmacs/svn/src/packages/macos/../../src/Plugins/MacOS/mac_app.mm:36
#7  0x00007fff81ca87dc in -[NSApplication _doOpenFile:ok:tryTemp:] ()
#8  0x00007fff81a90c4a in -[NSApplication finishLaunching] ()
#9  0x000000010034bf45 in init_mac_application () at /Users/miguel/Devel/TeXmacs/svn/src/packages/macos/../../src/Plugins/MacOS/mac_app.mm:51
#10 0x00000001003d0af8 in TeXmacs_main (argc=2, argv=0x7fff5fbff708) at /Users/miguel/Devel/TeXmacs/svn/src/packages/macos/../../src/Texmacs/Texmacs/texmacs.cpp:314
#11 0x000000010074de1d in new_call_back (closure=0x0, argc=2, argv=0x7fff5fbff708) at /Users/miguel/Devel/TeXmacs/svn/src/packages/macos/../../src/Scheme/Guile/guile_tm.cpp:34


Miguel de Benito <mdbenito>
Group Member
Fri 02 Sep 2011 09:35:57 PM UTC, comment #3: 

I still experience the bug. It is also more annoying now that
I made --enable-macosx-extensions the default.

Joris van der Hoeven <vdhoeven>
Group administrator
Fri 16 Jul 2010 11:36:56 AM UTC, comment #2: 

I've tested in Snow Leopard and I cannot reproduce the bug in the unbundled version.
Please check again.

Massimiliano Gubinelli <mgubi>
Group administrator
Tue 19 Jan 2010 11:49:02 AM UTC, comment #1: 

Could not reproduce on 10.5. Possibly an issue with 10.6. In Leopard with configuration

  $ ./configure --enable-qt --enable-macosx-extensions

command line arguments works both well with the bundled and unbundled executables.

Massimiliano Gubinelli <mgubi>
Group administrator
Tue 19 Jan 2010 10:58:04 AM UTC, original submission:  

Assuming that TeXmacs was configures using --enable-macosx-extensions, the application segfaults when we launch it with one file argument.

Backtrace:

Castafiore:src vdhoeven$ gdb texmacs.bin
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:19:56 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ................. done

(gdb) run ../doc/about/authors/authors.en.tm
Starting program: /Users/vdhoeven/texmacs/src/TeXmacs/bin/texmacs.bin ../doc/about/authors/authors.en.tm
Reading symbols for shared libraries .++++++++++++++++................................................................................... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x0000000100008472 in object_rep::object_rep ()
(gdb) bt
#0  0x0000000100008472 in object_rep::object_rep ()
#1  0x00000001003a6f6b in object::object ()
#2  0x0000000100376f08 in -[TMAppDelegate application:openFile:] ()
#3  0x00007fff86a3461a in -[NSApplication _doOpenFile:ok:tryTemp:] ()
#4  0x00007fff8681d03a in -[NSApplication finishLaunching] ()
#5  0x00000001004665bf in TeXmacs_main ()
#6  0x00000001008b4a57 in invoke_main_func ()
#7  0x0000000100888552 in c_body ()
#8  0x00000001008f3cab in scm_c_catch ()
#9  0x0000000100888957 in scm_i_with_continuation_barrier ()
#10 0x0000000100888a04 in scm_c_with_continuation_barrier ()
#11 0x00000001008f2973 in scm_i_with_guile_and_parent ()
#12 0x00000001008b4a17 in scm_boot_guile ()
#13 0x0000000100466164 in main ()

Joris van der Hoeven <vdhoeven>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mdbenito (Posted a comment)
  • -email is unavailable- added by mgubi (Posted a comment)
  • -email is unavailable- added by vdhoeven (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-18 vdhoeven Open/ClosedOpen Closed
        Fixed ReleaseNone 1.99.12
    2018-02-06 mgubi StatusConfirmed Need Info
    2012-10-01 mdbenito Assigned tomdbenito mgubi
    2012-09-04 mdbenito Assigned tomgubi mdbenito
    2011-09-02 vdhoeven Priority5 - Normal 9 - Immediate
        StatusWorks For Me Confirmed
        Open/ClosedClosed Open
    2010-07-19 mgubi Open/ClosedOpen Closed
    2010-07-16 mgubi StatusConfirmed Works For Me

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code