[#6153] map-view plugin fails for the create thumbnail from raw file

Please log in

State: more information
Open
Date:
2011-09-28 01:05
Priority: more information
3
Submitted By:
Hanchuan Peng (hanchuan)
Assigned To: more information
Jinzhu Yang (yangjinzhu)
Hardware: 
None
Product: 
None
Operating System: 
None
Component: 
None
Version: 
None
Severity: 
None
Resolution: 
None
Summary: more information
map-view plugin fails for the create thumbnail from raw file

Detailed description

tested on v3d 2.697. need fix asap.

Response

Message

Date: 2011-09-29 04:48
Sender: Hanchuan Peng

Indeed this crash does not always happens. For instance it works for my other images, but why the file "/workdata/v3d_demo_data/fly_brain_target_big/Hanchuan_target_test3_1024_resliced_crop_with_edge.raw" has trouble?


Date: 2011-09-29 04:36
Sender: Hanchuan Peng

the crashing trace info si enclosed below. Tested on the latest v2.698 on MacPro Book), still have the same issue.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000013571fc7f in loadImage_raw_resampling (imgSrcFile=0x13654e4e8 "/workdata/v3d_demo_data/fly_brain_target_big/Hanchuan_target_test3_1024_resliced_crop_with_edge.raw", data1d=@0x7fff5fbfc978, szo=@0x7fff5fbfc970, sz=@0x7fff5fbfc980, datatype=@0x7fff5fbfca1c, resampling_size=@0x7fff5fbfca14) at stackutil-11.cpp:5221
5221 szo[0] = tmp_szo[0];
(gdb) bt
#0 0x000000013571fc7f in loadImage_raw_resampling (imgSrcFile=0x13654e4e8 "/workdata/v3d_demo_data/fly_brain_target_big/Hanchuan_target_test3_1024_resliced_crop_with_edge.raw", data1d=@0x7fff5fbfc978, szo=@0x7fff5fbfc970, sz=@0x7fff5fbfc980, datatype=@0x7fff5fbfca1c, resampling_size=@0x7fff5fbfca14) at stackutil-11.cpp:5221
#1 0x0000000135731750 in MAPiewerPlugin::resampling_rawdata (this=0x12282d200, callback=@0x121c419b0, parent=0x0) at mapviewer.cpp:917
#2 0x00000001357343fa in MAPiewerPlugin::domenu (this=0x12282d200, menu_name=@0x7fff5fbfd950, callback=@0x121c419b0, parent=0x0) at mapviewer.cpp:534
#3 0x0000000100025f12 in V3d_PluginLoader::runPluginInterface (this=, plugin=, command=@0x7fff5fbfd950) at ../plugin_loader/v3d_plugin_loader.cpp:492
#4 0x0000000100026a94 in V3d_PluginLoader::runPlugin (this=0x121c419a0, loader=, menuString=@0x7fff5fbfd950) at ../plugin_loader/v3d_plugin_loader.cpp:365
#5 0x0000000100026bf7 in ~QString [inlined] () at /usr/local/Trolltech/Qt-4.7.1/include/QtCore/qstring.h:390
#6 0x0000000100026bf7 in V3d_PluginLoader::runPlugin (this=0x121c419a0) at ../plugin_loader/v3d_plugin_loader.cpp:390
#7 0x000000010033f712 in V3d_PluginLoader::qt_metacall (this=0x121c419a0, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fff5fbfda90) at moc_v3d_plugin_loader.cpp:84
#8 0x00000001219fa993 in QMetaObject::activate ()
#9 0x0000000120b62721 in QAction::triggered ()
#10 0x0000000120b63d7d in QAction::activate ()
#11 0x0000000120b1a3ca in -[QCocoaMenuLoader qtDispatcherToQAction:] ()
#12 0x00007fff86395eda in -[NSApplication sendAction:to:from:] ()
#13 0x00007fff863ba46a in -[NSMenuItem _corePerformAction] ()
#14 0x00007fff863ba1d4 in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] ()
#15 0x00007fff8663fcf4 in -[NSMenu _internalPerformActionForItemAtIndex:] ()
#16 0x00007fff864f19e9 in -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] ()
#17 0x00007fff8639c99c in NSSLMMenuEventHandler ()
#18 0x00007fff859417f7 in DispatchEventToHandlers ()
#19 0x00007fff85940d46 in SendEventToEventTargetInternal ()
#20 0x00007fff8595ea81 in SendEventToEventTarget ()
#21 0x00007fff8598dc35 in SendHICommandEvent ()
#22 0x00007fff859baa0a in SendMenuCommandWithContextAndModifiers ()
#23 0x00007fff859ba9c2 in SendMenuItemSelectedEvent ()
#24 0x00007fff859ba8d2 in FinishMenuSelection ()
#25 0x00007fff8599bc27 in MenuSelectCore ()
#26 0x00007fff8599b37c in _HandleMenuSelection2 ()
#27 0x00007fff8626d851 in _NSHandleCarbonMenuEvent ()
#28 0x00007fff86241362 in _DPSNextEvent ()
#29 0x00007fff86240801 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#30 0x00007fff8620668f in -[NSApplication run] ()
#31 0x0000000120b24dca in QEventDispatcherMac::processEvents ()
#32 0x00000001219e0f44 in QEventLoop::processEvents ()
#33 0x00000001219e1125 in QEventLoop::exec ()
#34 0x00000001219e5125 in QCoreApplication::exec ()
#35 0x0000000100144a90 in main (argc=1, argv=0x7fff5fbff2e0) at main.cpp:251

Attached Files:

Name Download
No Files Currently Attached

Changes:

Field Old Value Date By
New Message2011-09-29 04:48hanchuan
New Message2011-09-29 04:36hanchuan