assertion failed

93 views
Skip to first unread message

Michael Havens

unread,
Aug 26, 2016, 8:53:33 PM8/26/16
to hugi...@googlegroups.com
I keep getting an error and then a crash when i begin hugin. The error is:

/usr/include/wx-3.0/wx/object.h(160): assert "wxDynamicCast(ptr, T)" failed in wxCheckCast(): wxStaticCast() used incorrectly

I've repeated this numerous times and it keeps doing it.

Terry Duell

unread,
Aug 26, 2016, 9:31:22 PM8/26/16
to hugi...@googlegroups.com
Hello Michael,
Are you still using the hugin version you reported recently, as below?

>> Operating System: Linux 3.19.0-32-generic x86_64
>> Architecture: 64 bit
>> Free memory: 140052198648283 kiB
>> Hugin
>> Version: 2016.0.0.3b4e2790cb90
>> Path to resources: /usr/share/hugin/xrc/
>> Path to data: /usr/share/hugin/data/
>> Hugins camera and lens database: /home/bmike1/.hugindata/camlens.db
>> Multi-threading using C++11 std::thread and OpenMP
>> Monitor profile: Screen 1 #1 2016-06-29 13-30 S XYZLUT+MTX

If not, which hugin version, and have you recently updated your linux
system ?
Which linux, and version?

Always provide the hugin version and system details when you report issues
like this.

Cheers,
--
Regards,
Terry Duell

Michael Havens

unread,
Aug 27, 2016, 1:39:37 PM8/27/16
to hugi...@googlegroups.com
I tried again to day and got the same error (or similar). This time I saved the bug report (attached).
hugin_dbgrpt-4999-20160827T133204.zip

Michael Havens

unread,
Aug 27, 2016, 1:42:52 PM8/27/16
to hugi...@googlegroups.com
sorry:. here is the bug on googledrive: 

Michael Havens

unread,
Aug 27, 2016, 3:13:51 PM8/27/16
to hugin and other free panoramic software


On Friday, August 26, 2016 at 9:31:22 PM UTC-4, Tduell wrote:
Hello Michael,
On Sat, 27 Aug 2016 10:53:06 +1000, Michael Havens  
Are you still using the hugin version you reported recently, as below? 

>> Operating System: Linux 3.19.0-32-generic x86_64
>> Architecture: 64 bit
>> Free memory: 140052198648283 kiB
>>  Hugin
>> Version: 2016.0.0.3b4e2790cb90
>> Path to resources: /usr/share/hugin/xrc/
>> Path to data: /usr/share/hugin/data/
>> Hugins camera and lens database: /home/bmike1/.hugindata/camlens.db
>> Multi-threading using C++11 std::thread and OpenMP
>> Monitor profile: Screen 1 #1 2016-06-29 13-30 S XYZLUT+MTX

Yes I am.

 recently updated your linux   
system ?
Which linux, and version?


The system is updated almost daily. I am running Mint 17.3 . I update the system just a moment ago.... same deal.
(I didn't ignore your post, I just didn't get it emailed to me.)

Terry Duell

unread,
Aug 27, 2016, 7:03:13 PM8/27/16
to hugi...@googlegroups.com
Hello Michael,
I think you should file a bug report, that can be done here
<https://bugs.launchpad.net/hugin>
Provide details of what steps you go through with hugin that brings about
the failure, and if possible a copy of what hugin reports from help >
system, and the attach the bug report.

David W. Jones

unread,
Aug 27, 2016, 7:48:44 PM8/27/16
to hugi...@googlegroups.com
I don't know about that particular bug, but IIRC, wasn't there a time
when that kind of error message appeared on Debian-based systems because
Debian had compiled the wx3 widgets lib with debugging turned on?

I still get those kind of "assertion failed" messages sometimes using
current Hugin on Debian Testing. Hugin doesn't crash, I just click to
ignore the message and continue.

--
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Michael Havens

unread,
Aug 27, 2016, 8:27:29 PM8/27/16
to hugin and other free panoramic software
no matter what I click, whether it be 'stop', 'continue', or I just close the error window, everything dies.
The funny thing about this is that I had just successfully completed a panorama and I was just beginning another when it started dying.

Michael Havens

unread,
Aug 27, 2016, 8:58:50 PM8/27/16
to hugin and other free panoramic software


On Saturday, August 27, 2016 at 7:48:44 PM UTC-4, GnomeNomad wrote:
I still get those kind of "assertion failed" messages sometimes using
current Hugin on Debian Testing. Hugin doesn't crash, I just click to
ignore the message and continue.


Yeah that happened to me once where I just clicked continue and all was fine. But that happened months ago! 

David W. Jones

unread,
Aug 27, 2016, 11:29:54 PM8/27/16
to hugi...@googlegroups.com
On 08/27/2016 02:27 PM, Michael Havens wrote:
> no matter what I click, whether it be 'stop', 'continue', or I just
> close the error window, everything dies.

I haven't heard that Debian quit compiling that lib with debugging
enabled. Have they?

> The funny thing about this is that I had just successfully completed a
> panorama and I was just beginning another when it started dying.

With Hugin closed, you might try renaming your .hugin config file, then
starting Hugin again. Just in case the Hugin crash messed up the config
file.
> > <https://bugs.launchpad.net/hugin <https://bugs.launchpad.net/hugin>>

Stefan Peter

unread,
Aug 28, 2016, 2:15:39 AM8/28/16
to hugi...@googlegroups.com
On 28.08.2016 05:29, David W. Jones wrote:
> On 08/27/2016 02:27 PM, Michael Havens wrote:
>> no matter what I click, whether it be 'stop', 'continue', or I just
>> close the error window, everything dies.
>
> I haven't heard that Debian quit compiling that lib with debugging
> enabled. Have they?

No, the issues causing the messages have been fixed in hugin in the
meantime.

So my recommendation is to use hugin 2016.2-rc1 or the current trunk.
Most probably, these are the only versions that will be fixed if the
problem still exists in these versions.

With kind regards

Stefan Peter


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
(See https://en.wikipedia.org/wiki/Posting_style for details)

Michael Havens

unread,
Aug 28, 2016, 10:13:26 AM8/28/16
to hugin and other free panoramic software, s_p...@swissonline.ch


On Sunday, August 28, 2016 at 2:15:39 AM UTC-4, Stefan Peter wrote:
So my recommendation is to use hugin 2016.2-rc1 or the current trunk.
Most probably, these are the only versions that will be fixed if the
problem still exists in these versions.

So what is the ppa for the release candidate? 

Michael Havens

unread,
Aug 28, 2016, 10:19:14 AM8/28/16
to hugin and other free panoramic software, s_p...@swissonline.ch
After a little googling it appears there is no ppa for it. So before I install it do I need to do anything with the existing ppa?

Michael Havens

unread,
Aug 28, 2016, 10:45:04 AM8/28/16
to hugin and other free panoramic software, s_p...@swissonline.ch
I then realized there is NO ppa.

bmike1@MikesBeast ~/Documents/Programs $ cd hugin-2016.2.0
bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0 $ mkdir mybuild
bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0 $ $ cd mybuild
$: command not found
bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0 $ cd mybuild
bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0/mybuild $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCPACK_BINARY_DEB:BOOL=ON ../
CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
  CMake 3.1.0 or higher is required.  You are running version 2.8.12.2
-- Configuring incomplete, errors occurred!
bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0/mybuild $ sudo apt-get install CMake
[sudo] password for bmike1: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
cmake is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

How do I update to 3.1.0 or higher?

Michael Havens

unread,
Aug 28, 2016, 10:46:23 AM8/28/16
to hugin and other free panoramic software, s_p...@swissonline.ch
Do I need to uninstall the existing hugin installation?

Stefan Peter

unread,
Aug 28, 2016, 11:03:11 AM8/28/16
to hugi...@googlegroups.com
Dear Michael Havens
On 28.08.2016 16:45, Michael Havens wrote:
> bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0 $ mkdir mybuild
> bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0 $ $ cd mybuild
> $: command not found

Where does that come from? Care to share the output of
printenv
from your system?


> bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0 $ cd mybuild
> bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0/mybuild $ cmake
> -DCMAKE_INSTALL_PREFIX=/usr/local -DCPACK_BINARY_DEB:BOOL=ON ../
> CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
> CMake 3.1.0 or higher is required. You are running version 2.8.12.2
> -- Configuring incomplete, errors occurred!

Please install CMake >= 3.1.0 as requested by the message above.


>
> How do I update to 3.1.0 or higher?

Sorry, I have now idea how package management under Mint works. And I'm
too lazy to google it ATM. Maybe someone else can help here?

Stefan Peter

unread,
Aug 28, 2016, 11:15:03 AM8/28/16
to hugi...@googlegroups.com
Dear Michael Havens
On 28.08.2016 16:46, Michael Havens wrote:
> Do I need to uninstall the existing hugin installation?

If you do an installation from source, I'd highly recommend that.

But in any case, you will have to go through your preferences
(File->Preferences) and use the "Load defaults" button on every tab. Or
issue 'rm -f ${HOME}/.hugin" in order to get rid of the old defaults.

Michael Havens

unread,
Aug 28, 2016, 12:45:47 PM8/28/16
to hugin and other free panoramic software, s_p...@swissonline.ch
On Sunday, August 28, 2016 at 11:03:11 AM UTC-4, Stefan Peter wrote:
Where does that come from? Care to share the output of
printenv

$ printenv
XDG_VTNR=8
MATE_DESKTOP_SESSION_ID=this-is-deprecated
SSH_AGENT_PID=2491
XDG_SESSION_ID=c1
GPG_AGENT_INFO=/run/user/1000/keyring-8792XY/gpg:0:1
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=3fca2dd00fbf53235de22de45692505c-1472386453.338456-414898612
WINDOWID=62914590
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8792XY
USER=bmike1
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
SSH_AUTH_SOCK=/run/user/1000/keyring-8792XY/ssh
SESSION_MANAGER=local/MikesBeast:@/tmp/.ICE-unix/2362,unix/MikesBeast:/tmp/.ICE-unix/2362
USERNAME=bmike1
DEFAULTS_PATH=/usr/share/gconf/mate.default.path
INSIDE_CAJA_PYTHON=
XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
DESKTOP_SESSION=mate
GDM_XSERVER_LOCATION=local
PWD=/home/bmike1/Documents/Programs/hugin-2016.2.0/mybuild
GNOME_KEYRING_PID=2574
LANG=en_US.UTF-8
MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path
MDM_XSERVER_LOCATION=local
GDMSESSION=mate
SHLVL=1
XDG_SEAT=seat0
HOME=/home/bmike1
GTK_OVERLAY_SCROLLING=0
XDG_SESSION_DESKTOP=mate
LOGNAME=bmike1
XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-EmgDen0rRB,guid=02ce0f777d2d1af126f949ec57c2d596
MDMSESSION=mate
TEXTDOMAIN=im-config
WINDOWPATH=8
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0.0
MDM_LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=MATE
TEXTDOMAINDIR=/usr/share/locale/
COLORTERM=mate-terminal
XAUTHORITY=/home/bmike1/.Xauthority
_=/usr/bin/printenv
OLDPWD=/home/bmike1/Documents/Programs/hugin-2016.2.0

fyi: I ran  "sudo apt-get purge "hgin" just prior to printenv

 

Stefan Peter

unread,
Aug 28, 2016, 1:18:40 PM8/28/16
to hugin and other free panoramic software
Dear Michael Havens
for RC1, the PPA is at:
https://launchpad.net/~hugin/+archive/ubuntu/next

for trunk, the PPA is at
https://launchpad.net/~hugin/+archive/ubuntu/nightly

If you need the source code, please refer to
https://groups.google.com/d/msgid/hugin-ptx/2bacce03-ad68-43c8-88a2-cbe0a31fc0c7%40googlegroups.com?utm_medium=email&utm_source=footer


Please send all bug reports to

hugi...@googlegroups.com

unless told otherwise.

Stefan Peter

unread,
Aug 28, 2016, 1:20:21 PM8/28/16
to hugi...@googlegroups.com
Dear
On 28.08.2016 18:45, Michael Havens wrote:
> On Sunday, August 28, 2016 at 11:03:11 AM UTC-4, Stefan Peter wrote:
>
> Where does that come from? Care to share the output of
> printenv

Sorry for the hassle, now I got it:
bmike1@MikesBeast ~/Documents/Programs/hugin-2016.2.0 $ $ cd mybuild
^
$: command not found

Most probably a copy and paste issue.

Sorry for the noise.

Michael Havens

unread,
Aug 28, 2016, 1:23:42 PM8/28/16
to hugin and other free panoramic software
what is the difference between the RC and trunk?

Stefan Peter

unread,
Aug 28, 2016, 1:40:04 PM8/28/16
to hugi...@googlegroups.com
On 28.08.2016 19:23, Michael Havens wrote:
> what is the difference between the RC and trunk?

Sorry.

RC -> Release candidate. This will be the next stable version, but it is
not released yet. This version should work just fine, all the problems
found up to date should be fixed an the translations should be up to
date. If you find a problem with this version, please let us know so we
can fix it prior to releasing it as the next stable version to the public.

Trunk -> This is the current development version. It can break any time
but may include the latest and greatest features Hugin will provide in
the stable version somewhen in the future. Read this as "living on the
edge of technology" and don't be surprised if it bites you. However,
we'd really appreciate any feedback on this version, too. Someday, it
will be the next beta version which will become a release candidate and
then the stable release. Of course, we want your feedback regarding any
issues encountered using the trunk, too.

Michael Havens

unread,
Aug 28, 2016, 1:41:54 PM8/28/16
to hugin and other free panoramic software
after looking into it it appears as if   it is as i thought but my question is how can an RC1 have a trunk?

Michael Havens

unread,
Aug 28, 2016, 1:47:16 PM8/28/16
to hugin and other free panoramic software
it looks as if my understanding of it was backwards. Thank you so much for your wise advice! Let's do the RC and see what happens!

Michael Havens

unread,
Aug 28, 2016, 2:02:48 PM8/28/16
to hugin and other free panoramic software
didn't do anything. I still crash on start. Let's see what happens when I start it from a terminal:

$ hugin
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
/usr/share/hugin/data/plugins/shooting_pattern.py
   CAT:initial distribution
   NAM:6-1-1 Shooting Pattern
/usr/share/hugin/data/plugins/crop_cp.py
   CAT:Control Points
   NAM:Crop Control Points
   fails @api-max
/usr/share/hugin/data/plugins/top_five.py
   CAT:Control Points
   NAM:keep 5 CPs per image pair
/usr/share/hugin/data/plugins/woa.py
   CAT:Control Points
   NAM:Warped Overlap Analysis
   fails @api-max

(hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
/usr/include/wx-3.0/wx/object.h(160): assert "wxDynamicCast(ptr, T)" failed in wxCheckCast(): wxStaticCast() used incorrectly
Trace/breakpoint trap

Perhaps..... There is a window open, that I was unable to close. It is labled "Overview". I do not remember if this was opened immediately before it started to open and then crash but I do know it was really close to that time. I remember trying to close it an being unable to though.

Stefan Peter

unread,
Aug 28, 2016, 3:04:09 PM8/28/16
to hugi...@googlegroups.com
Dear Michael Havens

On 28.08.2016 20:02, Michael Havens wrote:
> didn't do anything. I still crash on start. Let's see what happens when
> I start it from a terminal:
>
> $ hugin
> (hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request:
> assertion 'height >= -1' failed
> (hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_set_size_request:
...
> (hugin:21422): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> 'GTK_IS_WIDGET (widget)' failed
> /usr/include/wx-3.0/wx/object.h(160): assert "wxDynamicCast(ptr, T)"
> failed in wxCheckCast(): wxStaticCast() used incorrectly
> Trace/breakpoint trap

What hugin version did you install now? What is the output of 'which
hugin' from the command line?

Michael Havens

unread,
Aug 28, 2016, 4:42:04 PM8/28/16
to hugin and other free panoramic software, s_p...@swissonline.ch


On Sunday, August 28, 2016 at 3:04:09 PM UTC-4, Stefan Peter wrote:
What hugin version did you install now? What is the output of 'which
hugin' from the command line?


I think that is the wrong command:

$ which hugin
/usr/bin/hugin
 
I tried 'hugin -v' but that just opened the program (which then crashed after I clicked stop or continue.... I figured out that the bug report window does not open when I click stop or close the error window). I believe it is the most recent though. These  are the installed ppas:

sudo add-apt-repository ppa:hugin/hugin-builds
sudo add-apt-repository ppa:hugin/next

found here:


(I filed a bug report)

Michael Havens

unread,
Aug 28, 2016, 5:15:44 PM8/28/16
to hugin and other free panoramic software, s_p...@swissonline.ch
I was looking at the output and I think (in my untrained view) it is trying to open an image or something but because there is no image it crashes:

Stefan Peter

unread,
Aug 29, 2016, 2:10:49 AM8/29/16
to hugi...@googlegroups.com
Dear Michael Havens
This is not related to your error messages you reported earlier. It is a
problem with the python helper scripts that nobody was able to fix yet.
These "fails @api-max" messages are harmless and are encountered by
anybody using 2016.2.

Michael Havens

unread,
Aug 29, 2016, 2:41:52 PM8/29/16
to hugin and other free panoramic software
Perhaps this has something to do with it..... There is a window open, that I was unable to close before it started crashing upon opening the program. It is labeled "Overview". I do not remember if this was opened immediately before it started to open and then crash but I do know it was really close to that time. I remember trying to close it and being unable to. 

Michael Havens

unread,
Aug 29, 2016, 5:22:03 PM8/29/16
to hugin and other free panoramic software
Where does hugin store it's logfiles?

Michael Havens

unread,
Aug 29, 2016, 5:44:03 PM8/29/16
to hugin and other free panoramic software


On Monday, August 29, 2016 at 5:22:03 PM UTC-4, Michael Havens wrote:
Where does hugin store it's logfiles?

Well, there is a .hugin text file in {home} that changes every time I start hugin. 


it seems to be wanting to open a bunch of photos even though I am stating a new instance of hugin.

Michael Havens

unread,
Aug 29, 2016, 11:14:28 PM8/29/16
to hugin and other free panoramic software
Well then.......... I renamed that file and everything now works 
Reply all
Reply to author
Forward
0 new messages