Crash when performing a media scan on a CD-DA #513

Closed
opened 2026-01-29 15:20:56 +00:00 by claunia · 0 comments
Owner

Originally created by @TheRogueArchivist on GitHub (Nov 11, 2020).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • I was running Aaru under Xubuntu 20.04...
  • ...in 64-bit

Description

When running a media scan on an audio CD using my PX-W4012, Aaru crashes.

Exact command line used:

aaru -d m scan /dev/sr0

Output of command execution with debug output enabled

aaru 5.1.99.3216+3fdf9909 built by silas-All-Series in Debug, modified
Copyright © 2011-2020 Natalia Portillo

DEBUG (Media-Scan command): --debug=True
DEBUG (Media-Scan command): --device=/dev/sr0
DEBUG (Media-Scan command): --ibg-log=
DEBUG (Media-Scan command): --mhdd-log=
DEBUG (Media-Scan command): --verbose=False
DEBUG (SCSI Device): INQUIRY took 0.4456 ms.
DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 0.0088 ms.
DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 264, Return Type: Single, Sense: False, Last Error: 0) took 0.4095 ms.
DEBUG (SCSI Device): TEST UNIT READY took 0.2222 ms.
DEBUG (SCSI Device): READ CAPACITY took 0.3414 ms.
DEBUG (SCSI Device): READ (6) took 36 ms.
DEBUG (SCSI Device): READ (10) took 28 ms.
DEBUG (SCSI Device): READ (12) took 28 ms.
DEBUG (SCSI Device): READ (16) took 0.0411 ms.
DEBUG (SCSI Device): READ (6) took 28 ms.
DEBUG (SCSI Device): READ (10) took 36 ms.
DEBUG (SCSI Device): READ (12) took 40 ms.
DEBUG (SCSI Device): READ (16) took 0.0522 ms.
DEBUG (SCSI Device): READ (6) took 28 ms.
DEBUG (SCSI Device): READ (10) took 28 ms.
DEBUG (SCSI Device): READ (12) took 36 ms.
DEBUG (SCSI Device): READ (16) took 0.0415 ms.
DEBUG (SCSI Device): READ (6) took 28 ms.
DEBUG (SCSI Device): READ (10) took 36 ms.
DEBUG (SCSI Device): READ (12) took 32 ms.
DEBUG (SCSI Device): READ (16) took 0.0223 ms.
DEBUG (SCSI Device): READ (6) took 36 ms.
DEBUG (SCSI Device): READ (10) took 28 ms.
DEBUG (SCSI Device): READ (12) took 32 ms.
DEBUG (SCSI Device): READ (16) took 0.0625 ms.
DEBUG (SCSI Device): READ (6) took 28 ms.
DEBUG (SCSI Device): READ (10) took 44 ms.
DEBUG (SCSI Device): READ (12) took 32 ms.
DEBUG (SCSI Device): READ (16) took 0.0432 ms.
DEBUG (SCSI Device): READ (6) took 28 ms.
DEBUG (SCSI Device): READ (10) took 28 ms.
DEBUG (SCSI Device): READ (12) took 28 ms.
DEBUG (SCSI Device): READ (16) took 0.0471 ms.
DEBUG (SCSI Device): READ (6) took 28 ms.
DEBUG (SCSI Device): READ (10) took 28 ms.
DEBUG (SCSI Device): READ (12) took 36 ms.
DEBUG (SCSI Device): READ (16) took 0.0417 ms.
DEBUG (SCSI Device): READ (6) took 28 ms.
DEBUG (SCSI Device): READ (10) took 28 ms.
DEBUG (SCSI Device): READ (12) took 44 ms.
DEBUG (SCSI Device): READ (16) took 0.0416 ms.
DEBUG (SCSI Device): READ (6) took 28 ms.
DEBUG (SCSI Device): READ (10) took 36 ms.
DEBUG (SCSI Device): READ (12) took 44 ms.
DEBUG (SCSI Device): READ (16) took 0.0515 ms.
Unable to read medium.
Took a total of 0 seconds (0 processing commands).
Average speed: 0.000 MiB/sec.
Fastest speed burst: 0.000 MiB/sec.
Slowest speed burst: 0.000 MiB/sec.
Summary:
0 sectors took less than 3 ms.
0 sectors took less than 10 ms but more than 3 ms.
0 sectors took less than 50 ms but more than 10 ms.
0 sectors took less than 150 ms but more than 50 ms.
0 sectors took less than 500 ms but more than 150 ms.
0 sectors took more than 500 ms.
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Aaru.Commands.Media.MediaScanCommand.Invoke(Boolean debug, Boolean verbose, String devicePath, String ibgLog, String mhddLog) in /home/silas/Desktop/Aaru/Aaru/Commands/Media/Scan.cs:line 154
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__19_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass21_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__20_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__9_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseExceptionHandler>b__0>d.MoveNext()
Originally created by @TheRogueArchivist on GitHub (Nov 11, 2020). ### Prerequisites * [X] Are you running the latest version? * [X] Can you reproduce the problem in the debug version? ### Check and fill as appropriate: * [X] I was running Aaru under Xubuntu 20.04... * [X] ...in 64-bit ### Description When running a media scan on an audio CD using my PX-W4012, Aaru crashes. ### Exact command line used: `aaru -d m scan /dev/sr0` ### Output of command execution with debug output enabled ``` aaru 5.1.99.3216+3fdf9909 built by silas-All-Series in Debug, modified Copyright © 2011-2020 Natalia Portillo DEBUG (Media-Scan command): --debug=True DEBUG (Media-Scan command): --device=/dev/sr0 DEBUG (Media-Scan command): --ibg-log= DEBUG (Media-Scan command): --mhdd-log= DEBUG (Media-Scan command): --verbose=False DEBUG (SCSI Device): INQUIRY took 0.4456 ms. DEBUG (ATA Device): IDENTIFY PACKET DEVICE took 0.0088 ms. DEBUG (SCSI Device): GET CONFIGURATION (Starting Feature Number: 264, Return Type: Single, Sense: False, Last Error: 0) took 0.4095 ms. DEBUG (SCSI Device): TEST UNIT READY took 0.2222 ms. DEBUG (SCSI Device): READ CAPACITY took 0.3414 ms. DEBUG (SCSI Device): READ (6) took 36 ms. DEBUG (SCSI Device): READ (10) took 28 ms. DEBUG (SCSI Device): READ (12) took 28 ms. DEBUG (SCSI Device): READ (16) took 0.0411 ms. DEBUG (SCSI Device): READ (6) took 28 ms. DEBUG (SCSI Device): READ (10) took 36 ms. DEBUG (SCSI Device): READ (12) took 40 ms. DEBUG (SCSI Device): READ (16) took 0.0522 ms. DEBUG (SCSI Device): READ (6) took 28 ms. DEBUG (SCSI Device): READ (10) took 28 ms. DEBUG (SCSI Device): READ (12) took 36 ms. DEBUG (SCSI Device): READ (16) took 0.0415 ms. DEBUG (SCSI Device): READ (6) took 28 ms. DEBUG (SCSI Device): READ (10) took 36 ms. DEBUG (SCSI Device): READ (12) took 32 ms. DEBUG (SCSI Device): READ (16) took 0.0223 ms. DEBUG (SCSI Device): READ (6) took 36 ms. DEBUG (SCSI Device): READ (10) took 28 ms. DEBUG (SCSI Device): READ (12) took 32 ms. DEBUG (SCSI Device): READ (16) took 0.0625 ms. DEBUG (SCSI Device): READ (6) took 28 ms. DEBUG (SCSI Device): READ (10) took 44 ms. DEBUG (SCSI Device): READ (12) took 32 ms. DEBUG (SCSI Device): READ (16) took 0.0432 ms. DEBUG (SCSI Device): READ (6) took 28 ms. DEBUG (SCSI Device): READ (10) took 28 ms. DEBUG (SCSI Device): READ (12) took 28 ms. DEBUG (SCSI Device): READ (16) took 0.0471 ms. DEBUG (SCSI Device): READ (6) took 28 ms. DEBUG (SCSI Device): READ (10) took 28 ms. DEBUG (SCSI Device): READ (12) took 36 ms. DEBUG (SCSI Device): READ (16) took 0.0417 ms. DEBUG (SCSI Device): READ (6) took 28 ms. DEBUG (SCSI Device): READ (10) took 28 ms. DEBUG (SCSI Device): READ (12) took 44 ms. DEBUG (SCSI Device): READ (16) took 0.0416 ms. DEBUG (SCSI Device): READ (6) took 28 ms. DEBUG (SCSI Device): READ (10) took 36 ms. DEBUG (SCSI Device): READ (12) took 44 ms. DEBUG (SCSI Device): READ (16) took 0.0515 ms. Unable to read medium. Took a total of 0 seconds (0 processing commands). Average speed: 0.000 MiB/sec. Fastest speed burst: 0.000 MiB/sec. Slowest speed burst: 0.000 MiB/sec. Summary: 0 sectors took less than 3 ms. 0 sectors took less than 10 ms but more than 3 ms. 0 sectors took less than 50 ms but more than 10 ms. 0 sectors took less than 150 ms but more than 50 ms. 0 sectors took less than 500 ms but more than 150 ms. 0 sectors took more than 500 ms. Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Aaru.Commands.Media.MediaScanCommand.Invoke(Boolean debug, Boolean verbose, String devicePath, String ibgLog, String mhddLog) in /home/silas/Desktop/Aaru/Aaru/Commands/Media/Scan.cs:line 154 --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context) at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseErrorReporting>b__19_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseHelp>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass21_0.<<UseTypoCorrections>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__20_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseParseDirective>b__18_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseDebugDirective>b__10_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__9_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseExceptionHandler>b__0>d.MoveNext() ```
claunia added the bug label 2026-01-29 15:20:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#513