Can't understand GDB backtrace output - multithreading

I'm trying to debug a deadlock situation. I'm working on a Linux (Debian) machine and using QT Creator. I try debugging using the following GDB command:
thread apply all bt
The output of this command is:
158thread apply all bt
>&"thread apply all bt\n"
>~"\nThread 4 (LWP 6801):\n"
>~"#0 0x00007ffff6da6994 in ?? ()\n"
>~"#1 0x0008800002d0da5d in ?? ()\n"
>~"#2 0x0000000000000002 in ?? ()\n"
>~"#3 0x00007d640002dfe3 in ?? ()\n"
>~"#4 0x00007ffff3395ac0 in ?? ()\n"
>~"#5 0x00007ffff6d539dd in ?? ()\n"
>~"#6 0x00007d2000000400 in ?? ()\n"
>~"#7 0x0000000000000078 in ?? ()\n"
>~"#8 0x00007ffff6d8f9b6 in ?? ()\n"
>~"#9 0x0000000000000078 in ?? ()\n"
>~"#10 0x0000000000000010 in ?? ()\n"
>~"#11 0x00007ffff3395ac0 in ?? ()\n"
>~"#12 0x0000000000000001 in ?? ()\n"
>~"#13 0x00007ffff6d539dd in ?? ()\n"
>~"#14 0x00007ffff6d9028c in ?? ()\n"
>~"#15 0x0000000000000004 in ?? ()\n"
>~"#16 0x00007d2000000400 in ?? ()\n"
>~"#17 0x00007ffff3394b10 in ?? ()\n"
>~"#18 0x00007fff00000000 in ?? ()\n"
>~"#19 0x00007d940000ca38 in ?? ()\n"
>~"#20 0x00007ffff3395ac0 in ?? ()\n"
>~"#21 0x0000000000000078 in ?? ()\n"
>~"#22 0x0000000000000000 in ?? ()\n"
>~"\nThread 3 (LWP 6800):\n"
>~"#0 0x00007ffff5c518bd in ?? ()\n"
>~"#1 0x0000000000000001 in ?? ()\n"
>~"#2 0x00007ffff6d6e919 in ?? ()\n"
>~"#3 0x00000064f3b96040 in ?? ()\n"
>~"#4 0x00007ffff3b96a01 in ?? ()\n"
>~"#5 0x00007ffff3b96ac0 in ?? ()\n"
>~"#6 0x000000000048e149 in pTimerThread (pData=<error reading variable: Cannot access memory at address 0xfffffffffff97328>) at /mnt/hgfs/Projects/deom/Modul/osTimer.c:267\n"
>~"Backtrace stopped: Cannot access memory at address 0xfffffffffff973c8\n"
>~"\nThread 2 (LWP 6799):\n"
>~"#0 0x00007ffff5c2a28d in ?? ()\n"
>~"#1 0x0000000000000000 in ?? ()\n"
>~"\nThread 1 (LWP 6795):\n"
>~"#0 0x00007ffff67bd556 in ?? ()\n"
>~"#1 0x00007ffff3c03808 in ?? ()\n"
>~"#2 0x00007ffff7f64880 in ?? ()\n"
>~"#3 0x00007d140000ef80 in ?? ()\n"
>~"#4 0xfffffffeffffffff in ?? ()\n"
>~"#5 0x00007fffffffded0 in ?? ()\n"
>~"#6 0x00007ffff67bd604 in ?? ()\n"
>~"#7 0x00007ffff7f64880 in ?? ()\n"
>~"#8 0x0000000000000000 in ?? ()\n"
>158^done
The only line that is human-readable for me is:
>~"#6 0x000000000048e149 in pTimerThread (pData=<error reading variable: Cannot access memory at address 0xfffffffffff97328>) at /mnt/hgfs/Projects/deom/Modul/osTimer.c:267\n"
Shouldn't this command give the list of functions that have been recently called by each thread? Why does it just give list of addresses instead of directly functions' names? Is there a way to know which functions are defined in these addresses?

The executable doesn't have debug symbols. Assuming you haven't stripped the symbols out, compile your object files with -g (assuming you're using gcc/clang).

Related

Looking up a deactivated widget's ancestor is unsafe) flutter

this is my splash screen and I provide the future method to navigate automatically to another screen,
class SplashScreen extends StatelessWidget {
#override
Widget build(BuildContext context) {
Provider.of<DataBaseProvider>(context).getAllEmployees();
Future.delayed(Duration(seconds: 2)).then((value) {
Navigator.of(context).pushReplacement(MaterialPageRoute(builder: (context) => ListViewEmployees()));
});
return Scaffold(
body: Container(
child: Center(
child: GestureDetector(
onTap: (){
Navigator.of(context).pushReplacement(MaterialPageRoute(builder: (context) => ListViewEmployees()));
},
child: Text(
'Hello!' ,
style: TextStyle(
color: Colors.deepPurple ,
fontSize: 18 ,
),
),
),
),
),
);
}
}
and this is the error message
E/flutter ( 8699): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: Looking up a deactivated widget's ancestor is unsafe.
E/flutter ( 8699): At this point the state of the widget's element tree is no longer stable.
E/flutter ( 8699): To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.
E/flutter ( 8699): #0 Element._debugCheckStateIsActiveForAncestorLookup.<anonymous closure> (package:flutter/src/widgets/framework.dart:3825:9)
E/flutter ( 8699): #1 _Closure.call (dart:core-patch/function.dart)
E/flutter ( 8699): #2 Element._debugCheckStateIsActiveForAncestorLookup (package:flutter/src/widgets/framework.dart:3839:6)
E/flutter ( 8699): #3 Element.findAncestorStateOfType (package:flutter/src/widgets/framework.dart:3958:12)
E/flutter ( 8699): #4 Navigator.of (package:flutter/src/widgets/navigator.dart:2185:40)
E/flutter ( 8699): #5 SplashScreen.build.<anonymous closure> (package:gsg_sqlitedb/ui/splash_screen.dart:12:17)
E/flutter ( 8699): #6 _rootRunUnary (dart:async/zone.dart:1198:47)
E/flutter ( 8699): #7 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter ( 8699): #8 _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
E/flutter ( 8699): #9 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
E/flutter ( 8699): #10 Future._propagateToListeners (dart:async/future_impl.dart:725:32)
E/flutter ( 8699): #11 Future._complete (dart:async/future_impl.dart:519:7)
E/flutter ( 8699): #12 new Future.delayed.<anonymous closure> (dart:async/future.dart:322:16)
E/flutter ( 8699): #13 _rootRun (dart:async/zone.dart:1182:47)
E/flutter ( 8699): #14 _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter ( 8699): #15 _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter ( 8699): #16 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
E/flutter ( 8699): #17 _rootRun (dart:async/zone.dart:1190:13)
E/flutter ( 8699): #18 _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter ( 8699): #19 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1021:23)
E/flutter ( 8699): #20 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
E/flutter ( 8699): #21 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:397:19)
E/flutter ( 8699): #22 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:428:5)
E/flutter ( 8699): #23 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
when I delete future delayed, and make the navigate by a button click, the error disappear
SOLVED !!!!!! here
Test breaks when using Future.delayed
The reason for this error is that you're trying to Navigate to a page while the current screen is still being rendered. Future.delayed() can be potentially used as it provides a delay while the current screen is being built. What happens when the screen being built is still not finished and Future.delayed() is that the workaround causes issues.
Another workaround is setting a fixed Timer
Timer(const Duration(seconds: 4), () {
// Navigate to next screen
});
It's still best to avoid automatically navigating to a next screen if possible.

flutter Android Studio: Error retrieving device properties for ro.product.cpu.abi:

Want to improve this post? Provide detailed answers to this question, including citations and an explanation of why your answer is correct. Answers without enough detail may be edited or deleted.
When I try to run my app in an emulator in Android Studio I get the following error. I have to say that it worked before and stopped working after some updates of SDK to v.29. Is there something I have to change now?
I tried to kill and restart adb server and disabling heap protection so far..
Error retrieving device properties for ro.product.cpu.abi:
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
--------- beginning of main
06-05 21:14:13.850 I/GnssLocationProvider( 1898): WakeLock released by handleMessage(REPORT_SV_STATUS, 0, com.android.server.location.GnssLocationProvider$SvStatusInfo#29d78c9)
Unhandled exception:
Exit code -1073740940 from: C:\Users\Viktor\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
#0 _runWithLoggingSync (package:flutter_tools/src/base/process.dart:360:7)
#1 runCheckedSync (package:flutter_tools/src/base/process.dart:289:10)
#2 AndroidDevice.lastLogcatTimestamp (package:flutter_tools/src/android/android_device.dart:513:27)
#3 _AdbLogReader._start (package:flutter_tools/src/android/android_device.dart:688:41)
#4 _runGuarded (dart:async/stream_controller.dart:805:24)
#5 _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:213:7)
#6 _ControllerStream._createSubscription (dart:async/stream_controller.dart:818:19)
#7 _StreamImpl.listen (dart:async/stream_impl.dart:472:9)
#8 FlutterDevice.startEchoingDeviceLog (package:flutter_tools/src/resident_runner.dart:318:71)
#9 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:361:5)
<asynchronous suspension>
#10 HotRunner.run (package:flutter_tools/src/run_hot.dart:253:39)
<asynchronous suspension>
#11 AppDomain.startApp.<anonymous closure> (package:flutter_tools/src/commands/daemon.dart:389:23)
#12 AppDomain.launch.<anonymous closure> (package:flutter_tools/src/commands/daemon.dart:449:26)
<asynchronous suspension>
#13 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#14 _rootRun (dart:async/zone.dart:1124:13)
#15 _CustomZone.run (dart:async/zone.dart:1021:19)
#16 _runZoned (dart:async/zone.dart:1516:10)
#17 runZoned (dart:async/zone.dart:1463:12)
#18 AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#19 AppInstance._runInZone (package:flutter_tools/src/commands/daemon.dart:819:20)
#20 AppDomain.launch (package:flutter_tools/src/commands/daemon.dart:447:15)
<asynchronous suspension>
#21 AppDomain.startApp (package:flutter_tools/src/commands/daemon.dart:383:12)
<asynchronous suspension>
#22 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:301:38)
<asynchronous suspension>
#23 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:559:18)
#24 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#25 _rootRunUnary (dart:async/zone.dart:1132:38)
#26 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#27 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#28 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#29 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#30 Future._complete (dart:async/future_impl.dart:473:7)
#31 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#32 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)
#33 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)
#34 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#35 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#36 _rootRunUnary (dart:async/zone.dart:1132:38)
#37 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#38 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#39 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#40 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#41 Future._complete (dart:async/future_impl.dart:473:7)
#42 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#43 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#44 _rootRun (dart:async/zone.dart:1124:13)
#45 _CustomZone.run (dart:async/zone.dart:1021:19)
#46 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#47 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#48 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#49 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#50 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)
And here's a picture of the SDK tools. Maybe it's important...
It appears to be an update problem with Platform-Tools version 28, more specific with the ADB tool. There is a temporary fix so you can follow the steps provided in this link https://github.com/flutter/flutter/issues/33938#issuecomment-499250288
PD. If you already installed API 29 version probably you need to downgrade. v.29 --> v.28

PlatformException trying to readCharacteristic on flutter blue

i am trying to read all the characteristics from all services from a device with the plugin https://github.com/pauldemarco/flutter_blue but it is throwing me this error:
[ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (24425): PlatformException(read_characteristic_error, unknown reason, may occur if readCharacteristic was called before last read finished., null)
E/flutter (24425): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:547:7)
E/flutter (24425): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:279:18)
E/flutter (24425): <asynchronous suspension>
E/flutter (24425): #2 BluetoothDevice.readCharacteristic (file:///C:/Users/Downloads/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.3.3/lib/src/bluetooth_device.dart:56:10)
E/flutter (24425): <asynchronous suspension>
E/flutter (24425): #3 _ListTabState._connectToDevice._readCarachteristics (file:///C:/Users/AndroidStudioProjects/my_app/lib/tab_base.dart:125:49)
E/flutter (24425): <asynchronous suspension>
E/flutter (24425): #4 _ListTabState._connectToDevice._showServices (file:///C:/Users/AndroidStudioProjects/my_app/lib/tab_base.dart:157:27)
E/flutter (24425): <asynchronous suspension>
E/flutter (24425): #5 _ListTabState._connectToDevice._connect.<anonymous closure> (file:///C:/Users/AndroidStudioProjects/my_app/lib/tab_base.dart:197:24)
E/flutter (24425): #6 _RootZone.runUnaryGuarded (dart:async/zone.dart:1316:10)
E/flutter (24425): #7 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:330:11)
E/flutter (24425): #8 _DelayedData.perform (dart:async/stream_impl.dart:578:14)
E/flutter (24425): #9 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:694:11)
E/flutter (24425): #10 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:654:7)
E/flutter (24425): #11 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (24425): #12 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
Here is the code i am using:
_readCarachteristics(services) async {
for (BluetoothService service in services){
_characteristics = service.characteristics;
for (BluetoothCharacteristic characteristic in _characteristics) {
final List<int> value = await _device.readCharacteristic(characteristic);
}
}
_services = await device.discoverServices();
_readCarachteristics(_services);
I read this issue: https://github.com/pauldemarco/flutter_blue/issues/57 but could'nt manage to solve it. Thanks for your support.
UPDATED
It seems that there are specific characteristics sent by the beacon that are composed in a special way that is breaking the readCharacteristic method. They are supposed to contain two subtypes of uuid that are not been read by the readDescriptor function.
There are three services out of which the third one should be used to read and write characteristic.The first two are generic and the third one is custom service using which it will work. Try this :
_scanResult.device.discoverServices().then((services){
services[2].characteristics[0].read();
});

vtk file opening gets (core dumped) after building paraview with cmake

Dear stackoverflow team,
I recently compiled paraview from source on ubuntu using the following build instructions, however I get core dumped when opening any *vtk,*exodus file.
#! /bin/bash
export CC=mpicc
export CXX=mpicxx
export FC=mpif90
export F77=mpif77
cmake \
-D CMAKE_INSTALL_PREFIX:PATH=/home/pablo/BuildParaview \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D BUILD_TESTING:BOOL=ON \
-D PARAVIEW_ENABLE_PYTHON:BOOL=ON \
-D PARAVIEW_USE_MPI:BOOL=ON \
-D CMAKE_BUILD_TYPE:STRING=Debug \
-D PARAVIEW_BUILD_QT_GUI:BOOL=ON \
-D CMAKE_CXX_FLAGS:STRING="-O0 -Wall -std=c++11 -pedantic -Wno-long-long -ftrapv -Wno-deprecated-declarations" \
-D PARAVIEW_ENABLE_CATALYST:BOOL=ON \
-D PARAVIEW_USE_VTKM:BOOL=ON \
-D VTK_DIR:PATH="/home/pablo/BuildParaview/paraview/build/VTK/" \
-D CMAKE_PREFIX_PATH=/home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/cmake \
../ParaView/
make -j 1
make install
After installing it, and removing the "libqgtk3.so" file, paraview was able to launch, but the problem comes when trying to read any vtk or exodus file, for which I immediately get the following errors: I don't know at this point what to do. My guess is I missed some other command that requires other package to be installed?. Please any help will be gratefully appreciated.
pablo#pabloPavia:~/BuildParaview/bin$ ./paraview [pabloPavia:14797]
* Process received signal [pabloPavia:14797] Signal: Aborted (6) [pabloPavia:14797] Signal code: (-6) [pabloPavia:14797] [ 0]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f54c40b7390]
[pabloPavia:14797] [ 1]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f54c3d11428]
[pabloPavia:14797] [ 2]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f54c3d1302a]
[pabloPavia:14797] [ 3]
/lib/x86_64-linux-gnu/libgcc_s.so.1(+0x3717)[0x7f54c42c6717]
[pabloPavia:14797] [ 4]
./paraview(ZN7vtkJson9OurReader12decodeNumberERNS0_5TokenERNS_5ValueE+0x68)[0xac31ee2]
[pabloPavia:14797] [ 5]
./paraview(_ZN7vtkJson9OurReader12decodeNumberERNS0_5TokenE+0x48)[0xac31d8a]
[pabloPavia:14797] [ 6]
./paraview(_ZN7vtkJson9OurReader9readValueEv+0x220)[0xac2fe5e]
[pabloPavia:14797] [ 7]
./paraview(_ZN7vtkJson9OurReader9readArrayERNS0_5TokenE+0x17f)[0xac31b85]
[pabloPavia:14797] [ 8]
./paraview(_ZN7vtkJson9OurReader9readValueEv+0x1b5)[0xac2fdf3]
[pabloPavia:14797] [ 9]
./paraview(_ZN7vtkJson9OurReader10readObjectERNS0_5TokenE+0x4bb)[0xac316ed]
[pabloPavia:14797] [10]
./paraview(_ZN7vtkJson9OurReader9readValueEv+0x14a)[0xac2fd88]
[pabloPavia:14797] [11]
./paraview(_ZN7vtkJson9OurReader9readArrayERNS0_5TokenE+0x17f)[0xac31b85]
[pabloPavia:14797] [12]
./paraview(_ZN7vtkJson9OurReader9readValueEv+0x1b5)[0xac2fdf3]
[pabloPavia:14797] [13]
./paraview(_ZN7vtkJson9OurReader5parseEPKcS2_RNS_5ValueEb+0x126)[0xac2fa08]
[pabloPavia:14797] [14]
./paraview(_ZN7vtkJson13OurCharReader5parseEPKcS2_PNS_5ValueEPNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x56)[0xac42ff8]
[pabloPavia:14797] [15]
./paraview(_ZN28vtkSMTransferFunctionPresets12vtkInternals18LoadBuiltinPresetsEv+0x18a)[0x8e9ffcc]
[pabloPavia:14797] [16]
./paraview(_ZN28vtkSMTransferFunctionPresets12vtkInternals10GetPresetsEv+0x42)[0x8e9f360]
[pabloPavia:14797] [17]
./paraview(_ZN28vtkSMTransferFunctionPresets22GetFirstPresetWithNameEPKc+0xa4)[0x8e9d3b6]
[pabloPavia:14797] [18]
./paraview(_ZN32pqColorAnnotationsPropertyWidget11applyPresetEPKc+0x5c)[0x5e5411a]
[pabloPavia:14797] [19]
./paraview(_ZN32pqColorAnnotationsPropertyWidgetC1EP10vtkSMProxyP18vtkSMPropertyGroupP7QWidget+0x81a)[0x5e53faa]
[pabloPavia:14797] [20]
./paraview(_ZN33pqStandardPropertyWidgetInterface28createWidgetForPropertyGroupEP10vtkSMProxyP18vtkSMPropertyGroup+0x1e0)[0x5e00e56]
[pabloPavia:14797] [21]
./paraview(_ZN13pqProxyWidget21createPropertyWidgetsERK11QStringList+0x4ae)[0x79f861a]
[pabloPavia:14797] [22]
./paraview(_ZN13pqProxyWidget13createWidgetsERK11QStringList+0x3a8)[0x79f7e7e]
[pabloPavia:14797] [23]
./paraview(_ZN13pqProxyWidget11constructorEP10vtkSMProxyRK11QStringListP7QWidget6QFlagsIN2Qt10WindowTypeEE+0x26a)[0x79f6e02]
[pabloPavia:14797] [24]
./paraview(_ZN13pqProxyWidgetC1EP10vtkSMProxyP7QWidget6QFlagsIN2Qt10WindowTypeEE+0x8f)[0x79f6a9f]
[pabloPavia:14797] [25]
./paraview(_ZN16pqColorMapEditor24setColorTransferFunctionEP10vtkSMProxy+0x22c)[0x5dc351a]
[pabloPavia:14797] [26]
./paraview(_ZN16pqColorMapEditor12updateActiveEv+0xd0)[0x5dc309c]
[pabloPavia:14797] [27] ./paraview[0x5e2e094] [pabloPavia:14797] [28]
/home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x659)[0x7f54c62a0469]
[pabloPavia:14797] [29]
./paraview(_ZN15pqActiveObjects21representationChangedEP20pqDataRepresentation+0x56)[0x7a77060]
[pabloPavia:14797] End of error message * Aborted (core dumped)
This is what I get when I run backtrace in gdb exactly after paraview aborts when opening a *.vtk file:
Thread 1 "paraview" received signal SIGABRT, Aborted.
0x00007ffff3b87428 in __GI_raise (sig=sig#entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff3b87428 in __GI_raise (sig=sig#entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff3b8902a in __GI_abort () at abort.c:89
#2 0x00007ffff413c717 in __negvdi2 () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#3 0x000000000ac31ee2 in vtkJson::OurReader::decodeNumber (this=0x163445d0, token=..., decoded=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1799
#4 0x000000000ac31d8a in vtkJson::OurReader::decodeNumber (this=0x163445d0, token=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1780
#5 0x000000000ac2fe5e in vtkJson::OurReader::readValue (this=0x163445d0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1337
#6 0x000000000ac31b85 in vtkJson::OurReader::readArray (this=0x163445d0, tokenStart=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1755
#7 0x000000000ac2fdf3 in vtkJson::OurReader::readValue (this=0x163445d0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1333
#8 0x000000000ac316ed in vtkJson::OurReader::readObject (this=0x163445d0, tokenStart=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1718
#9 0x000000000ac2fd88 in vtkJson::OurReader::readValue (this=0x163445d0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1329
#10 0x000000000ac31b85 in vtkJson::OurReader::readArray (this=0x163445d0, tokenStart=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1755
#11 0x000000000ac2fdf3 in vtkJson::OurReader::readValue (this=0x163445d0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1333
#12 0x000000000ac2fa08 in vtkJson::OurReader::parse (this=0x163445d0, beginDoc=0x162f8690 "[\n {\n \"Name\" : \"KAAMS\",\n \"IndexedColors\" : [\n 1.00,\n
1.00,\n 1.00,
\n 1.00,\n 0.00,\n 0.00,\n 0.00,\n 1.00,\n 0.00,\n "..., endDoc=0x163440d5 "", root=..., collectComments=false) at /home/pablo/BuildParaview/paraview
/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1288
#13 0x000000000ac42ff8 in vtkJson::OurCharReader::parse (this=0x163445c0, beginDoc=0x162f8690 "[\n {\n \"Name\" : \"KAAMS\",\n \"IndexedColors\" : [\n 1.00,\n
1.00,\n 1
.00,\n 1.00,\n 0.00,\n 0.00,\n 0.00,\n 1.00,\n 0.00,\n "..., endDoc=0x163440d5 "", root=0x7fffffffb200, errs=0x7fffffffb280) at /home/pablo/BuildPara
view/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:2151
#14 0x0000000008e9ffcc in vtkSMTransferFunctionPresets::vtkInternals::LoadBuiltinPresets (this=0x162f7b90) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMTransfer
FunctionPresets.cxx:188
#15 0x0000000008e9f360 in vtkSMTransferFunctionPresets::vtkInternals::GetPresets (this=0x162f7b90) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMTransferFunction
Presets.cxx:73
#16 0x0000000008e9d3b6 in vtkSMTransferFunctionPresets::GetFirstPresetWithName (this=0x162f7b30, name=0xd0dd8b5 "KAAMS") at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Rendering
/vtkSMTransferFunctionPresets.cxx:267
#17 0x0000000005e5411a in pqColorAnnotationsPropertyWidget::applyPreset (this=0x162de1a0, presetName=0xd0dd8b5 "KAAMS") at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqColorAnnot
ationsPropertyWidget.cxx:746
#18 0x0000000005e53faa in pqColorAnnotationsPropertyWidget::pqColorAnnotationsPropertyWidget (this=0x162de1a0, smproxy=0x15739420, smgroup=0x15748400, parentObject=0x0) at /home/pablo/BuildParaview/paravi
ew/ParaView/Qt/ApplicationComponents/pqColorAnnotationsPropertyWidget.cxx:731
#19 0x0000000005e00e56 in pqStandardPropertyWidgetInterface::createWidgetForPropertyGroup (this=0x11be5fd0, proxy=0x15739420, group=0x15748400) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Applicatio
nComponents/pqStandardPropertyWidgetInterface.cxx:231
#20 0x00000000079f861a in pqProxyWidget::createPropertyWidgets (this=0x160e2ea0, properties=...) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqProxyWidget.cxx:818
#21 0x00000000079f7e7e in pqProxyWidget::createWidgets (this=0x160e2ea0, properties=...) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqProxyWidget.cxx:736
#22 0x00000000079f6e02 in pqProxyWidget::constructor (this=0x160e2ea0, smproxy=0x15739420, properties=..., parentObject=0x11a63930, wflags=...) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components
/pqProxyWidget.cxx:544
#23 0x00000000079f6a9f in pqProxyWidget::pqProxyWidget (this=0x160e2ea0, smproxy=0x15739420, parentObject=0x11a63930, wflags=...) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqProxyWidget
.cxx:497
#24 0x0000000005dc351a in pqColorMapEditor::setColorTransferFunction (this=0x11a63930, ctf=0x15739420) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqColorMapEditor.cxx:255
#25 0x0000000005dc309c in pqColorMapEditor::updateActive (this=0x11a63930) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqColorMapEditor.cxx:179
#26 0x0000000005e2e094 in pqColorMapEditor::qt_static_metacall (_o=0x11a63930, _c=QMetaObject::InvokeMetaMethod, _id=0,
_a=0x7fffffffbed0) at /home/pablo/BuildParaview/paraview/build/Qt/ApplicationCompone
nts/moc_pqColorMapEditor.cpp:99
#27 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#28 0x0000000007a77060 in pqActiveObjects::representationChanged (this=0x10ed18c0 <pqActiveObjects::instance()::activeObject>,
_t1=0x15732370) at /home/pablo/BuildParaview/paraview/build/Qt/Components/moc
_pqActiveObjects.cpp:308
#29 0x0000000007915fd8 in pqActiveObjects::triggerSignals (this=0x10ed18c0 <pqActiveObjects::instance()::activeObject>) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqActiveObjects.cxx:127
#30 0x0000000007917226 in pqActiveObjects::updateRepresentation (this=0x10ed18c0 <pqActiveObjects::instance()::activeObject>) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqActiveObjects.c
xx:522
#31 0x0000000007a76b04 in pqActiveObjects::qt_static_metacall (_o=0x10ed18c0 <pqActiveObjects::instance()::activeObject>,
_c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x7fffffffc0c0) at /home/pablo/BuildP
araview/paraview/build/Qt/Components/moc_pqActiveObjects.cpp:173
#32 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#33 0x0000000007bc031c in pqView::representationAdded (this=0x1401dad0, _t1=0x15732370) at /home/pablo/BuildParaview/paraview/build/Qt/Core/moc_pqView.cpp:364
#34 0x0000000007ba89a5 in pqView::onRepresentationsChanged (this=0x1401dad0) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Core/pqView.cxx:339
#35 0x0000000007bbfd21 in pqView::qt_static_metacall (_o=0x1401dad0, _c=QMetaObject::InvokeMetaMethod, _id=21,
_a=0x7fffffffc390) at /home/pablo/BuildParaview/paraview/build/Qt/Core/moc_pqView.cpp:199
#36 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#37 0x0000000007c1c47a in vtkQtConnection::EmitExecute (this=0x1401cf30, _t1=0x13cd7a30, _t2=33, _t3=0x0, _t4=0x0,
_t5=0x1401d210) at /home/pablo/BuildParaview/paraview/build/VTK/GUISupport/Qt/moc_vtkQtCo
nnection.cpp:141
#38 0x0000000007c13aa1 in vtkQtConnection::Execute (this=0x1401cf30, caller=0x13cd7a30, e=33, call_data=0x0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/GUISupport/Qt/vtkQtConnection.cxx:72
#39 0x0000000007c13a30 in vtkQtConnection::DoCallback (vtk_obj=0x13cd7a30, event=33, client_data=0x1401cf30, call_data=0x0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/GUISupport/Qt/vtkQtConnection
.cxx:62
#40 0x000000000cd96031 in vtkCallbackCommand::Execute (this=0x1401d210, caller=0x13cd7a30, event=33, callData=0x0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/Common/Core/vtkCallbackCommand.cxx:42
#41 0x000000000cfadf03 in vtkSubjectHelper::InvokeEvent (this=0x13cae100, event=33, callData=0x0, self=0x13cd7a30) at /home/pablo/BuildParaview/paraview/ParaView/VTK/Common/Core/vtkObject.cxx:616
#42 0x000000000cfae423 in vtkObject::InvokeEvent (this=0x13cd7a30, event=33, callData=0x0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/Common/Core/vtkObject.cxx:785
#43 0x000000000cfae5ee in vtkObject::Modified (this=0x13cd7a30) at /home/pablo/BuildParaview/paraview/ParaView/VTK/Common/Core/vtkObject.cxx:851
#44 0x0000000006157332 in vtkSMProperty::Modified (this=0x13cd7a30) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Core/vtkSMProperty.h:481
#45 0x0000000008f73054 in vtkSMProxyProperty::AddProxy (this=0x13cd7a30, proxy=0x14f9a270) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Core/vtkSMProxyProperty.cxx:79
#46 0x0000000008f412e5 in vtkSMPropertyHelper::Add (this=0x7fffffffc770, value=0x14f9a270, outputport=0) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.
cxx:823
#47 0x0000000008ec0b9f in vtkSMParaViewPipelineControllerWithRendering::Show (this=0x14f4aa40, producer=0x14e55bf0, outputPort=0, view=0x13cd6070) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCo
re/ServerManager/Rendering/vtkSMParaViewPipelineControllerWithRendering.cxx:408
#48 0x0000000008ec1906 in vtkSMParaViewPipelineControllerWithRendering::ShowInPreferredView (this=0x14f4aa40, producer=0x14e55bf0, outputPort=0, view=0x13cd6070) at /home/pablo/BuildParaview/paraview/Para
View/ParaViewCore/ServerManager/Rendering/vtkSMParaViewPipelineControllerWithRendering.cxx:559
#49 0x0000000005e3ab4e in pqApplyBehavior::showData (this=0x119767e0, source=0x14cf5550, view=0x1401dad0) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqApplyBehavior.cxx:284
#50 0x0000000005e39fbb in pqApplyBehavior::applied (this=0x119767e0, pqproxy=0x14cf5550) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqApplyBehavior.cxx:135
#51 0x0000000005e39eac in pqApplyBehavior::onApplied (this=0x119767e0, proxy=0x14cf5550) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqApplyBehavior.cxx:107
#52 0x0000000005ec974f in pqApplyBehavior::qt_static_metacall (_o=0x119767e0, _c=QMetaObject::InvokeMetaMethod, _id=2,
_a=0x7fffffffcc20) at /home/pablo/BuildParaview/paraview/build/Qt/ApplicationComponen
ts/moc_pqApplyBehavior.cpp:83
#53 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#54 0x0000000007a82c62 in pqPropertiesPanel::applied (this=0x11a0cab0, _t1=0x14cf5550) at /home/pablo/BuildParaview/paraview/build/Qt/Components/moc_pqPropertiesPanel.cpp:362
#55 0x00000000079dac69 in pqPropertiesPanel::apply (this=0x11a0cab0) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqPropertiesPanel.cxx:821
#56 0x0000000007a825f1 in pqPropertiesPanel::qt_static_metacall (_o=0x11a0cab0, _c=QMetaObject::InvokeMetaMethod, _id=5,
_a=0x7fffffffce60) at /home/pablo/BuildParaview/paraview/build/Qt/Components/moc_pq
PropertiesPanel.cpp:207
#57 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#58 0x00007ffff73ee342 in QAbstractButton::clicked(bool) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#59 0x00007ffff73ee544 in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#60 0x00007ffff73f00de in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#61 0x00007ffff73f022c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#62 0x00007ffff727da58 in QWidget::event(QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#63 0x00007ffff723f4bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#64 0x00007ffff72472c3 in QApplication::notify(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#65 0x00007ffff60ebeb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#66 0x00007ffff7245f2f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/li
bQt5Widgets.so.5
#67 0x00007ffff7296ee6 in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#68 0x00007ffff729983b in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#69 0x00007ffff723f4bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#70 0x00007ffff72468e7 in QApplication::notify(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#71 0x00007ffff60ebeb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#72 0x00007ffff6a6b310 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Gui.so.5
#73 0x00007ffff6a6d105 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Gui.so.5
#74 0x00007ffff6a48d7b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Gui.so.5
#75 0x00007fffecda0f40 in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5XcbQpa.so.5
#76 0x00007ffff123b197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#77 0x00007ffff123b3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#78 0x00007ffff123b49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007ffff613e11f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#80 0x00007ffff60ea4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#81 0x00007ffff60f2d34 in QCoreApplication::exec() () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#82 0x0000000005db6db3 in main (argc=2, argv=0x7fffffffdbf8) at /home/pablo/BuildParaview/paraview/build/Applications/ParaView/paraview_main.cxx:121
Removed -ftrapv from compile flags

apache::thrift::server::TSimpleServer::serve glibc detected *** free(): invalid pointer

I am using thrift TSimpleServer, and get a core dump :
` (gdb) bt
#0 0x000000302af2e2ed in raise () from /lib64/tls/libc.so.6
#1 0x000000302af2fa3e in abort () from /lib64/tls/libc.so.6
#2 0x000000302af62db1 in __libc_message () from /lib64/tls/libc.so.6
#3 0x000000302af6888e in _int_free () from /lib64/tls/libc.so.6
#4 0x000000302af68bd6 in free () from /lib64/tls/libc.so.6
#5 0x000000302d3ae19e in operator delete(void*) () from /usr/lib64/libstdc++.so.6
#6 0x0000000000443d8a in checked_array_delete<uint8_t> (this=0xb551f0, __in_chrg=<value optimized out>) at /home/work/compile_meta/inf/budw/meta.bak/lib/thrift-0.8.0/../../../../../third-64/boost/include/boost/checked_delete.hpp:41
#7 0x0000000000443d8a in ~scoped_array (this=0xb551f0, __in_chrg=<value optimized out>)
#8 0x0000000000443d8a in apache::thrift::transport::TBufferedTransport::~TBufferedTransport (this=0xb551f0, __in_chrg=<value optimized out>)
#9 0x000000000042077d in ~shared_count (this=0xb56760, __in_chrg=<value optimized out>) at ../../../../third-64/boost/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#10 0x000000000042077d in ~shared_ptr (this=0xb56760, __in_chrg=<value optimized out>)
#11 0x000000000042077d in ~TProtocol (this=0xb56760, __in_chrg=<value optimized out>)
#12 0x000000000042077d in ~TProtocolDefaults (this=0xb56760, __in_chrg=<value optimized out>)
#13 0x000000000042077d in ~TVirtualProtocol (this=0xb56760, __in_chrg=<value optimized out>)
#14 0x000000000042077d in apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport>::~TBinaryProtocolT (this=0xb56760, __in_chrg=<value optimized out>)
#15 0x0000000000445ab9 in operator= (this=0xa259e0) at /home/work/compile_meta/inf/budw/meta.bak/lib/thrift-0.8.0/../../../../../third-64/boost/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#16 0x0000000000445ab9 in apache::thrift::server::TSimpleServer::serve (this=0xa259e0)
#17 0x000000000041ac94 in uap::meta::MetaServiceManager::thread_func (arg=0x2cfd) at server/meta_service_manager.cpp:177
#18 0x000000302b80610a in start_thread () from /lib64/tls/libpthread.so.0
#19 0x000000302afc6003 in clone () from /lib64/tls/libc.so.6
#20 0x0000000000000000 in ?? ()`
i am attaching so remotely via thrift, after attach a1.so a2.so then detach a1.so a2.so , when detach more a1.so which does not exist, it core dump as this, but when we attach a1.so detach a1.so detach a1.so , it works well
any clue for this issue or how could i debug since i have add try-catch to this serv func, but no exception throw out, thanks

Resources