Crash in Subsurface-mobile 3.0.3 on Android 7

Dirk Hohndel dirk at hohndel.org
Sun Apr 12 11:58:45 PDT 2020


I see two crashes from the 32bit version of Subsurface-mobile on Google Play. Are you using a Samsung Galaxy J2?

Neither of these crashes has a really useful crash. One happens without useful stack trace in the Qt QML shared library.
The other is a little more interesting:

  #00  pc 0000000000017830  /system/lib/libc.so (memcpy+100)
  #01  pc 00000000001fad55  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libsubsurface-mobile.so (FullText::unregisterWords(dive*, std::__ndk1::vector<QString, std::__ndk1::allocator<QString> > const&)+96)
  #02  pc 00000000001fa9af  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libsubsurface-mobile.so (FullText::unregisterDive(dive*)+14)
  #03  pc 00000000001effb3  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libsubsurface-mobile.so
  #04  pc 00000000001eff9b  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libsubsurface-mobile.so (free_dive+6)
  #05  pc 00000000001e15c5  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libsubsurface-mobile.so (Command::DiveToAdd::~DiveToAdd()+16)
  #06  pc 00000000001e1b0d  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libsubsurface-mobile.so (std::__ndk1::__vector_base<Command::DiveToAdd, std::__ndk1::allocator<Command::DiveToAdd> >::~__vector_base()+16)
  #07  pc 00000000001e488d  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libsubsurface-mobile.so (Command::DeleteDive::~DeleteDive()+24)
  #08  pc 00000000001e48b1  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libsubsurface-mobile.so (Command::DeleteDive::~DeleteDive()+4)
  #09  pc 00000000002cb771  /data/app/org.subsurfacedivelog.mobile-1/lib/arm/libQt5Widgets.so

So we are once again crashing in the full text filter code when unregistering words as we delete a dive.
I am trying to reproduce your issue with my Sony Xperia which is my only 32bit Android device...

/D

> On Apr 12, 2020, at 1:46 AM, Willem Ferguson via subsurface <subsurface at subsurface-divelog.org> wrote:
> 
> Several of the items in the context menu for dives in the dive list (i.e. long-tap on a dive in the dive list) result in a crash. Theses include Delete dive, Remove dive from trip, add dive to trip. The option: Show on map works ok. Have not tested mark as invalid.
> 
> Should I create an issue on Github?
> 
> Kind regards,
> 
> willem
> 
> 
> 
> -- 
> This message and attachments are subject to a disclaimer.
> 
> Please refer to 
> http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf <http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf> for
> full details.
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface



More information about the subsurface mailing list