Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 "Open Model" dialog crashes.

open
nobody
Windows (18)
5
2006-03-10
2006-03-10
Ercan
No

The program regularly crashes while trying to open a
file.Browsing through (clicking on) files in the gtk
file browser always crashes after several clicks.

The save dialog works normal. The problem looks like
it's related to the preview window in the file browser.
An "enable/disable preview" option could help until
it's fixed.

Discussion

  • Ercan
    Ercan
    2006-03-10

    Logged In: YES
    user_id=1472481

    The error mesage:
    AppName: sharpconstruct.exe AppVer: 0.3.0.0 ModName:
    msvcr80.dll
    ModVer: 8.0.50727.42 Offset: 00008890

     
  • Timon Christl
    Timon Christl
    2006-03-15

    Logged In: YES
    user_id=517093

    Fixed in CVS

     
  • Jedrzej_s
    Jedrzej_s
    2006-03-16

    Logged In: YES
    user_id=1478240

    christl <- Still SC crash when I try open file without
    file extension .obj !!!

    Test on Win XP Pro, SP1a.

     
  • Jedrzej_s
    Jedrzej_s
    2006-03-18

    Logged In: YES
    user_id=1478240

    christl <- Still SC crash when I try open file without
    file extension .obj !!! Yes, this is true... Tested on:

    setup-sharpconstruct-0.11+-sse-nightly-20060318.exe,
    Test on Win XP Pro, SP1a, AMD 1700+, 256 RAM, Elsa Erazor
    III Pro.

     
  • Timon Christl
    Timon Christl
    2006-03-18

    Logged In: YES
    user_id=517093

    Well, yes you're right. I did not read your comment
    thoroughly enough, I thought you meant the preview still
    crashes, but you meant the actual loading of a file. My fault.

    OK, this is what is wrong: loading an unsupported model (or
    a file that is not a model at all) causes the mesh in the
    editor to be set to an empty mesh. This is not tested for
    when rendering, so it crashes. I just started to fix it,
    maybe the next test release will already be out tomorrow.

     
  • Jedrzej_s
    Jedrzej_s
    2006-03-19

    Logged In: YES
    user_id=1478240

    OK. THX :).

     
  • Stuart Tett
    Stuart Tett
    2006-03-31

    Logged In: YES
    user_id=824778

    The cvs version of sharpconstruct crashes for me when I open
    any .obj file. I updated CVS just now (Mar 31) to double check.

    Here's the backtrace from gdb:

    (gdb) backtrace
    #0 0xb7bb81a0 in
    sigc::internal::trackable_callback_list::~trackable_callback_list
    () from /usr/lib/libsigc-2.0.so.0
    #1 0xb7bb8028 in sigc::trackable::notify_callbacks () from
    /usr/lib/libsigc-2.0.so.0
    #2 0xb7bb7f1e in sigc::trackable::~trackable () from
    /usr/lib/libsigc-2.0.so.0
    #3 0x080aab29 in ~ModelPreview (this=0xbfbb8bb0) at
    stl_alloc.h:242
    #4 0x080a570c in
    SharpConstruct::GInterface::MainWindow::open_model_
    (this=0xbfbba770) at atomicity.h:38
    #5 0x080a99ea in
    sigc::adaptor_functor<sigc::bound_mem_functor0<void,
    SharpConstruct::GInterface::MainWindow> >::operator()
    (this=0x822c378)
    at limit_reference.h:61
    #6 0xb7befcfe in
    Glib::SignalProxyNormal::slot0_void_callback () from
    /usr/lib/libglibmm-2.4.so.1
    #7 0xb7551164 in g_cclosure_marshal_VOID__VOID () from
    /usr/lib/libgobject-2.0.so.0