hugin dumps core every time when quiting

Bug #678786 reported by nobody
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Won't Fix
Undecided
Unassigned

Bug Description

Hugin (laest svn, not a new feature) does not quit cleanly, but dumps a core, It prints backtrace and mamory map.

The core is not saved under default settings in my computer. I am running Ubuntu Linux 7.10 + daily updates.

This seems to be the relevant part:

*** glibc detected *** hugin: corrupted double-linked list: 0x089b4bf0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6a8a3f9]
/lib/tls/i686/cmov/libc.so.6[0xb6a8bb6e]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb6a8f800]
/lib/tls/i686/cmov/libc.so.6[0xb6a41ad4]
/lib/tls/i686/cmov/libc.so.6[0xb6a39d6d]
/lib/tls/i686/cmov/libc.so.6[0xb6a39b42]
/lib/tls/i686/cmov/libc.so.6(iconv_close+0x1c)[0xb6a3913c]
/usr/lib/libwx_baseu-2.8.so.0(_ZN14wxMBConv_iconvD0Ev+0x48)[0xb72f9408]
/usr/lib/libwx_baseu-2.8.so.0(_ZN8wxCSConv5ClearEv+0x34)[0xb72f7384]
/usr/lib/libwx_baseu-2.8.so.0(_ZN8wxCSConvD1Ev+0x30)[0xb72f7430]
/usr/lib/libwx_baseu-2.8.so.0[0xb72f74b0]
/lib/tls/i686/cmov/libc.so.6(__cxa_finalize+0xb1)[0xb6a4f8c1]
/usr/lib/libwx_baseu-2.8.so.0[0xb72a0de3]
/usr/lib/libwx_baseu-2.8.so.0[0xb735d20c]
/lib/ld-linux.so.2[0xb7f36a1f]
/lib/tls/i686/cmov/libc.so.6(exit+0xd4)[0xb6a4f594]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe8)[0xb6a38058]
hugin(_ZN9wxAppBase8MainLoopEv+0x51)[0x809f1e1]

Yours,
      -Heikki

Tags: hugin
Revision history for this message
heikki_l (heikki-l) wrote :
Download full text (46.1 KiB)

Logged In: YES
user_id=2018134
Originator: NO

I have now noticed that core dumping only occurs if the preview window is open when quiting. The whole text dump (DUMP1 belo) complains about /var/cache/fontconfig. I cleared the cache and got a very informative report (have a look at DUMP2). However after that time, the error messages point to ~/.fontconfig/ (DUMP3). Clearing that directory allows hugin to exit once without error messages. That fills up ~/.fontconfig/ again and hugin dumps core in all consecutive runs unless it is cleaned.

The filling /var/cache/fontconfig might have been done by an older version of hugin or some library it uses since that directory is not used any more.

I might have made mistake of not giving the whole output previously, so here comes:

================DUMP3=============================

*** glibc detected *** hugin: corrupted double-linked list: 0x0882fff8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6aeffed]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb6af3800]
/usr/lib/libglib-2.0.so.0[0xb677df1c]
/usr/lib/libglib-2.0.so.0[0xb677e1b7]
/usr/lib/libglib-2.0.so.0[0xb677e305]
/usr/lib/libglib-2.0.so.0(g_slice_free1+0x24e)[0xb677f1ee]
/usr/lib/libgobject-2.0.so.0(g_type_free_instance+0xf7)[0xb6819df7]
/usr/lib/libgobject-2.0.so.0(g_object_unref+0x174)[0xb67fdaf4]
/usr/lib/libgobject-2.0.so.0(g_object_run_dispose+0x58)[0xb67fde38]
/usr/lib/libgtk-x11-2.0.so.0(gtk_object_destroy+0x55)[0xb651e975]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_destroy+0x45)[0xb6624675]
/usr/lib/libgtk-x11-2.0.so.0[0xb641f2b1]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_foreach+0x6b)[0xb646094b]
/usr/lib/libgtk-x11-2.0.so.0[0xb6461230]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb6808c09]
/usr/lib/libgobject-2.0.so.0[0xb67f9f89]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x20c)[0xb67fb85c]
/usr/lib/libgobject-2.0.so.0[0xb680cadf]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb680d847]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb680da09]
/usr/lib/libgtk-x11-2.0.so.0[0xb651ec91]
/usr/lib/libgtk-x11-2.0.so.0[0xb66243e1]
/usr/lib/libgobject-2.0.so.0(g_object_run_dispose+0x50)[0xb67fde30]
/usr/lib/libgtk-x11-2.0.so.0(gtk_object_destroy+0x55)[0xb651e975]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_destroy+0x45)[0xb6624675]
/usr/lib/libgtk-x11-2.0.so.0[0xb641b3df]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_foreach+0x6b)[0xb646094b]
/usr/lib/libgtk-x11-2.0.so.0[0xb6461230]
/usr/lib/libgtk-x11-2.0.so.0[0xb642430c]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb6808c09]
/usr/lib/libgobject-2.0.so.0[0xb67f9f89]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x20c)[0xb67fb85c]
/usr/lib/libgobject-2.0.so.0[0xb680cadf]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb680d847]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb680da09]
/usr/lib/libgtk-x11-2.0.so.0[0xb651ec91]
/usr/lib/libgtk-x11-2.0.so.0[0xb66243e1]
/usr/lib/libgobject-2.0.so.0(g_object_run_dispose+0x50)[0xb67fde30]
/usr/lib/libgtk-x11-2.0.so.0(gtk_object_destroy+0x55)[0xb651e975]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_destroy+0x45)[0xb6624675]
/usr/lib/libgtk-x11-2.0.so.0[0xb65caf31]
/usr/l...

Revision history for this message
maximtee (maximtee) wrote :

Logged In: YES
user_id=2021593
Originator: NO

I can confirm this on SVN2955 running on WinXP

Hugin crashes every time the main application window is closed when there is a preview window still open.
Start Hugin, open an existing project (alternatively, start a new project and add some images to it), open preview window.
Go back to main Hugin application window and attempt to close it -- Hugin crashes.

Revision history for this message
Yuv (yuv) wrote :

Logged In: YES
user_id=1347188
Originator: NO

isn't this a duplicate of <https://sourceforge.net/tracker/index.php?func=detail&aid=1934989&group_id=77506&atid=550441> ?

Revision history for this message
Lukas Jirkovsky (l-jirkovsky) wrote :

Is it still valid? I can't reproduce it here on Linux. In my opinion it looks like some problem with wxwidgets (at least in linux), because hugin AFAIK doesn't use fontconfig directly.

tmodes (tmodes)
tags: added: hugin
Revision history for this message
tmodes (tmodes) wrote :

Very old. Maybe not valid any more. Setting status to incomplete

Changed in hugin:
status: New → Incomplete
tmodes (tmodes)
Changed in hugin:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.