2018-07-19 06:09 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001461Monteverdi2[Orfeo Toolbox (OTB)] Generalpublic2018-01-15 11:21
Assigned Togpasero 
StatusclosedResolutionno change required 
PlatformLinuxOSArchLinuxOS VersionKernel 4.13.5
Summary0001461: monteverdi crashes
DescriptionI've compiled OTB 6.2.0-rc1 from source with qt 4.8.7 and qwt 6.1.3

Every time I launch monteverdi it crashes with an invalid pointer: e.g.
*** Error in `monteverdi': realloc(): invalid pointer: 0x00007fcf243980e0 ***

So I've created a debug build (CMake summary: https://pastebin.com/yKbxdRUH), but I couldn't trace anything with gdb. But systemd recorded the coredump:

Process 24370 (monteverdi) of user 1000 dumped core.
Stack trace of thread 24370:
#0 0x00007eff702268a0 raise (libc.so.6)
#1 0x00007eff70227f09 abort (libc.so.6)
#2 0x00007eff70269517 __libc_message (libc.so.6)
#3 0x00007eff7026fc84 malloc_printerr (libc.so.6)
#4 0x00007eff70275331 realloc (libc.so.6)
0000005 0x00007eff666689e3 _ZN9QListData12realloc_growEi (libQt5Core.so.5)
#6 0x00007eff66668a80 _ZN9QListData6appendEi (libQt5Core.so.5)
#7 0x00007eff667398e9 n/a (libQt5Core.so.5)
#8 0x00007eff667350b6 _Z21qRegisterResourceDataiPKhS0_S0_ (libQt5Core.so.5)
#9 0x00007eff665e65b4 n/a (libQt5Core.so.5)
0000010 0x00007eff725e957a n/a (n/a)

So does it mean, that Monteverdi is linked to Qt5, despite being compiled with Qt4?
Steps To Reproducelaunch monteverdi
Additional InformationThe otbgui_ and otbcli_ modules run without any problems.
TagsNo tags attached.
Attached Files




rashadkm (developer)

> The otbgui_ and otbcli_ modules run without any problems.

So look at qwt. /usr/lib/libqwt.so. I guess this is linked with qt5 and hence the crash.

you can try to get a qwt package that link with qt4 or build own qwt6 again system qt4.


gpasero (administrator)

As Rashad said, it seems that your Qwt6 library links to Qt5. When compiling Qwt6 you have to use the right 'qmake' executable (4.8.7).

Otherwise, you may also use binary packages available (https://www.orfeo-toolbox.org/packages/nightly/latest/OTB-6.2.0-Linux64.run).


gpasero (administrator)

Any clue when looking at your QWT build ?


gpasero (administrator)

No feedback, closing the issue. Explanation found is likely the right one.

-Issue History
Date Modified Username Field Change
2017-10-10 22:08 bonwetsch New Issue
2017-10-11 09:20 rashadkm Note Added: 0004365
2017-10-11 10:33 gpasero Assigned To => gpasero
2017-10-11 10:33 gpasero Status new => assigned
2017-10-11 10:37 gpasero Note Added: 0004367
2017-10-18 09:24 gpasero Note Added: 0004397
2017-10-18 09:24 gpasero Status assigned => feedback
2018-01-15 11:21 gpasero Status feedback => closed
2018-01-15 11:21 gpasero Resolution open => no change required
2018-01-15 11:21 gpasero Note Added: 0004508
+Issue History