After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 373008 - crash in mrp-old-xml.c:1449: (predecessor_task != NULL)
crash in mrp-old-xml.c:1449: (predecessor_task != NULL)
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
0.14.x
Other All
: High critical
: ---
Assigned To: planner-maint
planner-maint
: 345545 400157 405396 416428 423442 426197 428859 462144 473623 498150 501731 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-09 16:08 UTC by Yerko.Munoz
Modified: 2009-10-20 10:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
MS Project XML test file (225.89 KB, application/xml)
2007-02-12 08:09 UTC, g.crisci
  Details
Probably fixes MSP import crashes (1.33 KB, patch)
2007-12-12 23:04 UTC, Maurice van der Pot
none Details | Review
Test MS Project XML file which crashes Planner 0.14.4 under Windows 7 (64-bit) (494.47 KB, text/xml)
2009-10-20 10:47 UTC, Michael Werle
  Details

Description Yerko.Munoz 2006-11-09 16:08:00 UTC
Version: 0.14.1

What were you doing when the application crashed?
importing a ms project xml file


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 99090432 vsize: 0 resident: 99090432 share: 0 rss: 19759104 rss_rlim: 0
CPU usage: start_time: 1163088402 rtime: 0 utime: 192 stime: 0 cutime:176 cstime: 0 timeout: 16 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/planner'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1225496384 (LWP 6185)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1225496384 (LWP 6185))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 mrp_old_xml_parse
    from /usr/lib/planner/file-modules/libmrp-xml.so
  • #11 init
    from /usr/lib/planner/file-modules/libmrp-xml.so
  • #12 mrp_file_reader_read_string
    from /usr/lib/libplanner-1.so.0
  • #13 mrp_project_load
    from /usr/lib/libplanner-1.so.0
  • #14 planner_window_open
  • #15 planner_window_open_in_existing_or_new
  • #16 plugin_init
    from /usr/lib/planner/plugins/libmsp-plugin.so
  • #17 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 _gtk_action_emit_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_action_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #29 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_menu_shell_append
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_menu_reorder_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #37 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #38 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #39 gtk_widget_get_default_style
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #42 _gdk_events_init
    from /usr/lib/libgdk-x11-2.0.so.0
  • #43 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #44 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #45 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #46 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #47 main
  • #0 __kernel_vsyscall

Comment 1 André Klapper 2007-02-10 14:32:13 UTC
*** Bug 345545 has been marked as a duplicate of this bug. ***
Comment 2 André Klapper 2007-02-10 14:32:20 UTC
*** Bug 400157 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2007-02-10 14:32:27 UTC
*** Bug 405396 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2007-02-10 14:33:06 UTC
can somebody please provide an example file and attach it here? (please make sure that there is no confidential data in that file.)
thanks!
Comment 5 g.crisci 2007-02-12 08:09:52 UTC
Created attachment 82370 [details]
MS Project XML test file

This is the MS Project XML file I can't import and that causes Project Management to crash. Thanks for your help.
Comment 6 André Klapper 2007-03-17 15:24:30 UTC
*** Bug 416428 has been marked as a duplicate of this bug. ***
Comment 7 André Klapper 2007-03-29 01:19:42 UTC
*** Bug 423442 has been marked as a duplicate of this bug. ***
Comment 8 André Klapper 2007-04-12 19:12:18 UTC
*** Bug 426197 has been marked as a duplicate of this bug. ***
Comment 9 André Klapper 2007-04-12 19:13:03 UTC
*** Bug 428859 has been marked as a duplicate of this bug. ***
Comment 10 André Klapper 2007-04-12 19:13:12 UTC
and there is another example file at
http://bugzilla.gnome.org/show_bug.cgi?id=428859#c2
Comment 11 André Klapper 2007-09-11 19:22:27 UTC
*** Bug 462144 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2007-09-11 19:22:39 UTC
*** Bug 473623 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2007-12-12 02:42:41 UTC
*** Bug 501731 has been marked as a duplicate of this bug. ***
Comment 14 Maurice van der Pot 2007-12-12 23:04:29 UTC
Created attachment 100855 [details] [review]
Probably fixes MSP import crashes

This patch fixes the problem for me with both attached example files. It is a patch to a .xsl file (should be somewhere in /usr/share/planner/stylesheets/, so you do not have to recompile planner from source to try it out).

What I noticed in the MSP .xml file is that the WBS number does not always match the hierarchy of tasks. So for instance a task could be 2.0 but have subtasks 1.3.1 and 1.3.2. Is this a freeform field in MS project? Can you really change the WBS number to any number you want?

I'd be grateful for any confirmation that this patch properly imports MSP files, especially the ones that already could be imported before.
Comment 15 Maurice van der Pot 2008-01-21 17:41:30 UTC
*** Bug 498150 has been marked as a duplicate of this bug. ***
Comment 16 Maurice van der Pot 2008-01-23 20:51:00 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 17 John Pye 2008-10-17 01:10:26 UTC
Testing on Ubuntu Hardy seems to have shown that this bug is fixed on Windows, but not fixed on Linux:

https://bugs.launchpad.net/ubuntu/+source/planner/+bug/242581
Comment 18 Maurice van der Pot 2008-10-17 18:03:03 UTC
John, can you provide me with a MS Project file that triggers the crash by attaching it to this bug report?
Neither of the ones referenced from this bug report crashes on my system.
Comment 19 John Pye 2008-11-11 23:55:04 UTC
It seems to be working for me now, as of version 0.14.3 (running on Ubuntu Intrepid).
Comment 20 Michael Werle 2009-10-20 10:46:48 UTC
Version 0.14.4, Windows 7 (64-bit) still (again?) has this problem.

Please find attached a sample XML file which consistently crashes Planner on my system.
Comment 21 Michael Werle 2009-10-20 10:47:58 UTC
Created attachment 145841 [details]
Test MS Project XML file which crashes Planner 0.14.4 under Windows 7 (64-bit)